joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404900
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x220
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp byte [esi], 0
je 0x404a14
mov dword [esp], 0x1f4
call sub.KERNEL32.dll_Sleep
sub esp, 4
lea ebx, [ebp - 0x208]
mov dword [esp], esi
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov dword [esp], 0x32
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], esi
sub eax, 4
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strncpy
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp], ebx
xor ecx, ecx
mov byte [eax + ebp - 0x20c], cl
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x57454e5f
mov edx, 0x6578652e
mov dword [eax + ebx + 4], edx
mov byte [eax + ebx + 8], 0
mov dword [esp], 0x32
call sub.KERNEL32.dll_Sleep
sub esp, 4
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_CopyFileA
sub esp, 0xc
mov dword [esp], 0x32
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_DeleteFileA
sub esp, 4
mov dword [esp], 0x32
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov eax, 0x40
mov dword [esp + 0xc], eax
mov eax, str.MapleStory
mov dword [esp + 8], eax
mov eax, str.Auto_Updater_completed_successfully._nPlease_restart_MapleStory_as_usual._n_nThanks_and_Happy_Flowsioning_
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x10
mov dword [0x40f4fc], eax
xor ecx, ecx
mov edx, 0x65
mov dword [esp + 8], ecx
xor esi, esi
mov ebx, 0x4047b0
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp], eax
call sub.USER32.dll_DialogBoxParamA
mov ebx, eax
mov eax, dword [0x40f4f4]
sub esp, 0x14
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], 6
call fcn.00403770
cmp byte [0x40f450], 0
mov eax, ebx
je 0x404a0b
mov dword [esp], 0
mov ecx, str.A_new_version_of_the_FlowsionMS.exe_file_has_been_fetched__nFlowsionMS_needs_to_close_itself_and_will_be_auto_updated._n_nThanks_and_Happy_Flowsioning_
mov esi, 0x40
mov dword [esp + 4], ecx
mov ebx, str.MapleStory
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [esp], str.FlowsionMS.exe
call fcn.00403f80
mov eax, 2
jmp 0x404a0b
Function at 0x407340
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00408750
call fcn.004074f0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x407378
jmp 0x407414
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x407377
cmp cl, 0x22
je 0x4073d0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4073f0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4073f0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4073b0
jmp 0x4073f0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4073d0
cmp cl, 0x22
je 0x407450
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x40740e
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x407400
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x407432
movzx edx, word [ebp - 0x28]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00404900
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4073f0

Function at 0x407970
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x4144c0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4079b0
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0040c7b0
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x407d60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x4144c0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x407e3c
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x407e51
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x407e10
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x407da8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x407db8
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x407e03
test edx, edx
jne 0x407df6
test ecx, ecx
je 0x407da0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x407e60
cmp eax, 8
je 0x407da0
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x407d92
call fcn.00407700
mov eax, dword [0x4144c0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x407d84
call fcn.004079d0
mov eax, dword [0x4144c0]
jmp 0x407d84
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00407cd0
cmp eax, 7
jne 0x407dfb
mov eax, dword [0x4144c0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x407eb3
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x407ede
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x407ebf
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.00407700
mov eax, dword [0x4144c0]
jmp 0x407e91
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x407ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x407ea2
call fcn.004079d0
mov eax, dword [0x4144c0]
jmp 0x407e98
Function at 0x408140
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x4144c0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4081d4
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x4081f0
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x408210
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x4081c8
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00407cd0
cmp eax, 7
jne 0x40828f
mov eax, dword [0x4144c0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408266
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x408280
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x408240
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00407ef0
jmp 0x408185
call fcn.00407700
mov eax, dword [0x4144c0]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x408160
lea esi, [esi]
call fcn.004079d0
mov eax, dword [0x4144c0]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x40816b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40816e
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4081b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4081b7
call fcn.00407700
mov eax, dword [0x4144c0]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x4081a9
nop
lea esi, [esi]
call fcn.004079d0
mov eax, dword [0x4144c0]
jmp 0x4081a9
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x4082a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x408332
mov eax, dword [0x4144c0]
test eax, eax
je 0x408326
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x4083a1
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x408347
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00407ef0
cmp eax, 7
jne 0x4083bf
mov eax, dword [0x4144c0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408392
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x4083b0
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x408373
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.00407700
mov eax, dword [0x4144c0]
jmp 0x4082c2
mov dword [esp], edi
call fcn.00407d60
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4082d7
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408315
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x408315
call fcn.00407700
mov eax, dword [0x4144c0]
jmp 0x408300
call fcn.004079d0
mov eax, dword [0x4144c0]
jmp 0x4082cd
call fcn.004079d0
mov eax, dword [0x4144c0]
jmp 0x40830b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x408570
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x4085a0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040c7b0
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x40d1d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f8c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x43970c
call fcn.00413686
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00412bbc
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41450f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x4310ac]
test eax, eax
je 0x41454e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41454e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41454e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41454e
cmp dword [ecx + 0x74], 0xe
jbe 0x41454e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f0bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f0bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004040c0
test esi, esi
jne 0x402a3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004041b0
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403134
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031ac
xor eax, eax
push ebp
push 0x4031a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4031e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ea0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48e048], 0
je 0x403f01
cmp word [0x48e21c], 0xd7b2
jne 0x403ec9
cmp dword [0x48e224], 0
jbe 0x403ec9
mov eax, 0x48e218
call dword [0x48e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48b06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f28
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48b030], 0
jne 0x403f1d
push 0
push 0x48b064
push 0x48b06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404074
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40403c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405ffc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406062
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404330
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cec
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40604c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406069
lea eax, [ebp - 0x10]
call fcn.004040c0
ret

Function at 0x40b684
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b6bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041b0
jmp 0x40b6c6
mov eax, ebx
mov edx, esi
call fcn.00404114
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b6d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b6f1
mov al, byte [esp]
jmp 0x40b6f3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bd78
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bbf0
mov eax, dword [0x48d198]
cmp byte [eax], 0
je 0x40bdf4
mov eax, dword [0x48ce74]
call fcn.00402b1c
call fcn.00402844
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408cd4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40be3c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be2a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48ce00]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e664]
call fcn.00405510
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c690
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c766
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404158
lea eax, [ebp - 8]
call fcn.004045d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404580
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c750
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c749
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404580
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c733
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c778
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c733
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c750
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c76d
lea eax, [ebp - 8]
call fcn.004040c0
ret

Function at 0x40cd30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cd94
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404330
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040873c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd9b
lea eax, [ebp - 0xc]
call fcn.004040c0
ret

Function at 0x41b46c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041b2c4
dec esi
jne 0x41b48e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41c5d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48e888
cmp dword [edi], 0
jne 0x41c64c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48e884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48b46c
mov ecx, 2
call fcn.004028d8
mov edx, 0x41c5a8
lea eax, [esi + 5]
call fcn.0041c5c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c5c8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c621
mov dword [0x48e884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41dbd8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41dbde
ret

Function at 0x4201f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420241
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420228
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420218
jmp 0x420241
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420229
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429eec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404570
xor eax, eax
push ebp
push 0x42a01a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429fed
xor eax, eax
push ebp
push 0x429fe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404380
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429fbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x429faa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404380
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404580
mov edx, ebx
pop ecx
call fcn.004028d8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429fb1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48cd50]
mov dl, 1
mov eax, dword [0x407494]
call fcn.0040befc
call fcn.00403a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a021
lea eax, [ebp - 4]
call fcn.004040c0
ret