joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436e1a
Capabilities:
Read .ini file

Disassembly:
push 0x434
mov eax, 0x567086
call fcn.0053cd89
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x434], eax
xor ebx, ebx
xor eax, eax
mov edi, 0x206
mov dword [ebp - 4], ebx
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00538410
add esp, 0xc
call fcn.00437969
push eax
lea ecx, [ebp - 0x428]
call fcn.00402738
lea eax, [ebp - 0x420]
push eax
mov byte [ebp - 4], 1
call fcn.00434f11
pop ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402372
push str.EpsonEvent_Manager_
mov byte [ebp - 4], 2
push dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
push str._s_s
push eax
call fcn.0040a7d8
mov esi, dword [ebp - 0x428]
push esi
call fcn.00437090
add esp, 0x14
test eax, eax
jne 0x436edf
call fcn.0043704c
jmp 0x436ee2
xor eax, eax
inc eax
cmp eax, ebx
jne 0x436f0f
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [esi - 0x10]
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
xor eax, eax
call fcn.0053ce0c
ret
call fcn.00437969
push eax
lea ecx, [ebp - 0x424]
call fcn.00402738
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.004125a0
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.004024a4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.00402760
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push 0x59dec4
push dword [ebp + 8]
call esi
test eax, eax
jne 0x436fa8
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00402760
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, ebx
jmp 0x436f09
push dword [ebp - 0x424]
push ebx
push str.ModelID
push dword [ebp + 8]
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x430]
push ebx
push str.ModelDependency
push dword [ebp + 8]
mov dword [ecx], eax
call esi
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x440]
push ebx
push str.EPSSetting
push dword [ebp + 8]
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 0x43c]
mov dword [ecx], eax
xor eax, eax
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538410
add esp, 0xc
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x599080
push str.ShortTranslation
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x218]
push eax
call fcn.0040234c
xor ebx, ebx
inc ebx
jmp 0x436f6c
Function at 0x437305
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x56490a
call fcn.0053cd89
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.00538410
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00437969
push eax
mov ecx, esi
call fcn.00402738
and dword [ebp - 4], 0
push str.EpsonEventManagerLoginTemp
lea eax, [ebp - 0x218]
push eax
push 0x59a49c
push esi
mov dword [ebp - 0x21c], 1
call fcn.0040a7d8
add esp, 0x10
mov eax, esi
call fcn.0053ce0c
ret

Function at 0x43a1d4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5c9030]
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 0x43a219
push 0x56e280
push 4
push eax
call fcn.0053b691
push eax
call fcn.0040224b
add esp, 0x10
jmp 0x43a22f
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43a2af
push edi
call fcn.0053cef7
mov edi, dword [eax]
call fcn.0053cef7
and dword [eax], 0
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.0053ce94
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0053cef7
cmp dword [eax], 0
je 0x43a283
call fcn.0053cef7
push dword [eax]
call fcn.00438020
pop ecx
jmp 0x43a28a
call fcn.0053cef7
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x43a2af
cmp dword [ebp - 0x234], esi
jae 0x43a2af
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43a2b1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053780e
leave
ret
Function at 0x43a880
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0043a7fa
pop ecx
cmp eax, esi
je 0x43a96a
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x43a96a
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00538410
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x43a96a
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x43a96a
cmp esi, 0x14
jge 0x43a96a
push 0x10
push 0
push edi
call fcn.0053c391
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43a959
call fcn.0053cef7
cmp dword [eax], 0x22
je 0x43a959
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00537ed9
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x43a92f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5caedc], 0
jne 0x43a9f5
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x43aa1e
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0043a1d4
pop ecx
pop ecx
test eax, eax
jne 0x43aa20
inc edi
cmp edi, esi
jl 0x43a9fb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053780e
leave
ret 8

Function at 0x43b9fd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55fe6b
call fcn.0053cd20
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43ba22
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ba74
call fcn.00437969
push eax
lea ecx, [ebp - 0x10]
call fcn.00402738
mov ecx, dword [esi + 0x6c]
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.0053b516
push eax
call fcn.0040224b
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402760
mov eax, esi
call fcn.0053cdf8
ret 8
Function at 0x43c1f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43c23a
call fcn.00439544
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43c23a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43c27d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43c266
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 0x43c266
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43c27a
mov ecx, dword [esi + 0x68]
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 0x449586
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 0x4495cd
call fcn.00439544
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4495cd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4495e9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00449086
mov esi, eax
test edi, edi
je 0x4495e7
test ebx, ebx
je 0x4495e7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44efed
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c9030]
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 0x44f022
xor eax, eax
jmp 0x44f075
lea eax, [ebp - 0x210]
push eax
call fcn.00537ed9
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x44f053
push 0x599b40
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053b99c
add esp, 0xc
test eax, eax
jne 0x44f01e
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053b99c
add esp, 0xc
test eax, eax
jne 0x44f01e
lea eax, [ebp - 0x210]
push eax
call fcn.0043a7fa
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053780e
leave
ret
Function at 0x45fd97
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0045fa3b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45fde1
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416aa8
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00416acb
jmp 0x45fdec
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045098b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45fdf2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0043b2e4
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45fe2f
call fcn.0045fa3b
mov dword [esi + 0xc], 1
jmp 0x45fe34
call fcn.0045fa3b
cmp dword [esi], 0
je 0x45fe7d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45fe55
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416aa8
jmp 0x45fe67
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402624
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00416acb
jmp 0x45fea1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45fea1
push dword [esi]
push dword [ebp + 8]
call fcn.0045098b
pop esi
pop ebp
ret 0xc

Function at 0x46c39d
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x46c400
add eax, esi
cmp dword [eax], ebx
je 0x46c400
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x46c3fb
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x46c3e5
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x46c3ed
cmp edx, ebx
jne 0x46c53b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x46c3bc
add eax, dword [eax + 4]
jmp 0x46c3a9
mov dword [ebp + 0xc], ebx
jmp 0x46c40b
Function at 0x46c40e
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x46c423
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x46c441
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]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x46c49f
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 0x46c486
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x46c48f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x46c499
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x46c47b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x46c405
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 0x46c4ec
dec eax
je 0x46c4e3
sub eax, 3
je 0x46c4da
mov dword [ebp - 4], 0x40
jmp 0x46c509
mov dword [ebp - 4], 4
jmp 0x46c4ef
mov dword [ebp - 4], 0x20
jmp 0x46c4ef
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 0x46c53b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x46c4bb
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0046bd4c
pop es
ljmp 0x6a14
Function at 0x46dd65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x46dd96
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x46dd9b
jmp 0x46d6ee
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x46dde2
lea eax, [ebp - 0x714]
push eax
call fcn.0046bd5c
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0046bd11
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x46dded
jmp 0x46ddf2
jmp 0x46d6ee
cmp dword [ebp - 0x37c], 0
jne 0x46de9c
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
adc al, 0xe8
shl eax, cl
invalid
inc dword [ebx - 0x7a76eb3c]
and al, bh
invalid
inc dword [ebx - 0x7df43]
inc dword [eax]
je 0x46de88
lea eax, [ebp - 0x714]
push eax
call fcn.0046bd5c
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.0046bdf1
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48766f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00439544
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4876a8
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.004872ac
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 0x487706
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x48772a
cmp dword [edi + 0x74], 0
jne 0x48772a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00439544
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.004876c7
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 0x4c5b31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4c5b4b
call fcn.00439544
mov esi, dword [eax + 0xc]
push dword [0x5ced84]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c5b69
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4c5b61
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c5b96
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c5b63
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c5a5f
mov esi, eax
jmp 0x4c5b88

Function at 0x514dbc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00447b19
call fcn.004120d0
cmp eax, esi
pop esi
jne 0x514dd8
mov ecx, 0x5ccc68
jmp fcn.0044fb90
ret

Function at 0x5186d2
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 0x5186ea
mov edi, dword [esi + 0xc]
jmp 0x51872a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x518703
call fcn.0044a1d9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x518718
call fcn.0044a1d9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x51872a
call fcn.0044a1d9
call fcn.00439544
cmp dword [eax + 0x3c], 0
je 0x51873f
push edi
mov ecx, ebx
call fcn.00517586
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005185ec
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x51875d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x518769
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x53780e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c9030]
jne 0x537818
repz ret
jmp fcn.00540cb3

Function at 0x54d998
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005406db
and dword [ebp - 0x14], 0
cmp dword [0x5d1384], 0
mov dword [ebp - 0x18], eax
jne 0x54da4b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54daf3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x596168
push ebx
call edi
test eax, eax
je 0x54daf3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x596158
push ebx
mov dword [0x5d1384], eax
call edi
push eax
call esi
push 0x596144
push ebx
mov dword [0x5d1388], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5d138c], eax
call edi
push eax
call esi
mov dword [0x5d1394], eax
test eax, eax
je 0x54da4b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5d1390], eax
mov eax, dword [0x5d1390]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x54daa4
cmp dword [0x5d1394], ecx
je 0x54daa4
push eax
call esi
push dword [0x5d1394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54daa4
test ebx, ebx
je 0x54daa4
call edi
test eax, eax
je 0x54da9b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54da9b
test byte [ebp - 8], 1
jne 0x54daa4
or dword [ebp + 0x10], 0x200000
jmp 0x54dad7
mov eax, dword [0x5d1388]
cmp eax, dword [ebp - 0x18]
je 0x54dad7
push eax
call esi
test eax, eax
je 0x54dad7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54dad7
mov eax, dword [0x5d138c]
cmp eax, dword [ebp - 0x18]
je 0x54dad7
push eax
call esi
test eax, eax
je 0x54dad7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d1384]
call esi
test eax, eax
je 0x54daf3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54daf5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053780e
leave
ret