joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c730
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4eaba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045ae70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0xb4], eax
lea ebx, [esi + 0x20]
add eax, 0x8c0
push ecx
xor ebp, ebp
push ebx
push eax
mov dword [esp + 0x28], ebp
mov dword [esi], 0x4f2460
mov dword [esi + 8], str.spellicon_gump
mov dword [esi + 0x60], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x40], ebp
call fcn.004447f0
mov eax, dword [ebx]
push str.framedata_for_CStatusGump
add eax, 7
push 8
and al, 0xf8
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], eax
mov dword [ebx], eax
mov dword [esi + 0x18], 1
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.status_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx]
imul eax, dword [esi + 0x24]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
mov dword [edx + 4], eax
mov ecx, dword [ebx]
imul ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [ebx]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
mov eax, dword [esi + 0x54]
push ebp
push ebp
push eax
push fcn.004c00b0
call fcn.00444850
mov ecx, dword [esp + 0x4c]
add esp, 0x38
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x41cb90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4eabfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ae70
mov eax, 2
xor ebx, ebx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x54], eax
mov ecx, 0x280
mov eax, 0x1e0
push str.framedata_for_CBritMapGump
push 8
mov dword [esp + 0x20], ebx
mov dword [esi], 0x4f2620
mov dword [esi + 8], str.map_gump
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.text_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x20]
imul eax, dword [esi + 0x24]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
push 0xec
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x20]
imul ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
call fcn.004ddf8e
add esp, 0x14
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x41ccec
push ebx
push 0x15a6
push 0x15a4
push fcn.004211e0
push ebx
push ebx
push esi
push 0x1bd
push 0x262
mov ecx, eax
call fcn.00422990
jmp 0x41ccee
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [eax + 0xac], 0x15a5
mov ecx, dword [esi + 0x114]
push 1
push esi
mov byte [esp + 0x20], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x18], 2
je 0x41cd50
push ebx
push 0x15a3
push 0x15a1
push 0x4211b0
push ebx
push ebx
push esi
push 0x1bd
push 0x24a
mov ecx, eax
call fcn.00422990
jmp 0x41cd52
xor eax, eax
mov dword [esi + 0x110], eax
mov dword [eax + 0xac], 0x15a2
mov ecx, dword [esi + 0x110]
push 1
push esi
mov byte [esp + 0x20], bl
call fcn.0045a530
mov ecx, esi
call fcn.0041d5a0
mov ecx, esi
call fcn.0041ce80
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x41cdc0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4eac18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4f2620
xor edi, edi
mov dword [0xb660f8], edi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], edi
mov eax, dword [eax + 4]
cmp eax, edi
je 0x41ce0e
push str.CityChoice_frame0_pBMP
push eax
call fcn.00479670
mov ecx, dword [esi + 0x3c]
add esp, 8
mov dword [ecx + 4], edi
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x41ce26
push str.CityChoice_framedata
push eax
call fcn.00479670
add esp, 8
mov dword [esi + 0x3c], edi
mov ecx, dword [esi + 0x110]
cmp ecx, edi
je 0x41ce36
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x114]
cmp ecx, edi
je 0x41ce46
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xb4]
cmp ecx, edi
je 0x41ce56
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0045af30
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41cfe0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eac53
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push str.citytext
call fcn.00470420
push eax
push str.citytext
call fcn.00470a80
mov ebx, eax
add esp, 0x18
cmp ebx, esi
jne 0x41d026
xor eax, eax
jmp 0x41d17a
push 0x10
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x41d04b
mov ecx, eax
call fcn.004cec40
mov ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x41d051
mov dword [esp + 0x14], esi
mov ebp, esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
inc eax
mov dword [esp + 0x10], esi
cmp eax, esi
mov dword [esp + 0x48], eax
jle 0x41d0ce
mov eax, esi
push 0
push eax
mov ecx, ebx
inc esi
call fcn.00471d50
push str..END
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004cee20
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
push ecx
mov ecx, edi
call fcn.004cf170
lea ecx, [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x40], 0xffffffff
call fcn.004cece0
test ebp, ebp
je 0x41d0b6
inc dword [esp + 0x10]
test edi, edi
je 0x41d01f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
cmp edx, eax
jl 0x41d06a
mov ebp, dword [esp + 0x14]
mov eax, esi
push 0
push eax
mov ecx, ebx
inc esi
call fcn.00471d50
push eax
mov ecx, ebp
call fcn.004cf050
mov eax, esi
push 0
push eax
mov ecx, ebx
inc esi
call fcn.00471d50
push str..END
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004cee20
lea eax, [esp + 0x18]
mov ecx, edi
push eax
mov dword [esp + 0x44], 2
call fcn.004cf170
test eax, eax
jne 0x41d121
test edi, edi
mov byte [esp + 0x48], 1
jne 0x41d126
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.004cece0
mov al, byte [esp + 0x48]
test al, al
je 0x41d178
push 0x5092e0
lea ecx, [esp + 0x2c]
call fcn.004cee20
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 3
push ecx
mov ecx, ebp
call fcn.004cf050
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.004cece0
push edi
jmp 0x41d0dc
mov eax, ebp
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x41fc40
Capabilities:
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x140
push ebx
push ebp
push esi
push edi
push 0x5094d0
push str.servers.txt
xor ebp, ebp
call fcn.0047f9d0
add esp, 4
push eax
call fcn.004de798
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fdb5
push 0x5094c0
push str.servers.tmp
call fcn.0047f9d0
add esp, 4
push eax
call fcn.004de798
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41fcb0
push str.Unable_to_create_servers.tmp_
push 3
push 0x21
call fcn.004c4a70
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
push str.gq.origin.ea.com
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x41fcdc
push str.Unable_to_resolve_host_gq.origin.ea.com
push 3
push 0x21
call fcn.004c4a70
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
push 0x50
mov esi, eax
call sub.WSOCK32.dll_htons
push 0xcc2d98
push str.GET__john_login.pl_acctname_s_r_n_r_n
lea eax, [esp + 0x18]
push 0xff
push eax
call fcn.004de716
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
lea ecx, [esp + 0x18]
push ecx
push esi
call sub.WSOCK32.dll_send
push 0
lea edx, [esp + 0x14]
push 0x100
push edx
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jle 0x41fd65
push ebx
push 1
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004de5dd
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push 0x100
push ecx
push esi
call sub.WSOCK32.dll_recv
test eax, eax
jg 0x41fd3e
je 0x41fd6d
push esi
call sub.WSOCK32.dll_closesocket
push ebx
call fcn.004de560
add esp, 4
push 0x5094d0
push str.servers.tmp
call fcn.0047f9d0
add esp, 4
push eax
call fcn.004de798
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fdb5
push str.Unable_to_open_servers.tmp_
push 3
push 0x21
call fcn.004c4a70
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
push 0
call fcn.004805c0
mov dl, byte [0xcc2f44]
lea eax, [esp + 0x114]
push edx
push 0xcc2d78
push 0xcc2d98
push eax
call fcn.004a1cd0
push esi
lea ecx, [esp + 0x28]
push 0xff
push ecx
call fcn.004de4fe
add esp, 0x20
test eax, eax
je 0x41fe43
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
js 0x41fe10
cmp byte [esp + ecx + 0x10], 0x20
jg 0x41fe10
mov byte [esp + ecx + 0x10], 0
dec ecx
jns 0x41fe01
mov al, byte [esp + 0x10]
test al, al
je 0x41fe2c
cmp al, 0x23
je 0x41fe2c
lea edx, [esp + 0x10]
push 0xffffffffffffffff
push edx
call fcn.004814f0
add esp, 8
inc ebp
push esi
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.004de4fe
add esp, 0xc
test eax, eax
jne 0x41fdf1
push esi
call fcn.004de560
mov ecx, dword [0xb65ccc]
add esp, 4
test ecx, ecx
je 0x41fe5c
mov edx, dword [ecx]
push 1
call dword [edx]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword [0xb65ccc], 0
pop ebx
add esp, 0x140
ret
Function at 0x422b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4eb028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ae70
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esi], 0x4f279c
mov dword [esi + 8], str.Button_gump
mov dword [esp + 0x18], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0xa8], eax
mov word [esi + 0xb0], ax
mov dword [esi + 0xac], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x9c], ebx
mov ebx, dword [esp + 0x3c]
sub eax, ecx
mov dword [esi + 0xdc], ebx
mov ebx, dword [esp + 0x40]
mov dword [esi + 0x30], ecx
lea ecx, [eax + 1]
mov dword [esi + 0xc8], ebx
mov ebx, ecx
mov edi, 1
and ebx, reloc.DSOUND.dll_DirectSoundCreate
mov dword [esi + 0xd4], edi
mov dword [esi + 0xb4], 0xa
mov dword [esi + 0xb8], edi
mov dword [esi + 0x34], edx
jns 0x422bfe
dec ebx
or ebx, 0xfffffffe
inc ebx
cmp ebx, edi
jne 0x422c0d
add eax, 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
jmp 0x422c13
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
sub eax, edx
push str.framedata_for_CButtonGump
inc eax
push 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 2
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x4355e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ebbb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ae70
xor eax, eax
mov ebx, 1
push str.ChatBorder_framedata
push 8
mov dword [esp + 0x20], eax
mov dword [esi], 0x4f4ae0
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.ChatBorder_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x24]
push eax
mov word [ecx + 2], dx
mov ecx, esi
call fcn.0045a530
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x435f10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ebc99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045ae70
xor ebx, ebx
mov ebp, 1
push str.ChatScrollBar_framedata
push 8
mov dword [esp + 0x28], ebx
mov dword [esi], 0x4f4e10
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.ChatScrollBar_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
push 0xec
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov dword [esi + 0xa4], ebx
mov byte [esi + 0xac], bl
call fcn.004ddf8e
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 1
je 0x436031
push ebx
push 0xfb
push 0xfa
push fcn.00421c30
push ebx
push 2
push esi
push ebx
push ebx
mov ecx, eax
call fcn.00422990
jmp 0x436033
xor eax, eax
mov dword [esi + 0x9c], eax
mov dword [eax + 0xa4], ebx
mov eax, dword [esi + 0x9c]
push ebp
push esi
mov byte [esp + 0x28], bl
mov dword [eax + 0xc0], ebp
mov ecx, dword [esi + 0x9c]
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x436095
push ebx
push 0xfd
push 0xfc
push fcn.00421c30
push ebx
push 2
push esi
push ebx
push ebx
mov ecx, eax
call fcn.00422990
jmp 0x436097
xor eax, eax
mov dword [esi + 0xa0], eax
mov dword [eax + 0xa4], ebp
mov ecx, dword [esi + 0xa0]
push ebp
push esi
mov byte [esp + 0x28], bl
mov dword [ecx + 0xc0], ebp
mov ecx, dword [esi + 0xa0]
call fcn.0045a530
push 0xbc
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 3
je 0x4360ed
push 0xfe
push esi
push ebx
push ebp
push ebx
push ebx
mov ecx, eax
call fcn.004231c0
jmp 0x4360ef
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x28], bl
mov dword [esi + 0xa8], eax
call fcn.0045a530
mov edx, dword [esp + 0x28]
push ebp
push edx
mov ecx, esi
call fcn.0045a530
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4363e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ebcf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ae70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xa0], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x34]
xor eax, eax
mov ebx, 1
push str.ChatTextBox_framedata
push 8
mov dword [esp + 0x20], eax
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi], 0x4f4fa8
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.ChatTextBox_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov dx, word [esi + 0x24]
mov eax, dword [esp + 0x20]
mov word [ecx + 2], dx
push ebx
push eax
mov ecx, esi
call fcn.0045a530
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x438360
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x594
xor edx, edx
mov al, byte [ecx]
test al, al
je 0x438386
cmp al, 0x2c
je 0x438386
mov byte [esp + edx + 0x194], al
mov al, byte [ecx + 1]
inc edx
inc ecx
test al, al
jne 0x438372
mov al, byte [ecx]
push esi
mov esi, dword [esp + 0x5b0]
cmp al, 0x2c
mov byte [esp + edx + 0x198], 0
jne 0x4383ae
push esi
inc ecx
push 0x509080
push ecx
call fcn.004debb9
add esp, 0xc
jmp 0x4383b4
mov dword [esi], 0
lea eax, [esp + 8]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x438409
mov ecx, dword [esp + 0x5ac]
mov edx, dword [esp + 0x5a8]
mov eax, dword [esp + 0x5a4]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0x5a0]
mov dword [edx], 0
mov dword [eax], 0
mov dword [ecx], 0
pop esi
add esp, 0x594
ret
lea edx, [esp + 0x198]
push edx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x438496
mov eax, dword [esi + 0xc]
mov ecx, dword [0x741d6c]
cmp dword [eax + ecx*4], 0
jne 0x438435
mov dword [0x741d6c], 0
call sub.WSOCK32.dll_WSACleanup
mov edx, dword [esi + 0xc]
mov eax, dword [0x741d6c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
push edx
call sub.WSOCK32.dll_ntohl
mov esi, dword [0x741d6c]
mov edx, dword [esp + 0x5a0]
mov ecx, eax
inc esi
shr ecx, 0x18
mov dword [0x741d6c], esi
mov dword [edx], ecx
mov edx, dword [esp + 0x5a4]
mov dword [esp + 4], eax
xor ecx, ecx
mov cl, byte [esp + 6]
mov dword [edx], ecx
mov edx, dword [esp + 0x5a8]
xor ecx, ecx
mov cl, ah
and eax, 0xff
mov dword [edx], ecx
mov ecx, dword [esp + 0x5ac]
mov dword [ecx], eax
pop esi
add esp, 0x594
ret