joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4416ef
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x140]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x44179c
push 3
pop eax
cmp dword [esi + 0x80], eax
mov dword [ebp - 4], eax
jl 0x441793
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x441785
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x441785
cmp byte [eax + 0x70], 0xb
je 0x441785
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [edi + 0x140]
je 0x44175e
cmp byte [edi + 0x148], 0
je 0x441785
cmp cl, 0xff
je 0x441785
cmp byte [eax + 0x70], 0xa
je 0x441785
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x72], 0x40
je 0x441785
cmp byte [eax + 0x70], 0x1a
jne 0x441785
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x80]
jle 0x44171e
mov eax, dword [ebp + 8]
mov dword [edi + 0x140], eax
push 3
pop eax
cmp dword [esi + 0x80], eax
mov dword [ebp - 4], eax
jl 0x441820
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 0
je 0x441812
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp dword [eax + 4], ecx
jne 0x441812
cmp byte [eax + 0x70], 0xb
je 0x441812
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [edi + 0x140]
jne 0x441812
test byte [eax + 0x72], 0x20
jne 0x441812
push 0
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
push 4
push dword [eax]
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
test byte [eax + 0x72], 0x40
je 0x441812
cmp byte [eax + 0x70], 0x1a
jne 0x441812
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x80]
jle 0x4417aa
push 0
push dword [ebp + 8]
push 0x130c
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
leave
ret 4
Function at 0x4447e8
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x47def8
call fcn.0043b1db
mov ecx, dword [0x47df54]
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
jne 0x444837
xor edi, edi
cmp dword [ebx + 0x150], edi
je 0x444897
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push dword [ebx + 0x150]
jmp 0x444891
mov ecx, esi
call fcn.0043b202
cmp eax, 0xffffffff
je 0x444897
mov esi, eax
mov eax, dword [0x47df68]
shl esi, 2
mov eax, dword [esi + eax]
mov eax, dword [eax]
mov cl, byte [eax + 0x70]
cmp cl, 0xe
je 0x444897
cmp cl, 0xf
je 0x444897
cmp cl, 0x13
je 0x444897
cmp cl, 0x10
je 0x444897
xor edi, edi
cmp dword [eax + 8], edi
je 0x444897
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x47df68]
mov eax, dword [esi + eax]
mov eax, dword [eax]
push edi
push dword [ebx]
push dword [ebp - 4]
push dword [ebp - 8]
push edi
push dword [eax + 8]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x445e08
Capabilities:
Parse credit card information

Disassembly:
jmp 0x445ea1
cmp ecx, 0x4f
jne 0x445e1f
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x445e9f
cmp ecx, 0x5e
jne 0x445e3b
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x445eae
movzx ecx, byte [0x4675fe]
jmp 0x445e9f
cmp ecx, 0x38
jl 0x445e68
cmp ecx, 0x3d
jle 0x445e59
cmp ecx, 0x40
jle 0x445e54
cmp ecx, 0x43
jle 0x445e59
cmp ecx, 0x44
jne 0x445e68
mov dl, byte [eax + 3]
jmp 0x445e5c
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x445e66
cmp dl, 0xe
jne 0x445e68
inc eax
inc eax
movzx edx, byte [ecx + 0x4675a0]
add eax, edx
cmp dword [esp + 4], 0
je 0x445ea1
cmp ecx, 0x1b
jl 0x445ea1
cmp ecx, 0x1c
jle 0x445e8c
cmp ecx, 0x1d
jle 0x445ea1
cmp ecx, 0x2a
jg 0x445ea1
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x445ea1
and ecx, 0x3f
movzx ecx, byte [ecx + 0x467660]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x445e0d
xor eax, eax
ret
Function at 0x45290d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45294a
cmp dword [ebp + 0x14], edi
je 0x45294a
cmp ecx, edi
jne 0x452951
call fcn.00455dfc
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00455d9d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x452965
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x452986
cmp ebx, 0xffffffff
je 0x452975
push ebx
push edi
push ecx
call fcn.004512b0
add esp, 0xc
cmp esi, edi
je 0x452932
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x452932
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4529a2
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4529a9
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x452a9a
test word [esi + 0xc], 0x10c
je 0x4529fd
mov eax, dword [esi + 4]
test eax, eax
je 0x4529fd
jl 0x452afb
cmp ebx, eax
mov edi, ebx
jb 0x4529ce
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x452aa2
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045b0d4
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x452a92
cmp ebx, dword [ebp - 0xc]
jb 0x452a6a
cmp dword [ebp - 0xc], 0
je 0x452a27
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x452a1c
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x452a23
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x452a32
mov eax, bind
cmp ebx, eax
ja 0x452a32
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x452ace
push eax
push dword [ebp - 8]
push esi
call fcn.00453a2b
pop ecx
push eax
call fcn.0045afd7
add esp, 0xc
test eax, eax
je 0x452b0d
cmp eax, 0xffffffff
je 0x452afb
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x452a92
push esi
call fcn.0045a8f6
cmp eax, 0xffffffff
pop ecx
je 0x452aff
cmp dword [ebp - 4], 0
je 0x452ace
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4529b1
mov eax, dword [ebp + 0x14]
jmp 0x45294c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x452ab9
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004512b0
add esp, 0xc
call fcn.00455dfc
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x452942
cmp dword [ebp + 0xc], 0xffffffff
je 0x452ae4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004512b0
add esp, 0xc
call fcn.00455dfc
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x452942
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45294c
or dword [esi + 0xc], 0x10
jmp 0x452aff
Function at 0x455f63
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x472b50]
je 0x455f7e
inc edi
cmp edi, 0x17
jb 0x455f6f
cmp edi, 0x17
jae 0x4560fe
push ebp
push 3
call fcn.004605a3
cmp eax, 1
pop ecx
je 0x4560ca
push 3
call fcn.004605a3
test eax, eax
pop ecx
jne 0x455fb2
cmp dword [0x472388], 1
je 0x4560ca
cmp ebx, 0xfc
je 0x4560fd
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x474a90
push ebp
call fcn.00460309
add esp, 0xc
test eax, eax
je 0x455fe8
push esi
push esi
push esi
push esi
push esi
call fcn.00455ca1
add esp, 0x14
push 0x104
mov esi, 0x474aa9
push esi
push 0
mov byte [0x474bad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45602c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00460309
add esp, 0xc
test eax, eax
je 0x45602c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00455ca1
add esp, 0x14
push esi
call fcn.00451730
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x456071
push esi
call fcn.00451730
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x474da4
push 0x4686e8
sub ecx, eax
push ecx
push eax
call fcn.00460256
add esp, 0x14
test eax, eax
je 0x456071
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00455ca1
add esp, 0x14
jmp 0x456073
xor esi, esi
push 0x46d3c4
push ebx
push ebp
call fcn.00460198
add esp, 0xc
test eax, eax
je 0x456093
push esi
push esi
push esi
push esi
push esi
call fcn.00455ca1
add esp, 0x14
push dword [edi*8 + 0x472b54]
push ebx
push ebp
call fcn.00460198
add esp, 0xc
test eax, eax
je 0x4560b5
push esi
push esi
push esi
push esi
push esi
call fcn.00455ca1
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004603e6
add esp, 0xc
jmp 0x4560fd
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4560fd
cmp ebp, 0xffffffff
je 0x4560fd
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x472b54]
push dword [esi]
call fcn.00451730
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45b64e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472df4]
jne 0x45b658
repz ret
jmp fcn.00462edb

Function at 0x4603e6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00455718
xor ebx, ebx
cmp dword [0x47511c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4604bc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46059c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46a464
push edi
call esi
cmp eax, ebx
je 0x46059c
push eax
call fcn.004556aa
mov dword [esp], 0x46a454
push edi
mov dword [0x47511c], eax
call esi
push eax
call fcn.004556aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x475120], eax
call esi
push eax
call fcn.004556aa
mov dword [0x475124], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044f5ae
test eax, eax
pop ecx
pop ecx
je 0x46048a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455ca1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4604bc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004556aa
cmp eax, ebx
pop ecx
mov dword [0x47512c], eax
je 0x4604bc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004556aa
pop ecx
mov dword [0x475128], eax
mov eax, dword [0x475128]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x460541
cmp dword [0x47512c], ecx
je 0x460541
push eax
call fcn.00455721
push dword [0x47512c]
mov esi, eax
call fcn.00455721
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x460541
cmp edi, ebx
je 0x460541
call esi
cmp eax, ebx
je 0x46050e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46050e
test byte [ebp - 0x18], 1
jne 0x460541
lea eax, [ebp - 0x10]
push eax
call fcn.0044f5e5
test eax, eax
pop ecx
je 0x460529
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455ca1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x460538
or dword [ebp + 0x10], 0x200000
jmp 0x46057c
or dword [ebp + 0x10], 0x40000
jmp 0x46057c
mov eax, dword [0x475120]
cmp eax, dword [ebp - 8]
je 0x46057c
push eax
call fcn.00455721
cmp eax, ebx
pop ecx
je 0x46057c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46057c
mov eax, dword [0x475124]
cmp eax, dword [ebp - 8]
je 0x46057c
push eax
call fcn.00455721
cmp eax, ebx
pop ecx
je 0x46057c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47511c]
call fcn.00455721
cmp eax, ebx
pop ecx
je 0x46059c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46059e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4027f4
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.00403f38
test esi, esi
jne 0x40282a
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.00404028
jmp 0x402848
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004026a8
mov edi, eax
test esi, esi
je 0x402848
cmp dword [ebx], 0
je 0x402848
dec esi
jmp 0x402831
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403478
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x43b00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403510
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4034f0
xor eax, eax
push ebp
push 0x4034e9
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 0x40352c
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 0x4034f0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x43b00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x43b00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403dbc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43c044], 0
je 0x403e1d
cmp word [0x43c218], 0xd7b2
jne 0x403de5
cmp dword [0x43c220], 0
jbe 0x403de5
mov eax, 0x43c214
call dword [0x43c230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x43b050
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 0x403e44
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43b018], 0
jne 0x403e39
push 0
push 0x43b070
push 0x43b050
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404a60
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c90
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404cac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b6c
xor eax, eax
push ebp
push 0x404b65
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004048a8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b4a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404ccc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b4a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b6c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404c86
cmp byte [ebp - 0xd], 0
jne 0x404bb3
cmp byte [ebp - 0x12], 0
je 0x404c86
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404bcc
dec ebx
cmp byte [ebx], 0x2e
je 0x404bdb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404bcb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c86
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404c18
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c86
cmp byte [ebp - 0xd], 0
je 0x404c86
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c86
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404b6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c90
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404cac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b6c
xor eax, eax
push ebp
push 0x404b65
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004048a8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b4a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404ccc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b4a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b6c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404c86
cmp byte [ebp - 0xd], 0
jne 0x404bb3
cmp byte [ebp - 0x12], 0
je 0x404c86
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404bcc
dec ebx
cmp byte [ebx], 0x2e
je 0x404bdb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404bcb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c86
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404c18
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c86
cmp byte [ebp - 0xd], 0
je 0x404c86
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c86
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d34
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 0x406d6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404028
jmp 0x406d76
mov eax, ebx
mov edx, esi
call fcn.00403f8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406d80
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 0x406da1
mov al, byte [esp]
jmp 0x406da3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407428
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4072a0
mov eax, dword [0x43b50c]
cmp byte [eax], 0
je 0x407490
mov eax, dword [0x43b3a4]
call fcn.00402bf0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040618c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x4074d8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4074c6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x43b378]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43c710]
call fcn.0040486c
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 0x407e58
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 0x407ebc
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.00404188
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405e64
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407ec3
lea eax, [ebp - 0xc]
call fcn.00403f38
ret
Function at 0x18030fe5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, esi
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.18030c1f
push eax
push esi
push dword [ebp + 8]
call fcn.18030bd4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.18030c1f
push eax
push esi
push dword [ebp + 8]
call fcn.18030bd4
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.18030c0f
mov ch, 0xa9
invalid