joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfc0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x88
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareSoftnyxGunBoundWC
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c1f1
mov ecx, dword [0x887734]
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 4
add ecx, 0x1e604
push ecx
push 4
push eax
push str.LastServer
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8d68f0
push 3
push 0
push str.ShootingMode
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x8d68f4
push 4
push 0
push str.MouseSpeed
push ecx
call esi
mov al, byte [0x8d68f8]
mov ecx, dword [esp + 8]
push 1
test al, al
lea eax, [esp + 0x13]
push eax
push 3
push 0
push str.MidiMode
sete dl
push ecx
mov byte [esp + 0x27], dl
call esi
mov edx, dword [esp + 8]
push 4
push 0x8d68fc
push 4
push 0
push str.MusicVolume
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x8d6900
push 4
push 0
push str.EffectVolume
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x8876a0
push 4
push 0
push str.AutoRefresh
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8d6906
push 3
push 0
push str.Effect3D
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8d6907
push 3
push 0
push str.Background
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x8d6904
push 3
push 0
push str.MusicUse
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8d6905
push 3
push 0
push str.EffectUse
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x900d99
push 3
push 0
push str.ShowTurn
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x900d98
push 3
push 0
push str.ShowMoon
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x902044
push 3
push 0
push str.ShowOnlineUser
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x90207c
push 3
push 0
push str.InterfaceMode
push eax
call esi
mov eax, 0x887518
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c170
sub eax, ecx
mov ecx, dword [esp + 8]
inc eax
push eax
push 0x887518
push 3
push 0
push str.GameName
push ecx
call esi
mov eax, 0x885c38
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c198
mov edx, dword [esp + 8]
sub eax, ecx
inc eax
push eax
push 0x885c38
push 3
push 0
push str.ChannelName
push edx
call esi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push 3
push 0
push str.LastID
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x88
ret
Function at 0x412ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5663c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebp, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push 1
mov dword [edi + 8], ebp
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov dword [esp + 0x20], ebx
push 1
mov dword [edi + 0x10], ebp
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x20], 1
push 1
mov dword [edi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [edi + 0x1c], eax
mov byte [esp + 0x1c], bl
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x20], 2
push 1
mov dword [edi + 0x20], ebp
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x20], 3
push 1
mov dword [edi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea ecx, [esp + 0x14]
mov dword [edi + 0x2c], eax
mov byte [esp + 0x14], bl
push ecx
push eax
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x20], 4
push 1
mov dword [edi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [edi + 0x34], eax
mov byte [esp + 0x1c], bl
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov byte [esp + 0x20], 5
push 1
mov dword [edi + 0x38], ebp
call fcn.004ce8c0
mov ecx, eax
call fcn.0040af50
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [edi + 0x3c], eax
mov dword [esp + 0x20], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x413190
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5663c2
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esp + 0x14], 5
mov eax, dword [esi + 0x3c]
push 1
mov ebx, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push eax
mov dword [esi + 0x38], ebx
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov byte [esp + 0x14], 4
mov ecx, dword [esi + 0x34]
push 1
push ecx
mov dword [esi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov byte [esp + 0x14], 3
mov edx, dword [esi + 0x2c]
push 1
push edx
mov dword [esi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x24]
push 1
push eax
mov dword [esi + 0x20], ebx
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x1c]
push 1
push ecx
mov dword [esi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov byte [esp + 0x14], 0
mov edx, dword [esi + 0x14]
push 1
push edx
mov dword [esi + 0x10], ebx
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 0xc]
push 1
push eax
mov dword [esi + 8], ebx
call fcn.004ce8c0
mov edi, eax
call fcn.0040afb0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x413b20
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x887aa0]
cmp esi, eax
je 0x413cf8
mov ecx, dword [0x887ae0]
push ebx
xor ebx, ebx
cmp ecx, ebx
jne 0x413cf7
mov ecx, dword [eax*4 + 0x8876a8]
mov byte [0x90a201], bl
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, 0x90b7e4
call fcn.00530760
mov ecx, 0x90b8b0
mov dword [0x90b7ec], ebx
mov dword [0x90b7f0], ebx
mov dword [0x90b8b8], ebx
call fcn.00530760
push 0x2710
mov eax, 0x903638
call fcn.004c71c0
cmp esi, 0xf
jne 0x413bbf
push str.SoftnyxGunBound.gme
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413bb5
cmp esi, ebx
je 0x413bb5
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
pop esi
ret
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_gamelist_buddyup
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_gamelist_buddydown
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_gamelist_channelup
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_gamelist_channeldown
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_buddy_up
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_buddy_down
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_buddy_exit
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.b_error_confirm
call fcn.00402fc0
mov ecx, dword [0x887734]
add ecx, 0x4f0cc
mov eax, str.cursor
call fcn.00402fc0
mov ebx, dword [0x887734]
push str.cursor
add ebx, 0x4f0cc
call fcn.00403040
push str.normal
mov ecx, 0x88a470
mov dword [0x88a48c], eax
call fcn.0046f900
mov eax, 0x903638
call fcn.004c7280
mov ecx, dword [esi*4 + 0x8876a8]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov dword [0x887aa0], esi
call fcn.0052fdc0
mov al, byte [0x887aa4]
test al, al
je 0x413ce3
pop ebx
mov byte [0x887aa4], 0
pop esi
ret
mov dword [0x5e4224], 0xa
mov dword [0x887aa8], 0xffffffff
pop ebx
pop esi
ret
Function at 0x418db0
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5663c2
push eax
mov dword fs:[0], esp
mov al, byte [ebx]
push esi
mov esi, dword [esp + 0x14]
mov byte [esi], al
mov ecx, dword [ebx + 4]
push edi
mov dword [esi + 4], ecx
lea ecx, [ebx + 8]
lea edi, [esi + 8]
call fcn.00417b60
lea ecx, [ebx + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x10], 0
call fcn.00417b60
lea ecx, [ebx + 0x18]
lea edi, [esi + 0x18]
mov byte [esp + 0x10], 1
call fcn.00418f60
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00417b60
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00418f60
lea ecx, [ebx + 0x30]
lea edi, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00418f60
lea ecx, [ebx + 0x38]
lea edi, [esi + 0x38]
mov byte [esp + 0x10], 5
call fcn.00417b60
mov dl, byte [ebx + 0x40]
mov ecx, dword [esp + 8]
mov byte [esi + 0x40], dl
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x418e60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56764b
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov edi, esi
call fcn.00418f60
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0xc]
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
call fcn.00417b60
lea ecx, [ebx + 0x14]
lea edi, [esi + 0x14]
mov byte [esp + 0x10], 1
call fcn.00417b60
mov byte [esp + 0x10], 2
mov cl, byte [ebx + 0x1c]
mov byte [esi + 0x1c], cl
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
call fcn.00418f60
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00418f60
mov byte [esp + 0x10], 4
mov dl, byte [ebx + 0x30]
lea ecx, [ebx + 0x34]
lea edi, [esi + 0x34]
mov byte [esi + 0x30], dl
call fcn.00417b60
lea ecx, [ebx + 0x3c]
lea edi, [esi + 0x3c]
mov byte [esp + 0x10], 5
call fcn.00418f60
lea ecx, [ebx + 0x44]
lea edi, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.00417b60
lea ecx, [ebx + 0x4c]
lea edi, [esi + 0x4c]
mov byte [esp + 0x10], 7
call fcn.00418f60
lea ecx, [ebx + 0x54]
lea edi, [esi + 0x54]
mov byte [esp + 0x10], 8
call fcn.00418f60
lea ecx, [ebx + 0x5c]
lea edi, [esi + 0x5c]
mov byte [esp + 0x10], 9
call fcn.00417b60
mov al, byte [ebx + 0x64]
mov ecx, dword [esp + 8]
mov byte [esi + 0x64], al
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x444640
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56b27b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
mov ebx, dword [eax + 8]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x444698
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ebx
mov ecx, eax
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [esi + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x444724
push 0x64
call fcn.0054bf29
add esp, 4
mov dword [esp + 0x28], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x4446d8
push eax
call fcn.004a9610
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
mov ebx, dword [0x887734]
push str.thor
add ebx, 0x4f0cc
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
call fcn.00403040
mov edx, dword [esi]
push str.normal
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x887734]
push esi
add ecx, 0x77398
call fcn.005306b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x448860
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x80
push esi
push 0x80
lea eax, [esp + 8]
push eax
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x44888b
mov dword [edi + 4], esi
mov dword [edi], esi
pop esi
add esp, 0x80
ret
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4488e4
mov edx, dword [eax + 0xc]
cmp dword [edx], 0
je 0x4488e4
lea ecx, [edi + 5]
push ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx]
mov byte [ecx - 1], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 1]
mov byte [ecx], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 2]
mov byte [ecx + 1], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 3]
mov byte [ecx + 2], dl
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + esi*4 + 4]
inc esi
add ecx, 4
test ebx, ebx
jne 0x4488a6
pop ebx
mov dword [edi], esi
pop esi
add esp, 0x80
ret
Function at 0x44ca70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x565d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0xffffffff
xor ecx, ecx
mov dword [eax + 0x1c], ecx
mov edi, 0xf
mov dword [eax + 0x20], edi
mov byte [eax + 0xc], cl
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0xa0], esp
push eax
push ecx
lea ebx, [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.0044f350
add esp, 0x2c
xor ebx, ebx
push eax
mov dword [esp + 0x78], ebx
call fcn.0044ca40
push 0xffffffffffffffff
mov byte [esp + 0x78], 1
push ebx
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00402700
mov eax, dword [esp + 0x44]
mov esi, 0x10
cmp eax, esi
jb 0x44cb12
mov eax, dword [esp + 0x30]
push eax
call fcn.005543c2
add esp, 4
mov byte [esp + 0x74], 3
cmp dword [esp + 0x68], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x44cb36
mov ecx, dword [esp + 0x54]
push ecx
call fcn.005543c2
add esp, 4
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jae 0x44cb50
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.00401c50
mov edi, eax
cmp dword [esp + 0x28], esi
jb 0x44cb6d
mov edx, dword [esp + 0x14]
push edx
call fcn.005543c2
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4
Function at 0x450770
Capabilities:
Get graphical window text

Disassembly:
mov al, byte [0x887a94]
sub esp, 0x88
cmp al, 1
jne 0x450846
push esi
push edi
mov edi, dword [0x887abc]
push 0
push 0x21b
push 0xca
lea eax, [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.0040a950
mov eax, dword [0x887abc]
mov cl, byte [eax + 8]
test cl, cl
je 0x4507c8
mov edx, dword [eax + 4]
push 0x80
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x4507cd
mov byte [esp + 0x10], 0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00530ad0
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00530ad0
push 0xf800
sub eax, esi
push 0xc
add eax, 2
push eax
push 0x21b
add esi, 0xca
push esi
call fcn.00530d60
push 0
lea ecx, [esp + 0x38]
push ecx
push 0x21c
push 0xcb
call fcn.005336f0
push 0xffe0
lea edx, [esp + 0x48]
push edx
push 0x21b
push 0xca
call fcn.005336f0
add esp, 0x44
pop edi
pop esi
add esp, 0x88
ret
push 0
push 0x887990
push 0x21c
push 0xcb
call fcn.005336f0
push 0xffff
push 0x887990
push 0x21b
push 0xca
call fcn.005336f0
add esp, 0x20
add esp, 0x88
ret

Function at 0x450880
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x887abc]
mov cl, byte [eax + 8]
sub esp, 0x104
test cl, cl
je 0x4508aa
mov edx, dword [eax + 4]
push 0x80
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x4508af
mov byte [esp + 4], 0
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4508b6
mov ecx, dword [esp + 0x108]
sub eax, edx
mov dword [esp], eax
setne al
mov byte [ecx + 9], al
mov al, byte [esp + 0x10c]
test al, al
jne 0x4508ef
mov edx, dword [0x887abc]
mov eax, dword [edx + 4]
push 0x584f32
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 0x104
ret 8

Function at 0x451130
Capabilities:
Resolve dns

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451136
sub eax, esi
pop esi
je 0x45117d
cmp byte [eax + edx - 1], 0x2e
je 0x45117d
lea ecx, [eax - 1]
test ecx, ecx
jl 0x451162
mov al, byte [ecx + edx]
cmp al, 0x2e
je 0x451162
cmp al, 0x30
jl 0x45116a
cmp al, 0x39
jg 0x45116a
dec ecx
jns 0x451150
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
ret
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45117d
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
ret
or eax, 0xffffffff
ret
Function at 0x451320
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
lea edi, [ebx + 0x28254]
mov ecx, edi
call fcn.00534230
mov eax, dword [ebx + 0x7a30]
push 0
mov ecx, 0x4000
sub ecx, eax
push ecx
lea edx, [eax + ebx + 0x230]
mov eax, dword [ebx + 0x24]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
push esi
push str.Socket_Read_:__d__n
call fcn.004d2e60
add esp, 8
mov ecx, edi
call fcn.00534240
test esi, esi
jge 0x45137d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
pop edi
sete al
pop esi
ret
mov edi, dword [ebx + 0x7a30]
movzx eax, word [ebx + 0x230]
add edi, esi
mov ecx, edi
cmp eax, ecx
push ebp
mov dword [ebx + 0x7a30], edi
jg 0x451506
lea ecx, [ecx]
cmp dword [ebx + 0x7a30], 2
jl 0x451506
mov ecx, dword [ebx + 0x27a3c]
add ecx, eax
cmp ecx, 0x20000
jle 0x4513e2
mov ecx, dword [ebx + 0x27a38]
cmp eax, dword [ebx + ecx*4 + 0x27a40]
jl 0x4513d8
cmp dword [ebx + 0x27a34], ecx
jne 0x45150c
mov dword [ebx + 0x27a3c], 0
mov ebp, dword [ebx + 0x27a34]
inc ebp
and ebp, 0x800000ff
jns 0x4513f9
dec ebp
or ebp, 0xffffff00
inc ebp
cmp ebp, dword [ebx + 0x27a38]
je 0x451539
mov edx, dword [ebx + 0x27a3c]
lea ecx, [eax - 2]
lea edi, [edx + ebx + 0x7a34]
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x232]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
push str._d___Rece__5d__n
call fcn.004d2e60
mov edx, eax
shr edx, 8
mov ecx, eax
push edx
and ecx, 0xff
push ecx
push str._02X__02X
call fcn.004d2e60
lea ecx, [eax - 2]
add esp, 0x18
xor edx, edx
test ecx, ecx
jle 0x451483
lea ecx, [ecx]
mov esi, dword [ebx + 0x27a3c]
add esi, edx
movzx esi, byte [esi + ebx + 0x7a34]
push esi
push str._02X
call fcn.004d2e60
add esp, 8
inc edx
cmp edx, ecx
jl 0x451460
push 0x58590c
call fcn.004d2e60
mov edx, dword [ebx + 0x27a34]
mov esi, dword [ebx + 0x27a3c]
mov dword [ebx + edx*4 + 0x27a40], esi
mov edx, dword [ebx + 0x27a34]
mov dword [ebx + edx*4 + 0x27e40], ecx
mov esi, dword [ebx + 0x27a3c]
lea ecx, [eax - 2]
add esi, ecx
mov dword [ebx + 0x27a34], ebp
mov dword [ebx + 0x27a3c], esi
mov ecx, 0x4000
sub ecx, eax
mov ebp, ecx
shr ecx, 2
lea edx, [ebx + 0x230]
lea esi, [eax + ebx + 0x230]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x7a30]
sub esi, eax
mov dword [ebx + 0x7a30], esi
movzx eax, word [edx]
mov ecx, esi
add esp, 4
cmp eax, ecx
jle 0x4513a0
pop ebp
pop edi
mov al, 1
pop esi
ret
cmp dword [ebx + 0x22c], 1
je 0x451529
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x451529
mov edx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push edx
push 0x65
call fcn.00533a20
pop ebp
pop edi
mov dword [ebx + 0x22c], 0
xor al, al
pop esi
ret
cmp dword [ebx + 0x22c], 1
je 0x451529
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x451529
mov eax, dword [ebx + 0x1c]
push 0xfffffffffffffffe
push eax
jmp 0x451522
Function at 0x4517e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
je 0x45183b
xor eax, eax
mov ax, word [esi + 0x228]
mov word [esp], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0x14]
mov word [esp + 2], ax
call fcn.00451130
mov edx, dword [esi + 0x24]
push 0x10
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x45183b
mov byte [esi + 0x22a], 1
mov al, byte [esi + 0x22a]
add esp, 0x10
ret 4

Function at 0x451900
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x400c
call fcn.005574a0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x28254]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.00534230
mov al, byte [edi + 0x22a]
test al, al
jne 0x451944
mov ecx, esi
call fcn.00534240
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
push ebx
push eax
push str._d___Send__5d__n
call fcn.004d2e60
add esp, 0xc
xor eax, eax
test ebx, ebx
jle 0x45197c
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax + ecx]
push edx
push str._02X
call fcn.004d2e60
add esp, 8
inc eax
cmp eax, ebx
jl 0x451962
push 0x58590c
call fcn.004d2e60
add esp, 4
test ebx, ebx
jle 0x451a33
mov eax, dword [edi + 0x24]
push 0
push ebx
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4519b0
sub ebx, eax
add esi, eax
test ebx, ebx
jg 0x451991
jmp 0x451a33
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._n_nKASI_0802____Socket_Error_:__d_n_n
call fcn.004d2e60
add esp, 8
cmp eax, 0x2733
jne 0x451a0e
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x4010], ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
add ebx, 0x28240
call fcn.00451b20
mov ecx, dword [esp + 0xc]
call fcn.00534240
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x22c], 1
je 0x451a33
mov eax, dword [edi + 0x20]
test eax, eax
je 0x451a33
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
mov ecx, dword [edi + 0x20]
push 0x65
call fcn.00533a20
mov ecx, dword [esp + 0xc]
call fcn.00534240
mov eax, dword [ebp + 0x10]
xor edx, edx
test ebx, ebx
setl dl
pop edi
pop esi
dec edx
and edx, ebx
sub eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc