joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485580
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591c6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x48572d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056ba55
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x48566e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x485630
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x48571d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x48571d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x485680
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x485683
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x48571d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056ba55
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x485701
cmp edi, esi
je 0x485718
mov eax, dword [ebp + 0xc]
jmp 0x4856d7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x48571d
mov edx, dword [ebp - 0x10]
jmp 0x485690
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4874f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x48750c
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.004875c0
add esp, 4
test eax, eax
jne 0x487536
push str.AuthenticAMD
call fcn.004875c0
add esp, 4
test eax, eax
jne 0x487536
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x4875b6
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x487581
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x48757e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x4875b5
cmp eax, 1
jbe 0x4875b5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x4875b3
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x487e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x487e8b
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x487ea0
test al, cl
jne 0x487eaa
dec dl
shr cl, 1
jne 0x487ea0
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x487ec0
dec cl
shr al, 1
jne 0x487eb6
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56cc8d
Capabilities:
Parse pe header

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

Function at 0x5861ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586030

Function at 0x590540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x59056d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x59056d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42c005
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.0042a8d0
jmp section.42vab535

Function at 0x484cd9
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x484a08
inc esi
sub esi, edx
call fcn.00484d0f
and esi, edx
mov edx, 0x4727bd50
xor dword [ecx], ebx
add edx, edx
sub edx, 0x6bf1095d
add ecx, 2
sub esi, 1
cmp ecx, edi
jl fcn.00484cd9
inc esi
ret
Function at 0x401910
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x6f6dfc]
xor eax, esp
mov dword [esp + 0x610], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.005d03f0
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x40196b
push 0
push 0x14
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.005aa2a0
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.005aace0
add esp, 0xc
test al, al
jne 0x40199e
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.005aa160
add esp, 8
push str.1.6.6
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00401aa0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4019db
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.005aa160
add esp, 0xc
push 0x2f
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_woupd.xml
call fcn.005d03f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401a05
push eax
push 0x21
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.005aa2a0
add esp, 0x10
lea edi, [esi + 1]
push 0x6c232c
push edi
call fcn.005ab1f0
mov esi, eax
push str._p__n
push esi
call fcn.005d041d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.6.6
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005d041d
push str.__p__n
push esi
call fcn.005d041d
push esi
call fcn.005d05b0
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x258]
push str.XML__s_generated_nnew_exe:_s
push ecx
call fcn.00401ac0
add esp, 0x48
push 0
push str.Updater_XML
lea edx, [esp + 0x220]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.005d0127
add esp, 0x614
ret

Function at 0x402440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40248c
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
add edx, 0x88
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.MHz
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
ret 4
Function at 0x405780
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sub esp, 0x30
sar edx, 4
push ebx
mov eax, edx
shr eax, 0x1f
push ebp
xor ebx, ebx
add eax, edx
push edi
je 0x4059af
xor edi, edi
mov dword [esp + 0xc], edi
jmp 0x4057b4
mov edi, dword [esp + 0xc]
cmp edi, 0x1a4
jae 0x4059af
cmp ebx, eax
jb 0x4057c9
call fcn.005d1326
mov eax, dword [esi + 0xc]
lea eax, [edi + eax + 0x38]
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x4057df
mov eax, dword [eax + 4]
jmp 0x4057e2
add eax, 4
fld dword [esp + 0x44]
mov edx, dword [0x7a2a6c]
push eax
lea ecx, [esp + 0x20]
push ecx
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x2c], 0xfff3b656
fld dword [esp + 0x50]
fadd qword [0x6ca7a0]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
push edx
call fcn.005b3880
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x14
cmp ebx, eax
jb 0x40583f
call fcn.005d1326
mov eax, dword [esi + 0xc]
add eax, edi
cmp dword [eax + 0x18], ebp
jb 0x40584e
mov ebp, dword [eax + 4]
jmp 0x405851
lea ebp, [eax + 4]
mov edi, dword [0x7a2a6c]
push ebp
call fcn.00403ec0
fld dword [esp + 0x44]
fstp dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fld dword [esp + 0x48]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x30]
add esp, 4
fild dword [esp + 0x20]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x30]
fild dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x34]
call fcn.00402ce0
test al, al
je 0x405950
fld1
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffd800
fld dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fadd dword [esp + 0x60]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.005b79d0
add esp, 0x1c
cmp dword [0x7a2a80], 0
je 0x405950
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x40591f
call fcn.005d1326
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
cmp dword [edx + ecx + 0x34], 0x10
lea eax, [edx + ecx + 0x1c]
jb 0x405936
mov eax, dword [eax + 4]
jmp 0x405939
add eax, 4
push 5
push 0
push 0x6c8246
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
fld dword [esp + 0x44]
mov ecx, dword [0x7a2a6c]
push ebp
push 0x6c270c
lea eax, [esp + 0x18]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
push ecx
call fcn.005b3880
fld dword [esp + 0x5c]
mov ecx, dword [esi + 0x10]
fadd qword [0x6ca798]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x24], 0x54
mov eax, 0x30c30c31
fstp dword [esp + 0x5c]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add esp, 0x18
cmp ebx, eax
jb 0x4057b0
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x405ca0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x405ccd
xor al, al
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405cd2
mov ecx, dword [esp]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.LoginToken
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x405cc9
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret

Function at 0x405d10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x61eedb
mov eax, dword fs:[0]
push eax
sub esp, 0xc14
mov eax, dword [0x6f6dfc]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
push edi
mov eax, dword [0x6f6dfc]
xor eax, esp
push eax
lea eax, [esp + 0xc24]
mov dword fs:[0], eax
push str.Starting_game_n
mov ebx, ecx
call fcn.005a9f90
inc dword [0x6fdfc0]
add esp, 4
push 6
push 0
mov dword [esp + 0xc34], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.ExEWarZ.exe
call fcn.005aace0
add esp, 0xc
test al, al
jne 0x405d9e
push str.failed1_n
call fcn.005a9f90
add esp, 4
jmp 0x405db5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push str._08x__d_n
call fcn.005a9f90
add esp, 0xc
lea ecx, [ebx + 0x21714]
push ecx
lea edi, [esp + 0x24]
call fcn.0040e3e0
mov esi, edi
call fcn.00405ca0
test al, al
je 0x405df6
push 0xffffffffffffffff
call fcn.005b7fb0
add esp, 4
push eax
push 0xffffffffffffffff
call fcn.005b7fb0
add esp, 4
push eax
mov edx, edi
push str._08X_08X
push edx
call fcn.00401ac0
add esp, 0x10
lea eax, [esp + 0x20]
push eax
push 0x6fd5f0
lea ecx, [esp + 0x428]
push str._WOUpdatedOk__s__WOLogin___s_
push ecx
call fcn.00406890
add esp, 0x10
cmp dword [ebx + 0x21db8], 0
jbe 0x405e66
lea eax, [esp + 0x420]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405e28
sub eax, edx
cmp dword [ebx + 0x21dbc], 0x10
lea edx, [esp + eax + 0x420]
mov dword [esp + 0x14], edx
jb 0x405e4d
mov ebx, dword [ebx + 0x21da8]
jmp 0x405e53
add ebx, 0x21da8
push ebx
lea eax, [esp + 0x18]
push str.__survey___s_
push eax
call fcn.0040e520
add esp, 0xc
cmp dword [0x7a474c], 0
jl 0x405eaa
jg 0x405e7a
cmp dword [0x7a4748], 0
jbe 0x405eaa
lea eax, [esp + 0x420]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405e84
sub eax, edx
lea edx, [esp + 0x14]
lea ecx, [esp + eax + 0x420]
push str.__steam
push edx
mov dword [esp + 0x1c], ecx
call fcn.0040e520
add esp, 8
push 5
push 0
lea eax, [esp + 0x428]
push eax
push str.ExEWarZ.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x405edb
push eax
push str.failed:__d_n
call fcn.005a9f90
add esp, 8
cmp dword [0x6fdfc0], 0
je 0x405eea
dec dword [0x6fdfc0]
mov ecx, dword [esp + 0xc24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc10]
xor ecx, esp
call fcn.005d0127
add esp, 0xc20
ret
Function at 0x40b2a0
Capabilities:
Create thread

Disassembly:
push esi
lea esi, [edi + 0x21714]
call fcn.00407ed0
push 0
push 0
push edi
push 0x40aea0
push 0
push 0
call fcn.005d0a67
add esp, 0x18
mov dword [edi + 0x2170c], eax
pop esi
ret

Function at 0x40b410
Capabilities:
Create thread

Disassembly:
lea edx, [edi + 0x21ab0]
mov eax, edx
push esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b420
sub eax, esi
pop esi
cmp eax, 0x13
je 0x40b457
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b434
sub eax, edx
cmp eax, 0x1d
je 0x40b457
push 0
push str.Create_Account
push str.Please_enter_Serial_Key_in_following_format:_nXXXX_XXXX_XXXX_XXXX_or_XXXXX_XXXXX_XXXXX_XXXXX_XXXXX
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
push 0
push 0
push edi
push 0x40b2d0
push 0
push 0
call fcn.005d0a67
add esp, 0x18
mov dword [edi + 0x2170c], eax
ret

Function at 0x40b830
Capabilities:
Create thread

Disassembly:
push ebx
lea eax, [edi + 0x2188c]
mov ecx, eax
push esi
lea esi, [ecx + 1]
xor ebx, ebx
nop
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40b840
sub ecx, esi
cmp ecx, 4
jae 0x40b869
push ebx
push str.Create_Account
push str.email_address_is_too_short
push ebx
mov dword [edi + 0x21888], ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
ret
call fcn.0040b490
test eax, eax
jne 0x40b88d
push ebx
push str.Create_Account
push str.email_address_is_not_valid
push ebx
mov dword [edi + 0x21888], ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
ret
lea ecx, [edi + 0x219ac]
lea eax, [edi + 0x2192c]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b8c0
cmp dl, bl
je 0x40b8bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b8c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x40b8a0
xor eax, eax
jmp 0x40b8c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40b8e4
push ebx
push str.Create_Account
push str.Passwords_do_not_match
push ebx
mov dword [edi + 0x21888], ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
ret
lea esi, [edi + 0x2190c]
mov eax, esi
call fcn.0040b590
test eax, eax
jne 0x40b910
push ebx
push str.Create_Account
push str.UserName_cannot_containt_special_symbols
push ebx
mov dword [edi + 0x21888], ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b915
sub eax, edx
cmp eax, 4
jae 0x40b93b
push ebx
push str.Create_Account
push str.UserName_is_too_short
push ebx
mov dword [edi + 0x21888], ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push ebx
push edi
push 0x40b480
push ebx
push ebx
call fcn.005d0a67
add esp, 0x18
pop esi
mov dword [edi + 0x2170c], eax
pop ebx
ret
Function at 0x482510
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x6f6dfc]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 0x190
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x482551
mov byte [ebp - 0x1c0], 0
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0046acd0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005d0127
mov esp, ebp
pop ebp
ret

Function at 0x482590
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6f6dfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0x76
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4825d1
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.0046acd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d0127
mov esp, ebp
pop ebp
ret
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0x710c61
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7109ec
or edx, esi
sub edx, 0x866ace06
call fcn.00710c8a
add esi, esi
xor dword [ecx], eax
inc edx
inc esi
inc ecx
sub esi, edx
cmp ecx, edi
jne fcn.00710c61
mov esi, edx
inc esi
ret
Function at 0x4031c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4031df
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub ecx, eax
mov dl, byte [ecx + eax]
xor dl, 0x3d
mov byte [eax], dl
inc eax
dec esi
jne 0x4031d3
mov al, 1
pop esi
ret

Function at 0x4032e0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040c240
test al, al
jne 0x4032fc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x40331a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x24]
lea ebp, [ecx*4]
lea ebx, [ebp*8]
push ebx
call fcn.0040e8b3
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x24], edi
jne 0x40333f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x10
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov dword [esi + 0x28], ebp
test ebp, ebp
jle 0x40338f
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push ebp
push eax
mov ecx, esi
call fcn.0040c300
mov ecx, dword [esi + 0x24]
mov dword [ecx + edi*8], eax
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + edi*8]
lea eax, [edx + edi*8]
test ecx, ecx
je 0x403333
mov byte [eax + 4], 0
mov eax, dword [esi + 0x28]
inc edi
cmp edi, eax
jl 0x403362
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x10

Function at 0x404070
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x404095
xor al, al
pop esi
pop ecx
ret 4
mov ecx, dword [esp + 0xc]
push 0x10
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4040af
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esi + 0x1c]
lea edx, [esp + 4]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
pop esi
setne al
pop ecx
ret 4