joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4077f0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
push 1
mov ebx, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40782b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___failed__d_.
call fcn.00401000
add esp, 8
or eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0xffff
push esi
mov dword [ebp - 4], 1
call edi
test eax, eax
je 0x407873
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.setsockopt_SO_REUSEADDR__failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push 4
push ecx
push 8
push 0xffff
push esi
mov dword [ebp - 4], 1
call edi
test eax, eax
je 0x4078b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.setsockopt_SO_KEEPALIVE__failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push 4
push edx
push 0x1001
push 0xffff
push esi
mov dword [ebp - 4], 0x8000
call edi
test eax, eax
je 0x4078fa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.setsockopt_SO_SNDBUF__failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [ebx + 0x24]
xor eax, eax
mov dword [ebp - 0x18], eax
push ecx
mov dword [ebp - 0x14], eax
mov word [ebp - 0x18], 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [ebp - 0x18]
push 0x10
push edx
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x407958
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.bind___failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x40799a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.ioctlsocket___failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push bind
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x4079d1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push str.listen___failed__d_.
call fcn.00401000
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4079e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 1
push 2
mov dword [ebp - 0xc], ebx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407a1e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___failed__d_.
call fcn.00401000
add esp, 8
or eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 4]
push 4
push eax
push 8
push 0xffff
push esi
mov dword [ebp - 4], 1
call edi
test eax, eax
je 0x407a50
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_SO_KEEPALIVE__failed__d_.
jmp 0x407b44
lea ecx, [ebp - 4]
push 4
push ecx
push 0x1001
push 0xffff
push esi
mov dword [ebp - 4], 0x8000
call edi
test eax, eax
je 0x407a7f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_SO_SNDBUF__failed__d_.
jmp 0x407b44
lea edx, [ebp - 8]
mov dword [ebp - 8], 1
push edx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x407aab
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.ioctlsocket___failed__d_.
jmp 0x407b44
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x407afa
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x407aec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Invalid_ip_addr__s___err__d_.
call fcn.00401000
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
or eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, 0x10
xor ecx, ecx
lea edi, [ebp - 0x1c]
mov ax, word [edx + 0x24]
mov word [ebp - 0x1c], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [ebp - 0x1c]
push 0x10
push ecx
push esi
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x407b5d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x407b5d
push eax
push str.Connect___failed__d_.
call fcn.00401000
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407bc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0x18]
push ebx
push esi
push edi
test edx, edx
mov ebx, ecx
jne 0x407beb
push 0x114
push 0x48e1c8
push 0x48e1c4
push str.CHECKF
jmp 0x407d61
mov edi, dword [ebp + 0xc]
test edi, edi
jl 0x407d44
cmp edi, dword [ebx + 0x10]
jge 0x407d44
mov ecx, dword [ebx + 4]
cmp edi, ecx
jne 0x407c22
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
push ecx
mov ecx, ebx
call fcn.00408ae0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x128]
cmp dword [eax + edi*4], 0xffffffff
jne 0x407c51
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push edx
push edi
push ecx
push str.port__d__send__d___d___d___s__failed.
call fcn.00401000
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
jne 0x407c5f
mov cx, word [ebp + 8]
mov word [ebp - 8], cx
jmp 0x407c63
mov word [ebp - 8], di
mov dx, word [ebp + 0x10]
mov cx, word [ebp + 0x14]
mov word [ebp - 6], dx
mov word [ebp - 4], cx
mov eax, dword [eax + edi*4]
push 0
lea edx, [ebp - 8]
push 6
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 6
jne 0x407cc6
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00408a40
mov ecx, dword [ebx + 0x128]
mov edx, dword [ebp + 0x18]
add esp, 4
mov dword [ebp + 0x14], eax
push 0
push eax
mov eax, dword [ecx + edi*4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, eax
jne 0x407cc6
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jg 0x407ceb
cmp eax, 0x2733
je 0x407ceb
mov ecx, dword [ebx + 4]
push eax
push ecx
push str.port__d__error__d_.
call fcn.00401000
add esp, 0xc
jmp 0x407cfc
mov edx, dword [ebx + 4]
push edx
push str.port__d__overflow.
call fcn.00401000
add esp, 8
mov eax, dword [ebx + 4]
test eax, eax
jne 0x407d2b
mov eax, dword [ebx + 0x128]
mov ecx, dword [eax + edi*4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebx + 0x128]
xor al, al
mov dword [edx + edi*4], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, str.nPort
test eax, eax
je 0x407d6e
push 0x118
push 0x48e1c8
push str.__nPort_
push str.ASSERT
push 0x48c174
call fcn.00401000
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x408260
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x4000
push 0
mov eax, dword [esi + 0x4000]
sub edx, eax
lea ecx, [eax + esi]
mov eax, dword [ebp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40829e
mov ecx, dword [esi + 0x4000]
add ecx, eax
mov al, 1
mov dword [esi + 0x4000], ecx
pop esi
pop ebp
ret 8
jne 0x4082b4
push str.message:_socket_close.
call fcn.00401000
add esp, 4
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
jge 0x4082da
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4082cc
mov al, 1
pop esi
pop ebp
ret 8
push eax
push str.message:_socket_error__d___recv___failed.
call fcn.00401000
add esp, 8
xor al, al
pop esi
pop ebp
ret 8

Function at 0x408f90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov edx, dword [ebp + 0xc]
push ebx
test edx, edx
push edi
mov ebx, ecx
je 0x4090b5
cmp byte [edx], 0
je 0x4090b5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jae 0x4090b5
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
cmp eax, ecx
jg 0x408fd3
lea eax, [ecx + 1]
cmp eax, 1
jl 0x40908b
cmp eax, 0x6c
jg 0x40908b
mov dword [ebx + 0x10], eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push esi
lea esi, [ebx + 0x14]
not ecx
sub edi, ecx
mov edx, esi
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x190]
mov dword [ebx + 0x24], eax
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
pop esi
je 0x40903f
push eax
push str.WSAStartup_failed__d_.
call fcn.00401000
add esp, 8
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp word [ebp - 0x190], 2
mov byte [ebx + 0x144], 1
je 0x40907a
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [ebp - 0x190]
and edx, 0xffff
push edx
push str.wsaData_version_unmatch_0x_04X_.
call fcn.00401000
add esp, 8
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
call fcn.00408df0
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x48e4a4
test eax, eax
je 0x4090b5
push 0x33b
push 0x48e1c8
push 0x48e46c
push str.ASSERT
push 0x48c174
call fcn.00401000
add esp, 0x14
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40abf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477acb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x47dab0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x38]
mov dword [ebp - 4], edi
call fcn.0040d4c0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 4], edi
mov dword [esi], 0x47da94
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x410f20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477e9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x2c], edi
lea ebx, [edi + 8]
lea ecx, [ebx + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.004124c0
lea ecx, [ebx + 0x18]
call fcn.004124c0
push esi
mov ecx, ebx
call fcn.00412730
lea ebx, [edi + 0x34]
mov dword [ebp - 4], esi
lea ecx, [ebx + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.004124c0
lea ecx, [ebx + 0x18]
call fcn.004124c0
push esi
mov ecx, ebx
call fcn.00412960
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x70], esi
push 0x20
mov byte [ebp - 4], 1
mov dword [edi], 0x47ddec
call fcn.0046f712
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
cmp ebx, esi
mov byte [ebp - 4], 2
je 0x4110aa
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xd]
lea eax, [ebx + 8]
mov dword [ebx], 0x47ddc4
mov dword [ebp - 0x18], eax
mov byte [eax], cl
mov cl, byte [ebp - 0xd]
mov byte [eax + 2], cl
lea esi, [eax + 4]
xor ecx, ecx
mov byte [eax + 1], dl
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
push 0x64
mov byte [ebp - 4], 3
mov dword [eax + 0x10], ecx
call fcn.004136a0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
sub ecx, edx
add esp, 4
sar ecx, 2
cmp ecx, eax
mov dword [ebp - 0x14], eax
jae 0x411079
mov eax, dword [esi + 4]
mov ecx, eax
push eax
sub ecx, edx
push edx
mov edx, dword [ebp - 0x14]
sar ecx, 2
mov dword [ebp - 0x28], ecx
push edx
mov ecx, esi
call fcn.004124d0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push eax
mov dword [ebp - 0x20], eax
call fcn.00413910
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push edx
call fcn.00417260
mov ecx, dword [esi]
mov eax, dword [esi + 8]
sub eax, ecx
add esp, 0x10
sar eax, 2
je 0x411060
shl eax, 2
push eax
push ecx
call fcn.00405c50
add esp, 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi], eax
lea edx, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], edx
lea edx, [eax + ecx*4]
mov eax, ecx
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov eax, dword [edx + 8]
mov ecx, esi
push eax
mov dword [ebp - 0x28], 0
call fcn.00412af0
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ebx], 0x47dd98
mov byte [ebx + 4], 1
mov dword [ebx + 0x1c], eax
jmp 0x4110ac
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 0x30], 0x61a80
mov byte [edi + 0x68], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411670
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477f33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
jne 0x4116cd
push 0x23
push 0x48ef3c
push str.m_pNpcSet
push str.CHECKF
push 0x48c174
call fcn.00401000
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x5c], 0xa
call fcn.0044a386
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
push str.cq_user
shr eax, 0x1f
lea ecx, [ebp - 0x41c]
add edx, eax
push str.SELECT_id_time_of_life_FROM__s_WHERE_account_id0
push ecx
mov dword [ebx + 0x60], edx
call fcn.00449cf1
mov edx, dword [0x49ff30]
add esp, 0xc
mov ecx, dword [edx + 0x34]
lea edx, [ebp - 0x41c]
push edi
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x41180b
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x74]
cmp dword [ebp - 0x10], eax
jae 0x41180b
push 0xd8
call fcn.0046f712
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x411763
mov ecx, eax
call fcn.0041a9f0
mov edi, eax
jmp 0x411765
xor edi, edi
test edi, edi
mov byte [ebp - 4], 0
je 0x4117ea
mov edx, dword [esi]
push str.time_of_life
mov ecx, esi
call dword [edx + 0x44]
push eax
mov eax, dword [esi]
push 0x48eeec
mov ecx, esi
call dword [eax + 0x44]
push eax
mov ecx, edi
call fcn.0041ac80
test al, al
je 0x4117e3
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 8]
sub edx, 4
cmp eax, edx
mov dword [ebp - 0x14], edi
je 0x4117c7
test eax, eax
je 0x4117ab
mov dword [eax], edi
mov eax, dword [ecx + 0x18]
add eax, 4
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [esi]
inc eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x78]
jmp 0x411730
lea eax, [ebp - 0x14]
push eax
call fcn.004128c0
mov eax, dword [ebp - 0x10]
mov edx, dword [esi]
inc eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x78]
jmp 0x411730
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x41181d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x413f90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [ecx + 4]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x413fc7
push 0x60
push 0x48f160
push str.m_setSyn
push str.CHECKF
push 0x48c174
call fcn.00401000
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret
push esi
push str.cq_syndicate
lea eax, [ebp - 0x404]
push str.SELECT__FROM__s_WHERE_del_flag0
push eax
call fcn.00449cf1
mov ecx, dword [0x49ff30]
add esp, 0xc
lea eax, [ebp - 0x404]
mov ecx, dword [ecx + 0x34]
push 1
push eax
mov edx, dword [ecx]
call dword [edx]
mov esi, eax
test esi, esi
je 0x41405d
mov edx, dword [esi]
push ebx
mov ecx, esi
xor ebx, ebx
call dword [edx + 0x74]
test eax, eax
jbe 0x414055
push edi
call fcn.004143f0
mov edi, eax
test edi, edi
je 0x414041
push esi
mov ecx, edi
call fcn.00413d10
test al, al
je 0x414031
mov eax, dword [ebp - 4]
push edi
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
call dword [edx + 0xc]
jmp 0x414041
mov ecx, edi
call fcn.004140d0
push edi
call fcn.0046f73b
add esp, 4
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0x78]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
cmp ebx, eax
jb 0x41400c
pop edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417410
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov ebx, ecx
jne 0x41746d
push 0x4f
push 0x48f3e8
push str.idMap___ID_NONE
push str.CHECKF
push 0x48c174
call fcn.00401000
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 4]
xor edi, edi
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jle 0x4174a7
mov ecx, dword [ebx + 4]
push edi
mov edx, dword [ecx]
call dword [edx + 8]
mov esi, eax
test esi, esi
je 0x41749a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, dword [ebp + 8]
je 0x417525
mov ecx, dword [ebx + 4]
inc edi
mov edx, dword [ecx]
call dword [edx + 4]
cmp edi, eax
jl 0x41747b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x410]
push eax
push str.cq_dynamap
push str.SELECT__FROM__s_WHERE_id_u__del_flag0_LIMIT_1
push ecx
call fcn.00449cf1
mov edx, dword [0x49ff30]
add esp, 0x10
mov ecx, dword [edx + 0x34]
lea edx, [ebp - 0x410]
push 1
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
mov dword [ebp + 8], esi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x417458
push 0x20
call fcn.0046f712
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, edi
mov byte [ebp - 4], 1
je 0x41750a
mov ecx, eax
call fcn.00425840
mov edi, eax
test edi, edi
mov byte [ebp - 4], 0
jne 0x41753a
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
jmp 0x417458
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x10]
test al, al
jne 0x41757e
push 0x66
push 0x48f3e8
push str.pMap__Create_pRes_
push str.IF_NOT
push 0x48c174
call fcn.00401000
mov eax, dword [edi]
add esp, 0x14
mov ecx, edi
call dword [eax + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
jmp 0x417458
mov ecx, dword [ebx + 4]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4188e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041a800
xor edi, edi
mov dword [esi + 8], 0x47e264
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
push 0xc
mov byte [ebp - 4], 1
mov dword [esi], 0x47e24c
mov dword [esi + 8], 0x47e21c
mov dword [esi + 4], 0x1800000
call fcn.0046f712
add esp, 4
cmp eax, edi
je 0x41894b
mov dword [eax], 0x47e1c8
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x41894d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41e820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ad8
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 [ebp - 0x10], esi
call fcn.0041a800
lea eax, [esi + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [eax], 0x47e610
mov byte [esi + 0xc], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov ecx, 1
lea edi, [esi + 0x48]
xor edx, edx
mov dword [esi], 0x47e5f4
mov dword [eax], 0x47e550
mov dword [esi + 4], 0x100040
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [edi], edx
mov byte [ebp - 4], 5
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
mov edi, esi
neg edi
sbb edi, edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x70], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x90], cl
mov dword [esi + 0x94], ebx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x84], bl
and edi, eax
cmp dword [esi + 0x20], ebx
jne 0x41e912
cmp edi, ebx
jne 0x41e930
push 0x23
push str.....commonAutoLink.h
push str._IsValid____pOwner
push str.ASSERT
push 0x48c174
call fcn.00401000
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x100], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret