Function at 0x4044c0
Capabilities:
Check if file exists
Create udp socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x4a64d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c8]
mov ebp, dword [esp + 0x2c4]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
call fcn.00401ff0
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0x2c0], ebx
call fcn.00403f60
add esp, 4
test al, al
je 0x404b40
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov edx, dword [esp + 0xb0]
add edx, 0xffffffff
cmp edx, 0xfe
mov byte [esp + 0x2bc], 1
ja 0x4045cc
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x70]
call fcn.00403af0
mov edi, dword [esp + 0x78]
cmp edi, ebx
jbe 0x4045cc
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x20], 0x5c
call fcn.004029d0
cmp eax, 0xffffffff
je 0x4045cc
cmp eax, edi
jae 0x4045cc
mov ecx, edi
sub ecx, eax
je 0x4045cc
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403360
push esi
push str.dialConfig.ini
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00403cd0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c8], 2
call fcn.00403bd0
mov edi, 0x10
cmp dword [esp + 0x60], edi
mov byte [esp + 0x2bc], 1
jb 0x404620
mov eax, dword [esp + 0x4c]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x7c], edi
mov eax, dword [esp + 0x68]
jae 0x40462e
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x404b2b
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x88]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x2e4], 3
mov byte [ecx + 4], bl
call fcn.00403af0
lea ecx, [esp + 0x64]
call fcn.0046f230
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xb
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.serviceinfo
mov byte [esp + 0x2fc], 4
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 8
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.userinfo
mov byte [esp + 0x318], 5
mov byte [ecx + 4], bl
call fcn.00403cd0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x314], 3
call fcn.0046f2c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [esp + 0x2e0], 6
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xa
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.servertime
mov byte [esp + 0x2fc], 7
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov byte [esp + 0x310], 8
mov dword [esp + 0x70], esp
mov ecx, esp
push 8
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.userinfo
mov byte [ecx + 4], bl
call fcn.00403cd0
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x314], 6
call fcn.0046f2c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [esp + 0x2e0], 9
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.localtime
mov byte [esp + 0x2fc], 0xa
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 8
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.userinfo
mov byte [esp + 0x318], 0xb
mov byte [ecx + 4], bl
call fcn.00403cd0
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x314], 9
call fcn.0046f2c0
cmp dword [eax + 0x18], edi
jb 0x404826
mov eax, dword [eax + 4]
jmp 0x404829
add eax, 4
push eax
call fcn.0047c75b
cdq
add esp, 4
cmp dword [esp + 0xec], edi
mov ebp, eax
mov dword [esp + 0xbc], edx
jb 0x404855
mov eax, dword [esp + 0xd8]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x94], 3
jbe 0x404ab8
push 1
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x20], 0x2f
call fcn.00402910
mov edi, eax
cmp edi, 0xffffffff
je 0x404ab3
cmp edi, dword [esp + 0x94]
jae 0x404ab3
push edi
push ebx
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x8c]
call fcn.00403f20
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
push 1
add edi, 1
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2c8], 0xd
mov byte [esp + 0x20], 0x2f
call fcn.00402910
cmp eax, 0xffffffff
je 0x40493e
cmp eax, ebx
jbe 0x40493e
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jae 0x40493e
sub ecx, eax
push ecx
add eax, 1
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.00403f20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x2c8], 0xe
call fcn.00403af0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2bc], 0xd
call fcn.004039b0
cmp dword [esp + 0xec], 0x10
mov eax, dword [esp + 0xd8]
jae 0x404956
lea eax, [esp + 0xd8]
push eax
call fcn.0047c75b
add esp, 4
cmp eax, 6
ja case.0x404964.1
jmp dword [eax*4 + 0x404ce0]
lea edx, [esp + 0xb8]
push edx
call fcn.0047d0f4
mov eax, dword [esp + 0xbc]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cdq
mov edi, eax
lea eax, [esp + 0xf4]
push eax
mov ebp, edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00404120
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
add esp, 0x20
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00401e60
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00404120
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401e60
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x44]
push ebx
sub edx, edi
push 0x3c
sbb eax, ebp
push eax
push edx
call fcn.0047c030
cmp edx, ebx
jg 0x404a97
jl 0x404a91
cmp eax, ebx
jae 0x404a97
mov dword [esp + 0x24], ebx
jmp case.0x404964.0
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10c]
call fcn.004039b0
lea ecx, [esp + 0xd4]
call fcn.004039b0
mov edi, 0x10
cmp dword [esp + 0x108], edi
jb 0x404ad1
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x98], edi
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x404aff
mov edx, dword [esp + 0x84]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x404b27
mov eax, dword [esp + 0x4c]
push eax
call fcn.0047b89c
add esp, 4
mov ebp, dword [esp + 0x34]
cmp dword [esp + 0x7c], edi
jb 0x404b45
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047b89c
add esp, 4
jmp 0x404b45
mov edi, 0x10
push str.tq.xunyou.com
call fcn.00401f80
add esp, 4
cmp eax, ebx
je 0x404c9d
push 0x2346
mov word [esp + 0xbc], 2
mov dword [esp + 0xc0], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x11
push 2
push 2
mov word [esp + 0xc6], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x404c8a
push 0x188
lea eax, [esp + 0x12c]
push ebx
push eax
call fcn.0047c790
mov dl, byte [esp + 0x48]
mov al, byte [esp + 0x2d8]
add esp, 0xc
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x128], 0x188
setne cl
cmp ebp, ebx
mov byte [esp + 0x12c], 4
mov byte [esp + 0x12e], cl
mov byte [esp + 0x12d], dl
mov byte [esp + 0x12f], al
je 0x404c24
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404bf0
sub eax, edx
cmp eax, 0x80
jae 0x404c24
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404c07
sub eax, edx
push eax
lea ecx, [esp + 0x134]
push ebp
push ecx
call fcn.0047c3d0
add esp, 0xc
mov ebp, dword [esp + 0x38]
cmp ebp, ebx
je 0x404c65
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404c31
sub eax, edx
cmp eax, 0x100
jae 0x404c65
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404c48
sub eax, edx
push eax
lea edx, [esp + 0x1b4]
push ebp
push edx
call fcn.0047c3d0
add esp, 0xc
push edi
lea eax, [esp + 0xbc]
push eax
push ebx
push 0x188
lea ecx, [esp + 0x138]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0xb4], edi
jb 0x404cb6
mov edx, dword [esp + 0xa0]
push edx
jmp 0x404cae
cmp dword [esp + 0xb4], edi
jb 0x404cb6
mov eax, dword [esp + 0xa0]
push eax
call fcn.0047b89c
add esp, 4
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.0047b88d
add esp, 0x2ac
ret