joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23855293
Capabilities:
Set registry value

Disassembly:
push 0x19c
mov eax, 0x23911df9
call fcn.23803221
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov esi, ecx
jb 0x238552af
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x9c]
call fcn.23904787
mov edi, eax
xor ebx, ebx
push 0x23921b70
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
call fcn.23904787
push edi
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.23904787
push 0x23921b6c
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.23904787
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x23855300
mov esi, dword [esi]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.23904787
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.23904787
push ebx
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.23904787
push ebx
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.23904787
push ebx
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.23904787
call fcn.23819efd
test eax, eax
je 0x2385544d
mov dword [ebp - 0x1a4], ebx
lea eax, [ebp - 0x1a4]
push eax
push 0x239219ec
push 4
push ebx
push 0x239219fc
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x23855437
push ecx
mov ecx, dword [ebp - 0x1a4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], esp
cmp eax, ebx
je 0x238553a6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.238b8e99
mov edi, eax
pop ecx
cmp edi, ebx
je 0x23855437
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x238553c2
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x19c]
push 3
mov dword [ebp - 0x1a0], ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.23904787
push dword [ebp - 0x1a0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1a0], eax
je 0x2385540d
push dword [ebp - 0x1a0]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp - 0x1a4]
mov edx, dword [eax]
push ecx
push esi
push edi
push eax
call dword [edx + 0x78]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x8c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1a4]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x23855489
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x23855489
call fcn.23904787
mov esi, eax
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
cmp esi, ebx
je 0x23855489
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x2385546e
lea eax, [ebp - 0x2c]
push 4
lea ecx, [ebp - 0x1a4]
push ecx
push 4
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.23904787
call fcn.238040e1
ret
Function at 0x2386d1fc
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x2390a5e3
call fcn.2380155b
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.238d0b4f
xor esi, esi
push 0x44
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCR100.dll_memset
push 5
pop eax
push 0x10
mov word [ebp - 0x38], ax
xor edi, edi
lea eax, [ebp - 0x24]
push esi
inc edi
push eax
mov dword [ebp - 0x60], 0x23927c78
mov dword [ebp - 0x3c], edi
call sub.MSVCR100.dll_memset
add esp, 0x28
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x23984114]
push esi
push esi
push 0x10
push edi
push esi
push esi
push dword [ebp - 0x14]
call dword [eax + 0x54]
pop ecx
push eax
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
movzx edi, ax
cmp di, si
je 0x2386d285
push dword [ebp - 0x24]
call fcn.23904787
pop ecx
movzx edi, ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.23803ba1
mov ax, di
call fcn.238015dd
ret
Function at 0x23904787
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x23904796
pop dword [ebp - 0x3c]
mov eax, 0x8441c1b6
sub eax, 0x60b17a20
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x853bb
push 0
mov eax, 0x2f08b64a
sub eax, 0xb7765ca
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xbbbd1325
add ecx, 0x44432427
mov ebx, eax
mov edi, 0x239ae600
add edi, dword [ebp - 0x3c]
mov edx, 0x5349be39
sub edx, 0xaf0565ab
mov dword [ebp - 4], 0x87ade807
mov esi, dword [edi]
sub dword [ebp - 0x10], 0xddaacfb4
sub esi, edx
xor dword [ebp - 0x30], 0x3174f42e
mov dword [ebx], esi
add ebx, 4
add edi, 0x8510bf37
add edi, 0x7aef40cd
loop 0x239047ef
add eax, 0xf6cca392
sub eax, 0xf6cbd38f
xor ebx, ebx
add ebx, eax
add eax, 0xaf596491
sub eax, 0xaf59648c
mov ecx, 0xe169f7b4
add ecx, 0x4216084c
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401e39
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4de980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x401ed1
push 0x4adca4
push 4
push eax
call fcn.004261ce
push eax
call fcn.004013df
add esp, 0x10
push ebx
push edi
call fcn.0042634b
mov edi, dword [eax]
call fcn.0042634b
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004262e8
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042634b
cmp dword [eax], ebx
je 0x401ee8
call fcn.0042634b
push dword [eax]
call fcn.00401da4
pop ecx
jmp 0x401eef
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x401e7c
jmp 0x401f76
call fcn.0042634b
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x401f72
cmp dword [ebp - 0x234], esi
jae 0x401f72
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.004263a0
add esp, 0xc
push 0x4ada04
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x401f61
push 0x4adc88
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x401f61
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x401f61
push ebx
push ebx
push esi
jmp 0x401f6a
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x401f74
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00424ae1
leave
ret

Function at 0x404af1
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 0x404b15
cmp dword [edi + 0x54], 0
jne 0x404b15
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004040a4
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.00404ab2
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 0x40c184
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 0x40c1cb
call fcn.004040a4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c1cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40c1e7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040bcfc
mov esi, eax
test edi, edi
je 0x40c1e5
test ebx, ebx
je 0x40c1e5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c9d7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a3a76
call fcn.00425d8c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40c9fc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40ca42
lea ecx, [ebp - 0x10]
call fcn.004023d5
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.0040c1ee
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401516
mov eax, esi
call fcn.00425e64
ret 8

Function at 0x42033c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.004040a4
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x420369
xor eax, eax
jmp 0x42040f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x420362
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x420362
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.0040182b
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x4203c0
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 0x4203af
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0041f0a5
push edi
mov ebx, eax
call fcn.00401865
pop ecx
test ebx, ebx
je 0x420402
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.0041f751
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0041f805
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 0x423c72
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4de980]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x423ca7
xor eax, eax
jmp 0x423cfa
lea eax, [ebp - 0x210]
push eax
call fcn.004262b0
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x423cd8
push 0x4ae8c4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004253bc
add esp, 0xc
test eax, eax
jne 0x423ca3
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004253bc
add esp, 0xc
test eax, eax
jne 0x423ca3
lea eax, [ebp - 0x210]
push eax
call fcn.0041a1c1
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00424ae1
leave
ret

Function at 0x424ae1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4de980]
jne 0x424aeb
repz ret
jmp fcn.00429f56

Function at 0x43386d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00429965
and dword [ebp - 4], 0
cmp dword [0x4e4eb8], 0
mov ebx, eax
jne 0x43391e
push 0x4b26b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4339cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b26a8
push edi
call esi
test eax, eax
je 0x4339cf
push eax
call fcn.004298f3
mov dword [esp], 0x4b2698
push edi
mov dword [0x4e4eb8], eax
call esi
push eax
call fcn.004298f3
mov dword [esp], 0x4b2684
push edi
mov dword [0x4e4ebc], eax
call esi
push eax
call fcn.004298f3
mov dword [esp], 0x4b2668
push edi
mov dword [0x4e4ec0], eax
call esi
push eax
call fcn.004298f3
pop ecx
mov dword [0x4e4ec8], eax
test eax, eax
je 0x43391e
push 0x4b2650
push edi
call esi
push eax
call fcn.004298f3
pop ecx
mov dword [0x4e4ec4], eax
mov eax, dword [0x4e4ec4]
cmp eax, ebx
je 0x433976
cmp dword [0x4e4ec8], ebx
je 0x433976
push eax
call fcn.0042996e
push dword [0x4e4ec8]
mov esi, eax
call fcn.0042996e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x433976
test edi, edi
je 0x433976
call esi
test eax, eax
je 0x43396d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43396d
test byte [ebp - 0xc], 1
jne 0x433976
or dword [ebp + 0x10], 0x200000
jmp 0x4339af
mov eax, dword [0x4e4ebc]
cmp eax, ebx
je 0x4339af
push eax
call fcn.0042996e
pop ecx
test eax, eax
je 0x4339af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4339af
mov eax, dword [0x4e4ec0]
cmp eax, ebx
je 0x4339af
push eax
call fcn.0042996e
pop ecx
test eax, eax
je 0x4339af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e4eb8]
call fcn.0042996e
pop ecx
test eax, eax
je 0x4339cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4339d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4443a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a5884
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00405275
lea edi, [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.0045ccd0
mov byte [esp + 0x20], 1
mov dword [esi], 0x4b4dd4
mov dword [edi], 0x4b4d74
lea ebx, [esi + 0x64]
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x444410
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x20], 2
lea ebp, [esi + 0x68]
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x444440
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x20], 3
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44446e
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [esp + 0x20], 4
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44449c
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [esp + 0x20], 5
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4444ca
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [esp + 0x20], 6
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4444f8
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa4], eax
mov byte [esp + 0x20], 7
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x444529
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov byte [esp + 0x20], 8
call fcn.0040e2d6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44455a
push 0x80004005
call fcn.0040168b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xac], eax
mov ecx, esi
mov byte [esp + 0x20], 9
call fcn.00442dc0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00444000
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x444590
xor eax, eax
jmp 0x4445a4
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444595
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.004016cc
push ebx
mov ecx, ebp
call fcn.00403228
mov edx, dword [esp + 0x30]
push edx
mov ecx, esi
call fcn.00443d80
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x448e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004470e0
mov ecx, eax
jmp fcn.00448450

Function at 0x44b470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0x4b5c94
push eax
push esi
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], 0x4e
mov byte [esp + 0x13], 0x47
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x44b4a2
pop esi
pop ecx
ret
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44b4b5
pop edi
pop esi
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [eax]
cmp ecx, dword [esp + 8]
je 0x44b4ea
movzx esi, cl
sub esi, 0x89
jne 0x44b4fe
movzx esi, byte [eax + 1]
sub esi, 0x50
jne 0x44b4fe
movzx esi, byte [eax + 2]
sub esi, 0x4e
jne 0x44b4fe
movzx esi, byte [eax + 3]
sub esi, 0x47
jne 0x44b4fe
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret
sar esi, 0x1f
push edi
or esi, 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
pop ecx
ret

Function at 0x44b520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x44b53b
xor eax, eax
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44b537
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44b537
xor ecx, ecx
cmp word [eax + 0xe], 0x20
push edi
sete cl
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret
Function at 0x44be40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a5df8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x44bf1c
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x44bf1c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44bf1c
mov esi, dword [edi + 8]
imul esi, dword [edi + 4]
add esi, esi
add esi, esi
cmp word [edi + 0xe], 0x20
mov dword [esp + 0x18], 0
jne 0x44bf97
mov ecx, dword [esp + 0x40]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [esi + 0x28]
cmp eax, edx
jb 0x44bf97
lea ecx, [esp + 0x20]
call fcn.0040d22d
xor ebp, ebp
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d831
push 0x34
call fcn.0042584e
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x44bf32
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040d8b0
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x28
push edi
push ebx
call fcn.00441060
add esp, 0xc
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
test ebp, ebp
je 0x44bf79
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44bf79
push esi
add edi, 0x28
push edi
push eax
call fcn.00441060
add esp, 0xc
mov dword [esp + 0x18], ebp
push ebx
call fcn.00425918
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040d8b0
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x44da90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a6051
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.0044d140
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 1
call fcn.0044b6c0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0044b6c0
mov eax, dword [esi + 0x18]
add esi, 8
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4b5c1c
test eax, eax
je 0x44db0c
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, esi
call fcn.0040d8b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x44e240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a613f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4b5dcc
push 1
mov dword [esp + 0x18], 8
call fcn.0044d820
lea ecx, [esi + 0x12c]
mov byte [esp + 0x14], 7
call fcn.0044ddf0
lea ecx, [esi + 0x108]
mov byte [esp + 0x14], 6
call fcn.0044ddf0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x14], 5
call fcn.0044ddf0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 4
call fcn.0044ddf0
lea ecx, [esi + 0x9c]
mov byte [esp + 0x14], 3
call fcn.0044ddf0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 2
call fcn.0044ddf0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 1
call fcn.0044ddf0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0044ddf0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0040529d
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret