joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420720
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4207ad
lea eax, [esp + 4]
push eax
push 0x64
push 2
push 0
push 0
push 0x11
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [esp + 4], 0
jne 0x42075b
xor al, al
pop esi
pop ecx
ret
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x10
push esi
call edi
push 0
push 0
push 0x12
push esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
pop edi
test esi, esi
je 0x4207ad
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4207a6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ecx
ret
Function at 0x425a30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x470386
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
call fcn.004038d0
mov esi, eax
mov edi, edx
call fcn.0043b055
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x425a8f
push 0x80004005
call fcn.00401530
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push edi
push esi
lea ecx, [esp + 0x1c]
push 0x475170
push ecx
mov dword [esp + 0x27c], ebx
call fcn.00402e00
mov esi, dword [esp + 0x24]
push esi
push str.OwerCheckTm
push 0x474ad4
call fcn.0040bf40
add esp, 0x1c
push 0x104
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00455e70
lea ecx, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x2c], ecx
push str.downparam0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00401e60
mov eax, 1
mov byte [esp + 0x26c], al
cmp dword [0x48f3c4], eax
jne 0x425b41
push 0xa
push str.downparam1
lea ecx, [esp + 0x18]
call fcn.00401b50
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00406230
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x38], ecx
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425b84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x26c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425bb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00455930
add esp, 0x260
ret
Function at 0x42ad50
Capabilities:
Create thread

Disassembly:
sub esp, 8
push edi
mov ecx, 0x4922b4
call fcn.00401860
push 0xffffffffffffffff
xor edi, edi
push edi
mov ecx, 0x4922b8
call fcn.0043b60f
push 0x474ae8
push str.CheckVerNumber
push str.APPLICATION
call fcn.00407e20
add esp, 0xc
test al, al
je 0x42ae83
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push edi
push edi
push 0x425c10
push edi
push edi
lea ebx, [edi + 1]
mov dword [0x492544], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4785f0
push str.TimeOut
lea ecx, [esp + 0x18]
push 0x474ad4
push ecx
call fcn.00407760
mov eax, dword [eax]
push eax
call fcn.00456092
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42adfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
imul esi, esi, 0x64
cmp esi, edi
jle 0x42ae4b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
lea ebx, [ebx]
push 0xf000d
call fcn.0041bc60
mov ecx, dword [0x492544]
add esp, 4
cmp ecx, 2
jne 0x42ae2c
xor ebx, ebx
jmp 0x42ae34
cmp ecx, 3
jne 0x42ae36
lea ebx, [ecx - 2]
mov edi, esi
push eax
call ebp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, esi
jl 0x42ae10
pop ebp
test ebx, ebx
je 0x42ae67
mov ecx, dword [esp + 0x18]
push ecx
push 2
mov ecx, 0x492268
call fcn.0040f200
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 8
ret 4
mov edx, dword [0x4922b4]
cmp dword [edx - 0xc], 0
jne 0x42ae7a
mov eax, dword [esp + 0x18]
push eax
jmp 0x42ae50
mov ecx, dword [esp + 0x18]
push ecx
push 3
jmp 0x42ae52
mov edx, dword [esp + 0x10]
push edx
call fcn.0042a5c0
xor eax, eax
pop edi
add esp, 8
ret 4
Function at 0x42b190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x470d29
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x18], ebx
mov ax, word [esp + 0x3c]
push 3
lea edx, [esp + 0x24]
push edx
push 2
mov word [esp + 0x48], ax
lea eax, [esp + 0x48]
push eax
push ebx
xor ecx, ecx
push 0xfde9
mov dword [esp + 0x48], ebx
mov word [esp + 0x56], cx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
call fcn.0042b0f0
mov edx, dword [esp + 0x19]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 1
call fcn.0042b0f0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.00402cf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0042b0f0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 2
call fcn.00402cf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x42c350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x42c35b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x42c439
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x47a488]
inc ecx
sub edx, 8
sub esi, 1
jne 0x42c375
pop edi
test edx, edx
je 0x42c45b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x47a488]
inc ecx
sub edx, 1
jne 0x42c440
not eax
pop esi
ret

Function at 0x42c460
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movsx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x47a488]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x47a488]
mov dword [edx + 8], ecx
ret

Function at 0x42c9f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x42ca32
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ca26
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x42ca43
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.00457550
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x42dc80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x424]
test esi, esi
je 0x42dcc0
push esi
call ebp
cmp eax, 0xffffffff
jne 0x42dcc0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x42dda6
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x42dcdf
cmp ax, 0x5c
jne 0x42dce1
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x42dcd3
push edi
cmp ecx, ebx
je 0x42dd24
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.00457550
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push esi
mov word [esp + edi + 0x22c], cx
call fcn.0042dc80
add esp, 0x14
xor eax, eax
mov word [esp + 0x10], ax
test esi, esi
je 0x42dd4f
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x42dd40
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42dd40
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dd53
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x42dd70
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42dd70
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebp
pop edi
cmp eax, 0xffffffff
jne 0x42dda6
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00455930
add esp, 0x414
ret
Function at 0x42f520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x42f53a
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x42f52f
cmp dword [edi + 0x7c], ebx
je 0x42f54d
push edi
call fcn.0042d4e0
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0042d300
add esp, 0x10
test eax, eax
je 0x42f574
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.00457b78
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42f5b5
push 0x4000
call fcn.00457b78
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x42f5c1
push esi
call fcn.00457a9b
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x42f60d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0042c710
add esp, 4
test eax, eax
jne 0x42f60d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x42f637
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x42f640
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
movzx ecx, byte [esi + 0x6c]
neg ecx
sbb ecx, ecx
push ebp
mov ebp, dword [esp + 0x20]
and ecx, 0xc
lea ebx, [esi + 0x70]
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebp, ebp
je 0x42f687
mov edi, edi
movzx eax, byte [ebp]
test al, al
je 0x42f687
push eax
push ebx
call fcn.0042c460
add esp, 8
add ebp, 1
jne 0x42f670
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x42f910
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x42f9e5
cmp dword [ebx + 4], 0xffffffff
jne 0x42f9e5
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f940
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x42f979
cmp ax, 0x2f
je 0x42f979
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42f966
mov eax, dword [0x474c3c]
mov dword [edi], eax
mov edi, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
cmp edi, 1
jne 0x42f9a4
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42f9a4
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.0042c7c0
add esp, 0x10
test eax, eax
jne 0x42f9c6
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.0042f350
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x430180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470db8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.00432570
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x160]
push ecx
mov ecx, edi
mov dword [esp + 0x40], 0
call edx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_LPtoDP]
push 1
lea eax, [esp + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x24]
push 1
lea edx, [esp + 0x18]
push edx
push eax
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004325c4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x438afb
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 0x438b42
call fcn.00431bda
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x438b42
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x438b5e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00438673
mov esi, eax
test edi, edi
je 0x438b5c
test ebx, ebx
je 0x438b5c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43951e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x439542
cmp dword [edi + 0x54], 0
jne 0x439542
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00431bda
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.004394df
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 0x439da5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x470f54
call fcn.00457e5e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x439dca
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x439e10
lea ecx, [ebp - 0x10]
call fcn.004024f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439592
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401660
mov eax, esi
call fcn.00457f36
ret 8

Function at 0x4405f4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x490d1c]
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 0x44068c
push 0x47d1ac
push 4
push eax
call fcn.00459851
push eax
call fcn.004014a0
add esp, 0x10
push ebx
push edi
call fcn.004580b5
mov edi, dword [eax]
call fcn.004580b5
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00458052
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004580b5
cmp dword [eax], ebx
je 0x4406a3
call fcn.004580b5
push dword [eax]
call fcn.00432ee5
pop ecx
jmp 0x4406aa
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x440637
jmp 0x440731
call fcn.004580b5
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x44072d
cmp dword [ebp - 0x234], esi
jae 0x44072d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00455e70
add esp, 0xc
push 0x47b310
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x44071c
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44071c
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x44071c
push ebx
push ebx
push esi
jmp 0x440725
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x44072f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00455930
leave
ret
Function at 0x44182b
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 0x441873
call fcn.00431bda
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x441873
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4418b6
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 0x44189f
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 0x44189f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4418b3
mov ecx, dword [esi + 0x4c]
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 0x455930
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490d1c]
jne 0x45593a
repz ret
jmp fcn.0045de3c
Function at 0x466990
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045c901
and dword [ebp - 4], 0
cmp dword [0x494ff4], 0
mov ebx, eax
jne 0x466a41
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x466af2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x466af2
push eax
call fcn.0045c88f
mov dword [esp], 0x4801c8
push edi
mov dword [0x494ff4], eax
call esi
push eax
call fcn.0045c88f
mov dword [esp], 0x4801b4
push edi
mov dword [0x494ff8], eax
call esi
push eax
call fcn.0045c88f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x494ffc], eax
call esi
push eax
call fcn.0045c88f
pop ecx
mov dword [0x495004], eax
test eax, eax
je 0x466a41
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045c88f
pop ecx
mov dword [0x495000], eax
mov eax, dword [0x495000]
cmp eax, ebx
je 0x466a99
cmp dword [0x495004], ebx
je 0x466a99
push eax
call fcn.0045c90a
push dword [0x495004]
mov esi, eax
call fcn.0045c90a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x466a99
test edi, edi
je 0x466a99
call esi
test eax, eax
je 0x466a90
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466a90
test byte [ebp - 0xc], 1
jne 0x466a99
or dword [ebp + 0x10], 0x200000
jmp 0x466ad2
mov eax, dword [0x494ff8]
cmp eax, ebx
je 0x466ad2
push eax
call fcn.0045c90a
pop ecx
test eax, eax
je 0x466ad2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x466ad2
mov eax, dword [0x494ffc]
cmp eax, ebx
je 0x466ad2
push eax
call fcn.0045c90a
pop ecx
test eax, eax
je 0x466ad2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x494ff4]
call fcn.0045c90a
pop ecx
test eax, eax
je 0x466af2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x466af4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret