joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42360e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x4236ed
mov esi, edx
shr esi, 3
push edi
jmp 0x423630
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x558bf0]
add ecx, 8
sub edx, 8
dec esi
jne 0x423630
pop edi
test edx, edx
je 0x42370a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x558bf0]
inc ecx
dec edx
jne 0x4236f1
not eax
pop esi
pop ebp
ret
Function at 0x423c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x423c76
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x20]
jb 0x423c5b
pop edi
mov dword [esi + 0xc], 0x30000
xor eax, eax
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 8]
push edi
push edx
add eax, ecx
push eax
call fcn.00526760
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
test eax, eax
je 0x423c99
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x423ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x64]
push edi
test ecx, ecx
je 0x424041
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
cmp eax, edi
jae 0x424088
mov edx, dword [ebp + 0xc]
sub edi, eax
cmp edi, edx
jbe 0x424014
mov edi, edx
mov ebx, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.00526760
mov eax, dword [esi + 0x58]
add dword [esi + 0x6c], edi
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.00423600
add esp, 0x18
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x424081
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424088
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x58]
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.00423600
add esp, 0xc
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x425150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x42537b
cmp dword [esi + 0x6af90], 3
jb 0x4251c7
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x425207
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x425207
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4251ef
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.00422a70
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x425207
mov edi, eax
cmp edi, 3
jb 0x4252f4
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00422450
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x4252ad
cmp eax, 3
jb 0x4252ad
mov edx, 1
sub edi, edx
lea ecx, [ecx]
add dword [esi + 0x6af84], edx
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor eax, ebx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
sub edi, edx
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x425250
add dword [esi + 0x6af84], edx
jmp 0x42531d
add dword [esi + 0x6af84], edi
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + esi + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, 0x7fff
push 1
push esi
xor edi, edi
mov dword [esi + 0x6af7c], ecx
call fcn.00421fd0
add esp, 0xc
jmp 0x42531d
mov edx, dword [esi + 0x6af84]
movzx eax, byte [edx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00422450
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x425359
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x425336
lea ecx, [eax + esi + 0x1af70]
jmp 0x425338
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00424f90
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x42536e
push esi
call fcn.00422c50
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x425173
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x42538e
lea ecx, [eax + esi + 0x1af70]
jmp 0x425390
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00424f90
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x426c39
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.00430be7
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 0x426c72
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.0042687b
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 0x426cd0
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 0x426cf4
cmp dword [edi + 0x74], 0
jne 0x426cf4
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00430be7
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 [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00426c91
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 0x42d3c2
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 0x42d409
call fcn.00430be7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42d409
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42d425
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042cec7
mov esi, eax
test edi, edi
je 0x42d423
test ebx, ebx
je 0x42d423
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42f506
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x547c1d
call fcn.0052a915
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42f52b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42f57d
call fcn.00432f53
push eax
lea ecx, [ebp - 0x10]
call fcn.004012e0
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.0052c0fa
push eax
call fcn.00408f30
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010d0
mov eax, esi
call fcn.0052a9ed
ret 8
Function at 0x4338ef
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.00433443
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x433939
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042b534
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00425f00
jmp 0x433944
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00445e6d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43394a
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.0042edf3
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x433987
call fcn.00433443
mov dword [esi + 0xc], 1
jmp 0x43398c
call fcn.00433443
cmp dword [esi], 0
je 0x4339d5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4339ad
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042b534
jmp 0x4339bf
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401420
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00425f00
jmp 0x4339f9
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4339f9
push dword [esi]
push dword [ebp + 8]
call fcn.00445e6d
pop esi
pop ebp
ret 0xc

Function at 0x43aa5b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5a574c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x43aaa3
push 0x55bbd8
push 4
push eax
call fcn.0052c5d4
push eax
call fcn.00408f30
add esp, 0x10
jmp 0x43aab9
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43ab3c
push edi
call fcn.0052ab5d
mov edi, dword [eax]
call fcn.0052ab5d
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00525833
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0052ab5d
cmp dword [eax], 0
je 0x43ab10
call fcn.0052ab5d
push dword [eax]
call fcn.00426d44
pop ecx
jmp 0x43ab17
call fcn.0052ab5d
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x43ab3c
cmp dword [ebp - 0x11c], esi
jae 0x43ab3c
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x43ab3e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00525222
leave
ret
Function at 0x43ab4b
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5a574c]
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.00428902
pop ecx
cmp eax, esi
je 0x43ac35
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x43ac35
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.00526030
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 0x43ac35
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x43ac35
cmp esi, 0x14
jge 0x43ac35
push 0x10
push 0
push edi
call fcn.0052cae0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43ac24
call fcn.0052ab5d
cmp dword [eax], 0x22
je 0x43ac24
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0052c1bb
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x43abfa
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 [0x5a8ef8], 0
jne 0x43acc0
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x43ace9
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0043aa5b
pop ecx
pop ecx
test eax, eax
jne 0x43aceb
inc edi
cmp edi, esi
jl 0x43acc6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525222
leave
ret 8
Function at 0x43b96b
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 0x43b9b3
call fcn.00430be7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43b9b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43b9f6
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 0x43b9df
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 0x43b9df
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43b9f3
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 0x448d4a
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a574c]
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 0x448d7f
xor eax, eax
jmp 0x448dd2
lea eax, [ebp - 0x210]
push eax
call fcn.0052c1bb
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x448db0
push 0x55cf90
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052d3f6
add esp, 0xc
test eax, eax
jne 0x448d7b
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052d3f6
add esp, 0xc
test eax, eax
jne 0x448d7b
lea eax, [ebp - 0x210]
push eax
call fcn.00428988
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00525222
leave
ret

Function at 0x454bba
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0048c6af
call fcn.00430604
cmp dword [eax + 0x14], 0
jne 0x454bd7
mov ecx, esi
pop esi
jmp fcn.004546a1
pop esi
ret

Function at 0x4582d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0049bbf5
call fcn.00430604
cmp dword [eax + 0x14], 0
jne 0x4582ed
mov ecx, esi
pop esi
jmp fcn.00457ca3
pop esi
ret

Function at 0x490012
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 0x49002c
call fcn.00430be7
mov esi, dword [eax + 0xc]
push dword [0x5aac18]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x49004a
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 0x490042
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x490077
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x490044
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048ff40
mov esi, eax
jmp 0x490069
Function at 0x50b6de
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 0x50b6f6
mov edi, dword [esi + 0xc]
jmp 0x50b736
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x50b70f
call fcn.00430fd8
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50b724
call fcn.00430fd8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x50b736
call fcn.00430fd8
call fcn.00430be7
cmp dword [eax + 0x3c], 0
je 0x50b74b
push edi
mov ecx, ebx
call fcn.0050a5a4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0050b5f8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x50b769
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x50b775
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 0x525222
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a574c]
jne 0x52522c
repz ret
jmp fcn.0053067c
Function at 0x53f18f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a574c]
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.0053007c
and dword [ebp - 0x14], 0
cmp dword [0x5ad694], 0
mov dword [ebp - 0x18], eax
jne 0x53f242
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x53f2ea
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x53f2ea
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5806c4
push ebx
mov dword [0x5ad694], eax
call edi
push eax
call esi
push 0x5806b0
push ebx
mov dword [0x5ad698], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ad69c], eax
call edi
push eax
call esi
mov dword [0x5ad6a4], eax
test eax, eax
je 0x53f242
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ad6a0], eax
mov eax, dword [0x5ad6a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x53f29b
cmp dword [0x5ad6a4], ecx
je 0x53f29b
push eax
call esi
push dword [0x5ad6a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53f29b
test ebx, ebx
je 0x53f29b
call edi
test eax, eax
je 0x53f292
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53f292
test byte [ebp - 8], 1
jne 0x53f29b
or dword [ebp + 0x10], 0x200000
jmp 0x53f2ce
mov eax, dword [0x5ad698]
cmp eax, dword [ebp - 0x18]
je 0x53f2ce
push eax
call esi
test eax, eax
je 0x53f2ce
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53f2ce
mov eax, dword [0x5ad69c]
cmp eax, dword [ebp - 0x18]
je 0x53f2ce
push eax
call esi
test eax, eax
je 0x53f2ce
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ad694]
call esi
test eax, eax
je 0x53f2ea
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x53f2ec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525222
leave
ret