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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401179
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4011b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011a0
cmp esi, eax
jb 0x4011ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401d60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ef28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x47b9bc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call fcn.004073eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401d9c
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
push str.5FB4EEDF_6A79_45c3_B049_EF327CA03FCD
lea ecx, [esp + 0xc]
push str._x__s__qb
push ecx
mov dword [esp + 0x20], 0
call fcn.00401d40
mov esi, dword [esp + 0x14]
add esp, 0xc
push 1
push 0
push esi
push str.msiexec
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401e0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4021f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa10
mov eax, dword [0x47b9bc]
xor eax, esp
mov dword [esp + 0xa0c], eax
push edi
push 0x7fe
lea eax, [esp + 0x216]
push 0
push eax
mov edi, ecx
mov word [esp + 0x21c], 0
call fcn.00433f20
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + str.SoftwareTopDomaine_Learning_Class_Standard1.00]
mov word [esp + eax + 0x210], cx
add eax, 2
test cx, cx
jne 0x402230
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x21c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4022e8
push 0x1fe
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00433f20
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.UninstallPasswd
push ecx
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push str.Passwd
push edx
call fcn.0043343a
add esp, 8
test eax, eax
lea ecx, [edi + 0x78]
jne 0x4022d3
push 0x463a5c
jmp 0x4022d8
lea eax, [esp + 0x1c]
push eax
call fcn.004021a0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa10]
pop edi
xor ecx, esp
call fcn.00433e4b
add esp, 0xa10
ret

Function at 0x4027e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push str.SoftwareTopDomaine_Learning_Class_V6.0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40280a
or eax, 0xffffffff
add esp, 0x10
ret
push esi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x463f7c
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x402803
mov eax, dword [esp + 8]
add esp, 0x10
ret

Function at 0x40e402
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e43b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004072f2
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004072cd
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x41030c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41034f
call fcn.00414ceb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41034f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41036a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040fec6
test ebx, ebx
mov esi, eax
je 0x410368
test edi, edi
je 0x410368
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x411f4e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x47b9bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x411f8b
push 0x465b10
push 4
push eax
call fcn.00434bfd
push eax
call fcn.00401020
add esp, 0x10
jmp 0x411f9d
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x412008
push edi
call fcn.00434e53
mov edi, dword [eax]
call fcn.00434e53
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00434d35
add esp, 0x18
mov ebx, eax
call fcn.00434e53
cmp dword [eax], 0
je 0x411fe8
call fcn.00434e53
push dword [eax]
call fcn.004041da
pop ecx
jmp 0x411fef
call fcn.00434e53
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x412008
cmp ebx, esi
jae 0x412008
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41200a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00433e4b
leave
ret
Function at 0x4152d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41531c
call fcn.00414ceb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41531c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41535f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x415348
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415348
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41535c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x433e4b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47b9bc]
jne 0x433e55
repz ret
jmp fcn.00440cec
Function at 0x439f0c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x47bb60]
je 0x439f27
inc edi
cmp edi, 0x17
jb 0x439f18
cmp edi, 0x17
jae 0x43a0a7
push ebp
push 3
call fcn.00447220
cmp eax, 1
pop ecx
je 0x43a073
push 3
call fcn.00447220
test eax, eax
pop ecx
jne 0x439f5b
cmp dword [0x47b9b8], 1
je 0x43a073
cmp ebx, 0xfc
je 0x43a0a6
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47ef30
push ebp
call fcn.004471bb
add esp, 0xc
test eax, eax
je 0x439f91
push esi
push esi
push esi
push esi
push esi
call fcn.0043b63f
add esp, 0x14
push 0x104
mov esi, 0x47ef49
push esi
push 0
mov byte [0x47f04d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x439fd5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004471bb
add esp, 0xc
test eax, eax
je 0x439fd5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043b63f
add esp, 0x14
push esi
call fcn.00447130
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43a01a
push esi
call fcn.00447130
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47f244
push 0x468ae4
sub ecx, eax
push ecx
push eax
call fcn.00447079
add esp, 0x14
test eax, eax
je 0x43a01a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043b63f
add esp, 0x14
jmp 0x43a01c
xor esi, esi
push 0x468ae0
push ebx
push ebp
call fcn.00447008
add esp, 0xc
test eax, eax
je 0x43a03c
push esi
push esi
push esi
push esi
push esi
call fcn.0043b63f
add esp, 0x14
push dword [edi*8 + 0x47bb64]
push ebx
push ebp
call fcn.00447008
add esp, 0xc
test eax, eax
je 0x43a05e
push esi
push esi
push esi
push esi
push esi
call fcn.0043b63f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446e4b
add esp, 0xc
jmp 0x43a0a6
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43a0a6
cmp ebp, 0xffffffff
je 0x43a0a6
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47bb64]
push dword [esi]
call fcn.00447130
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x446e4b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043ab80
xor ebx, ebx
cmp dword [0x47fa28], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x446f21
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447001
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x447001
push eax
call fcn.0043ab12
mov dword [esp], 0x468dec
push edi
mov dword [0x47fa28], eax
call esi
push eax
call fcn.0043ab12
mov dword [esp], 0x468dd8
push edi
mov dword [0x47fa2c], eax
call esi
push eax
call fcn.0043ab12
mov dword [0x47fa30], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004342ea
test eax, eax
pop ecx
pop ecx
je 0x446eef
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b63f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x446f21
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043ab12
cmp eax, ebx
pop ecx
mov dword [0x47fa38], eax
je 0x446f21
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043ab12
pop ecx
mov dword [0x47fa34], eax
mov eax, dword [0x47fa34]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x446fa6
cmp dword [0x47fa38], ecx
je 0x446fa6
push eax
call fcn.0043ab89
push dword [0x47fa38]
mov esi, eax
call fcn.0043ab89
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x446fa6
cmp edi, ebx
je 0x446fa6
call esi
cmp eax, ebx
je 0x446f73
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446f73
test byte [ebp - 0x18], 1
jne 0x446fa6
lea eax, [ebp - 0x10]
push eax
call fcn.00434399
test eax, eax
pop ecx
je 0x446f8e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b63f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x446f9d
or dword [ebp + 0x10], 0x200000
jmp 0x446fe1
or dword [ebp + 0x10], 0x40000
jmp 0x446fe1
mov eax, dword [0x47fa2c]
cmp eax, dword [ebp - 8]
je 0x446fe1
push eax
call fcn.0043ab89
cmp eax, ebx
pop ecx
je 0x446fe1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x446fe1
mov eax, dword [0x47fa30]
cmp eax, dword [ebp - 8]
je 0x446fe1
push eax
call fcn.0043ab89
cmp eax, ebx
pop ecx
je 0x446fe1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47fa28]
call fcn.0043ab89
cmp eax, ebx
pop ecx
je 0x447001
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447003
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45e811
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x47b9bc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045e670
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00433f20
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45e860
cmp dword [ebp - 0x1c], 5
jb 0x45e878
jmp 0x45e874
cmp dword [ebp - 0x10], 1
jne 0x45e878
cmp dword [ebp - 0x1c], 4
ja 0x45e874
jne 0x45e878
cmp dword [ebp - 0x18], 0
jbe 0x45e878
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46e66c
call fcn.0045e42d
test eax, eax
jge 0x45e899
mov byte [0x47cec0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433e4b
add ebp, 0x78
leave
ret
Function at 0x10002140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.100959a9

Function at 0x10002470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002489
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100024c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100024c0
lea ebx, [ebx]
cmp esi, eax
jae 0x100024c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100024b0
cmp esi, eax
jb 0x100024ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10008cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
add eax, 0x54
push edi
mov dword [esi + 0x148], eax
call fcn.1009d5a9
mov ecx, esi
call fcn.100923d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x148]
push 1
call eax
push 1
mov ecx, esi
call fcn.100a06b9
push 0
push 0
push 0x100e70bc
push 0
lea edi, [esi + 0xa0]
push 1
mov ecx, edi
call fcn.10096218
push 0
push 0
push 0x100e70b0
push 1
push 1
mov ecx, edi
call fcn.10096218
push 0
push 0
push 0x100e70a4
push 2
push 1
mov ecx, edi
call fcn.10096218
push 0
push 0
push 0x100e7098
push 3
push 1
mov ecx, edi
call fcn.10096218
mov ecx, esi
call fcn.10007370
pop edi
mov ecx, esi
pop esi
jmp fcn.10008c30
Function at 0x1008eb01
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x100e126e
call fcn.100c4f8b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1008eb26
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1008eb72
call fcn.10089f2c
push eax
lea ecx, [ebp - 0x10]
call fcn.100015d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10089639
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100010d0
mov eax, esi
call fcn.100c5063
ret 8

Function at 0x10092df0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x10092e29
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10006470
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100062e0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x10094c57
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10094c9a
call fcn.10098bf3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10094c9a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10094cb5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1009480e
test ebx, ebx
mov esi, eax
je 0x10094cb3
test edi, edi
je 0x10094cb3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1009591a
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 ebx, ebx
call fcn.10098bf3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10095951
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1009553c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x100959a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x100959c9
cmp dword [edi + 0x54], 0
jne 0x100959c9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10098bf3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10095970
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x1009b7f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x1009b838
call fcn.10098bf3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1009b838
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x1009b87b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x1009b864
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1009b864
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1009b878
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100a78b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.10098bf3
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x100a78e1
xor eax, eax
jmp 0x100a7985
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x100a78da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100a78da
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100894a8
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x100a7936
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x100a7925
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.100a66fd
push edi
mov ebx, eax
call fcn.100894d3
test ebx, ebx
pop ecx
je 0x100a7978
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.100a6d9f
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.100a6e51
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x100c1d13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10111fe4]
jne 0x100c1d1d
repz ret
jmp fcn.100cb1fc

Function at 0x100d68f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100cabd5
xor ebx, ebx
cmp dword [0x10124030], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100d69c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x100d6934
xor eax, eax
jmp 0x100d6a8d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100f1098
push edi
call esi
cmp eax, ebx
je 0x100d692d
push eax
call fcn.100cab72
mov dword [esp], 0x100f1088
push edi
mov dword [0x10124030], eax
call esi
push eax
call fcn.100cab72
mov dword [esp], 0x100f1074
push edi
mov dword [0x10124034], eax
call esi
push eax
call fcn.100cab72
mov dword [0x10124038], eax
lea eax, [ebp - 8]
push eax
call fcn.100c7292
test eax, eax
pop ecx
pop ecx
je 0x100d6997
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100c389f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100d69c9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100cab72
cmp eax, ebx
pop ecx
mov dword [0x10124040], eax
je 0x100d69c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100cab72
pop ecx
mov dword [0x1012403c], eax
mov eax, dword [0x1012403c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x100d6a42
cmp dword [0x10124040], esi
je 0x100d6a42
push eax
call fcn.100cabde
pop ecx
call eax
cmp eax, ebx
je 0x100d6a0f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10124040]
call fcn.100cabde
pop ecx
call eax
test eax, eax
je 0x100d6a0f
test byte [ebp - 0x18], 1
jne 0x100d6a42
lea eax, [ebp - 0xc]
push eax
call fcn.100c72c9
test eax, eax
pop ecx
je 0x100d6a2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100c389f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100d6a39
or dword [ebp + 0x10], 0x200000
jmp 0x100d6a73
or dword [ebp + 0x10], 0x40000
jmp 0x100d6a73
mov eax, dword [0x10124034]
cmp eax, esi
je 0x100d6a73
push eax
call fcn.100cabde
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100d6a73
mov eax, dword [0x10124038]
cmp eax, esi
je 0x100d6a73
push dword [ebp - 4]
push eax
call fcn.100cabde
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10124030]
call fcn.100cabde
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret