joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
push 0x10
push 0
push 0x10075b84
call fcn.1002c440
add esp, 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0x6a
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x24]
push eax
call fcn.1004f8f0
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push 0
call fcn.1004f910
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp dword [ebp + 8], 0
je 0x100047cf
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x34]
jl 0x10004881
jg 0x100047b8
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x38]
jbe 0x10004881
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 5
div ecx
test edx, edx
jne 0x10004881
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002e862
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], 0
push 0x10061938
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.1002c77c
add esp, 0xc
test eax, eax
jne 0x1000487f
cmp dword [ebp - 0x40], 0
je 0x1000487f
mov edx, dword [ebp - 0x3c]
push edx
call fcn.100198f0
add esp, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x10004873
mov ecx, dword [ebp - 0x40]
push ecx
push 1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.1002e17e
add esp, 0x10
push 0x10075b84
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.100452f0
add esp, 0xc
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100198fb
add esp, 4
mov edx, dword [ebp - 0x40]
push edx
call fcn.1002ca2a
add esp, 4
jmp 0x100048d8
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x78], 0
push 0x10061938
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.1002c77c
add esp, 0xc
test eax, eax
jne 0x100048d8
cmp dword [ebp - 0x78], 0
je 0x100048d8
mov eax, dword [ebp - 0x78]
push eax
push 1
push 0x10
push 0x10075b84
call fcn.1002e17e
add esp, 0x10
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.1002ca2a
add esp, 4
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0
jne 0x100048e2
xor eax, eax
jmp 0x100048e7
mov eax, 0x10075b84
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d1a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x1000d1a9
xor ecx, ecx
jne 0x1000d1a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1000d1ca
mov eax, 0xd
jmp 0x1000d225
xor eax, eax
jne 0x1000d1b1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x1000d1db
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x1000daf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1006dd60]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.1000dc50
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000da80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000db5b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.1000dcd0
mov eax, dword [ebp - 0x224]
jmp 0x1000dbec
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000dbc1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000daf0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000dbb8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.1000dcd0
mov eax, dword [ebp - 0x228]
jmp 0x1000dbec
mov dword [ebp - 4], 0x100
jmp 0x1000db62
lea ecx, [ebp - 0x14]
call fcn.1000dc80
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.1000dd20
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.1000dcd0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002ac1f
mov esp, ebp
pop ebp
ret 4
Function at 0x10011d10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10011d2a
jmp 0x10011d78
mov eax, dword [0x10075b30]
and eax, 1
jne 0x10011d5d
mov ecx, dword [0x10075b30]
or ecx, 1
mov dword [0x10075b30], ecx
push str._Debug
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
neg eax
sbb eax, eax
neg eax
mov dword [0x10075b34], eax
cmp dword [0x10075b34], 0
jne 0x10011d68
jmp 0x10011d78
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10012120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1006dd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1002c440
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x10062940
lea ecx, [ebp - 0x210]
push ecx
call fcn.100127d0
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
call fcn.10046de0
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000fd00
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002ac1f
mov esp, ebp
pop ebp
ret

Function at 0x10015b70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x1006dd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], ecx
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.1002c440
add esp, 0xc
push 0x400
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x10015c55
lea ecx, [ebp - 0x818]
call fcn.1000fea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x814]
push edx
mov ecx, dword [ebp - 0x820]
call fcn.100158a0
test eax, eax
je 0x10015c43
lea ecx, [ebp - 0x818]
call fcn.1000d230
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 0x81c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.1000fd80
mov eax, dword [ebp - 0x81c]
jmp 0x10015c57
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.1000fd80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ac1f
mov esp, ebp
pop ebp
ret 4
Function at 0x10016080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100581b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1006dd60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.10015690
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10043600
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10005270
movzx edx, al
test edx, edx
je 0x100160f7
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000fd80
mov eax, dword [ebp - 0x20]
jmp 0x10016285
lea eax, [ebp - 0x24]
push eax
call fcn.10046160
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.1000d230
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.10046660
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.10005110
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 3
push str..ini
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.100051c0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.1000fd80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.1000fd80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.1000fd80
push str.share.ini
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.100051c0
add esp, 0xc
mov byte [ebp - 4], 8
push str.globals.ini
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.100051c0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016210
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.1000fd80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.1000fd80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000fd80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000fd80
mov eax, dword [ebp - 0x30]
jmp 0x10016285
lea ecx, [ebp - 0x18]
call fcn.1000d230
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.10015800
lea ecx, [ebp - 0x10]
call fcn.1000d230
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.10015800
lea ecx, [ebp - 0x1c]
call fcn.1000d230
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.10015800
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.1000fd80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.1000fd80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000fd80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000fd80
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c32f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x1001c347
mov edi, dword [esi + 0xc]
jmp 0x1001c387
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001c360
call fcn.10028b97
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1001c375
call fcn.10028b97
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1001c387
call fcn.10028b97
call fcn.1001a6b9
cmp dword [eax + 0x3c], 0
je 0x1001c39c
push edi
mov ecx, ebx
call fcn.1001b24f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1001c255
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x1001c3ba
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001c3c6
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002364c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10023693
call fcn.1001a6b9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10023693
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x100236af
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.100231c4
mov esi, eax
test edi, edi
je 0x100236ad
test ebx, ebx
je 0x100236ad
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10025f39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x10025f5d
cmp dword [edi + 0x54], 0
jne 0x10025f5d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1001a6b9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10025efa
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002ac1f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1006dd60]
jne 0x1002ac29
repz ret
jmp fcn.1003247f
Function at 0x10038226
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10038261
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10038248
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10038259
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10038263
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1003823e
xor eax, eax
pop edi
pop esi
ret

Function at 0x100387df
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x1003878b
cmp dword [eax + 0xc], ebx
je 0x1003882e
mov edi, dword [eax + 0xc]
add edi, esi
push edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1003881c
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x100387f7
and eax, 0xffff
push eax
jmp 0x100387fb
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100381ab
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x100389d5
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x100387dc
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x1003877d
call fcn.100381e6
cmpsb byte [esi], byte es:[edi]
popal
sbb dh, bh
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x1003889a
add eax, esi
cmp dword [eax], ebx
je 0x1003889a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10038895
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1003887f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10038887
cmp edx, ebx
jne 0x100389d5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10038856
add eax, dword [eax + 4]
jmp 0x10038843
mov dword [ebp + 0xc], ebx
jmp 0x100388a5
Function at 0x1003889b
Capabilities:
Inspect section memory permissions

Disassembly:
pop ebp
or al, 0xeb
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100388bd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100388db
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10038939
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10038920
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10038929
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10038933
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10038915
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1003889f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10038986
dec eax
je 0x1003897d
sub eax, 3
je 0x10038974
mov dword [ebp - 4], 0x40
jmp 0x100389a3
mov dword [ebp - 4], 4
jmp 0x10038989
mov dword [ebp - 4], 0x20
jmp 0x10038989
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100389d5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10038955
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100381e6
inc eax
and dword [ebx - 0x48], edi
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x100389e1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100388d4
Capabilities:
Inspect section memory permissions

Disassembly:
pop ebp
or al, 0xeb
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100388bd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100388db
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10038939
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10038920
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10038929
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10038933
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10038915
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1003889f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10038986
dec eax
je 0x1003897d
sub eax, 3
je 0x10038974
mov dword [ebp - 4], 0x40
jmp 0x100389a3
mov dword [ebp - 4], 4
jmp 0x10038989
mov dword [ebp - 4], 0x20
jmp 0x10038989
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100389d5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10038955
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100381e6
inc eax
and dword [ebx - 0x48], edi
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x100389e1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100389ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3525b], al
inc dword [eax]
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.100381f6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100381ab
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
jmp [ebx]
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.100381f6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100381ab
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
jmp dword [ebx - 0x3e37a3a]
invalid
invalid
invalid
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.100381f6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100381ab
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.100381e6
adc ah, byte [esi + edx*8]
jns 0x10038bd9
movsd dword es:[edi], dword [esi]
int3