joyce8/EMBER2024-capa huggingface dataset:
Function at 0x517450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x7c
push ebx
push ecx
push edx
push esi
push edi
push ebp
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
mov eax, ecx
mov ebx, 0x24
call fcn.004eb904
mov ebx, eax
cmp ebx, 0
je 0x517479
inc ebx
jmp 0x51747b
mov ebx, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ecx
mov eax, ecx
call fcn.004eba60
mov eax, ecx
mov ebx, str._RSC
call fcn.004eba04
mov esi, 0
mov edi, dword [0x59605c]
cmp edi, 0
jne 0x5174b2
mov eax, 0
call fcn.0042ce98
mov edi, eax
cmp edi, 0
je 0x5175e6
cmp edi, esi
je 0x5175c0
push str.DABDUMP
push dword [esp + 0x28]
push edi
call sub.KERNEL32.dll_FindResourceA
mov dword [esp + 0x28], eax
mov ebx, 0
cmp eax, 0
je 0x5175c0
push eax
push edi
call sub.KERNEL32.dll_LoadResource
mov ebp, eax
mov dword [esp + 0x2c], ebp
push ebp
call sub.KERNEL32.dll_LockResource
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x20]
call fcn.0041ac60
cmp eax, 0
jne 0x5175ba
push dword [esp + 0x28]
push edi
call sub.KERNEL32.dll_SizeofResource
mov ecx, eax
mov ebx, dword [esp + 0x18]
mov eax, ebx
call fcn.00420750
sub ecx, eax
dec ecx
mov eax, ecx
add eax, 2
call fcn.00467104
mov dword [0x5d3734], eax
mov eax, dword [0x5d3734]
mov byte [eax], 0
mov eax, ebx
call fcn.00420750
mov edx, eax
mov eax, dword [0x5d3734]
lea eax, [eax + 2]
lea ebx, [ebx + edx + 1]
call fcn.00420803
mov eax, dword [0x5d3734]
mov ebp, dword [eax + 2]
push dword [esp + 0x2c]
call sub.KERNEL32.dll_FreeResource
cmp ebp, 0
je 0x5175a4
mov eax, dword [esp + 0x1c]
mov ebx, dword [0x5d3734]
mov ecx, dword [0x5d3734]
mov ebx, dword [ecx + ebp + 0x21]
lea ebx, [ecx + ebx]
call fcn.0041ac60
cmp eax, 0
jne 0x517599
mov dword [0x596060], edi
mov eax, ebp
jmp 0x5175eb
mov eax, dword [0x5d3734]
mov ebp, dword [eax + ebp + 1]
jmp 0x517569
mov eax, dword [0x5d3734]
call fcn.0046688c
mov dword [0x5d3734], 0
jmp 0x5175c0
push ebp
call sub.KERNEL32.dll_FreeResource
cmp esi, 0
je 0x5175d3
mov eax, edi
call fcn.0042ce98
mov edi, eax
jmp 0x5174b2
mov esi, edi
mov eax, 0
call fcn.0042ce98
mov edi, eax
jmp 0x5174b2
mov eax, 0
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x7c
ret
Function at 0x518e28
Capabilities:
Create process on windows

Disassembly:
enter 0x60, 0
pushal
mov ecx, eax
lea esi, [ebp - 0x60]
mov eax, esi
call fcn.00514a14
mov eax, esi
call fcn.005147b8
mov dword [0x5d5c7c], 0
call fcn.00413ca0
cmp ecx, 0
je 0x518eee
lea edx, [ebp - 0x44]
mov eax, edx
mov ebx, 0
mov ecx, 0x44
call fcn.004207ce
mov dword [ebp - 0x44], 0x44
mov word [ebp - 0x14], 5
mov eax, esi
call fcn.0051448c
lea ebx, [ebp - 0x54]
push ebx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call sub.KERNEL32.dll_CreateProcessA
cmp eax, 0
je 0x518ed1
call fcn.005162c8
push 0xffffffffffffffff
push dword [ebp - 0x54]
call sub.KERNEL32.dll_WaitForSingleObject
call fcn.0051627c
push 0x5d5c7c
push dword [ebp - 0x54]
call sub.KERNEL32.dll_GetExitCodeProcess
push dword [ebp - 0x54]
call sub.KERNEL32.dll_CloseHandle
push dword [ebp - 0x50]
call sub.KERNEL32.dll_CloseHandle
jmp 0x518ee5
mov dword [0x5d5c7c], 0xfffffffc
call sub.KERNEL32.dll_GetLastError
call fcn.00413d90
mov eax, esi
call fcn.00514a2c
jmp 0x518f18
mov eax, esi
call fcn.0051448c
push 5
push eax
call sub.KERNEL32.dll_WinExec
cmp eax, 0x20
jae 0x518f11
mov dword [0x5d5c7c], 0xfffffffc
call fcn.00413d90
mov eax, esi
call fcn.00514a2c
popal
leave
ret

Function at 0x51a28c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x51a2a6
mov dword [ebx], 0xffffffff
call fcn.0051a7bc
jmp 0x51a2b0
and eax, 0x7f
mov dword [ebx], eax
mov eax, 0
pop edx
pop ecx
ret

Function at 0x51a40c
Capabilities:
Write file on windows

Disassembly:
sub esp, 4
push ecx
push edx
push esi
push edi
push ebp
mov edi, eax
mov ebp, ecx
mov esi, edx
mov dword [esi], 0
push 0
call sub.KERNEL32.dll_SetLastError
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push edi
call sub.KERNEL32.dll_WriteFile
cmp eax, 0
jne 0x51a442
call fcn.0051a7bc
jmp 0x51a44d
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, 0
pop ebp
pop edi
pop esi
pop edx
pop ecx
add esp, 4
ret

Function at 0x51a4cc
Capabilities:
Read file on windows

Disassembly:
sub esp, 4
push ecx
push edx
push esi
push edi
push ebp
mov edi, eax
mov ebp, ecx
mov esi, edx
push 0
call sub.KERNEL32.dll_SetLastError
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push edi
call sub.KERNEL32.dll_ReadFile
cmp eax, 0
jne 0x51a4fc
call fcn.0051a7bc
jmp 0x51a507
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, 0
pop ebp
pop edi
pop esi
pop edx
pop ecx
add esp, 4
ret

Function at 0x51a65c
Capabilities:
Get file size

Disassembly:
sub esp, 4
push ecx
push edx
push esi
mov esi, eax
push 0
call sub.KERNEL32.dll_SetLastError
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_GetFileSize
mov dword [ebx], eax
call fcn.0051a7bc
pop esi
pop edx
pop ecx
add esp, 4
ret
Function at 0x42da70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x44], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x44], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4c], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x4c], 0xbb67ae85
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x4c], 0x3c6ef372
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x4c], 0xa54ff53a
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4c], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4c], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4c], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4c], 0x5be0cd19
pop ebp
ret
Function at 0x438540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x479130]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x438567
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43856e
mov al, 1
jmp 0x438649
call fcn.0040dbb0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040dbb0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040dbc0
add esp, 8
movzx eax, al
test eax, eax
je 0x4385aa
xor al, al
jmp 0x438649
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00439db0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4385e6
cmp dword [ebp - 0x30], 1
je 0x4385ed
cmp dword [ebp - 0x30], 3
je 0x43863c
jmp 0x438647
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x43861c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.00447d70
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43861c
xor al, al
jmp 0x438649
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x438630
mov dword [ebp - 0x38], 1
jmp 0x438637
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x438649
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x438649
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d999
mov esp, ebp
pop ebp
ret

Function at 0x4533c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453236
Function at 0x403090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00413c64

Function at 0x40af17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40af5c
call fcn.0041bcbb
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40af5c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40af78
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00420bb3
mov ebx, eax
test edi, edi
je 0x40af76
test esi, esi
je 0x40af76
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b984
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40ba42
cmp dword [esi + 0x20], 0
je 0x40ba42
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ba42
cmp dword [ebp + 8], 0
je 0x40ba42
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041bcbb
push 0x5686c0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40ba13
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ba42
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00421695
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x40ba33
test edi, edi
je 0x40ba33
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40ba3e
mov ecx, esi
call fcn.0040b727
mov eax, ebx
jmp 0x40ba44
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4106f8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x561ebb
call fcn.0053ae2c
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41071e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41077d
call fcn.00415509
push eax
lea ecx, [ebp - 0x10]
call fcn.004031c0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0053adef
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00541bde
push eax
call fcn.00403f6e
add esp, 0x14
test esi, esi
je 0x410770
push esi
call fcn.00541c29
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403300
mov eax, ebx
call fcn.0053adf5
ret 8

Function at 0x413cc9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041bcbb
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413d00
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00413d21
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424148
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x424162
mov edi, dword [esi + 0xc]
jmp 0x4241a2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42417b
call fcn.00415fdc
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x424190
call fcn.00415fdc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4241a2
call fcn.00415fdc
call fcn.0041bcbb
cmp dword [eax + 0x3c], 0
je 0x4241b7
push edi
mov ecx, ebx
call fcn.00423881
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00424394
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4241e0
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4241ec
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449809
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00410642
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x449845
call fcn.00449a2b
mov dword [esi + 0xc], 1
jmp 0x44984a
call fcn.00449a2b
cmp dword [esi], 0
je 0x449893
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x44986d
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040afed
jmp 0x44987e
push 0xff
mov ecx, esi
call fcn.00403450
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407063
jmp 0x4498b7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4498b7
push dword [esi]
push dword [ebp - 4]
call fcn.0041da63
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x449980
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00449a2b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4499c8
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040afed
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407063
jmp 0x4499d3
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041da63
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x47fc5b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x55dcc4
call fcn.0053ae60
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404215
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x567c28
call fcn.004117ae
cmp eax, 0xffffffff
jne 0x47fd26
push 0
push 0x578a40
lea ecx, [ebp - 0x4d0]
call fcn.004117ae
cmp eax, 0xffffffff
jne 0x47fd26
push 0
push 0x568f54
lea ecx, [ebp - 0x4d0]
call fcn.004117ae
cmp eax, 0xffffffff
jne 0x47fd26
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404215
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x47fd03
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0053adef
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00403300
jmp 0x47fd5e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004072a0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403300
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47fd4c
mov edi, dword [ebp - 0x4cc]
jmp 0x47fd5e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0053adef
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00403300
mov eax, edi
call fcn.0053ae0a
ret

Function at 0x483caa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x483cc3
call fcn.0041bcbb
mov esi, dword [eax + 0xc]
push 0x578ccc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x483d19
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x483d18
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x483cf9
xor esi, esi
jmp 0x483d0f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00483d21
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001c80
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10001c51
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10001c6f
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]
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 0x10001ccd
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 0x10001cb4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10001cbd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10001cc7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10001ca9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10001c33
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 0x10001d1a
dec eax
je 0x10001d11
sub eax, 3
je 0x10001d08
mov dword [ebp - 4], 0x40
jmp 0x10001d37
mov dword [ebp - 4], 4
jmp 0x10001d1d
mov dword [ebp - 4], 0x20
jmp 0x10001d1d
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 0x10001d69
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10001ce9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000157a
sbb esp, dword [eax*2 + 0x1475ff31]
push 1
push esi
call edi
mov eax, esi
jmp 0x10001d75
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100063e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1000b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x218], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10006423
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006d89
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x210]
push eax
push 0x2000000
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100064e2
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x210]
push eax
push eax
push eax
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push ecx
mov dword [ebp - 0x214], 0x104
call esi
test eax, eax
jne 0x100064c7
jmp 0x10006480
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
push eax
call fcn.100063e0
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x210]
push 0
push 0
push 0
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push ecx
mov dword [ebp - 0x214], 0x104
call esi
test eax, eax
je 0x10006480
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10006d89
mov esp, ebp
pop ebp
ret 8

Function at 0x10006d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x14], 0
je 0x10006d27
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x10006cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
push edi
test eax, eax
je 0x10006d19
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006d89
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b0c0]
jne 0x10006d93
repz ret
jmp fcn.100072fd