Function at 0x456180
Capabilities:
Check http status code
Create thread
Create udp socket
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x5d6a27
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004d8fd9
mov ecx, dword [eax + 4]
call fcn.004d436d
or edi, 0xffffffff
mov dword [esp + 0xb0], 0
cmp dword [esi + 0x44], edi
je 0x4561e9
mov dword [esp + 0xb0], edi
jmp 0x456c9c
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x4562c2
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45621a
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x572
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb8], 1
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 2
call fcn.00404ec0
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45627a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push 0
push 0
push esi
call fcn.004d60f9
lea eax, [esi - 0x10]
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4562ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0xb0], edi
call fcn.00405e40
xor eax, eax
jmp 0x456caa
push 0
call dword [sym.imp.WS2_32.dll_htonl]
cmp word [esi + 0x96], 0
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x78], eax
mov word [esp + 0x74], 2
jne 0x4562f3
push 0x62b5a8
call ebp
mov word [esi + 0x96], ax
movzx ecx, word [esi + 0x96]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push ecx
call ebx
mov word [esp + 0x76], ax
xor edi, edi
lea ebx, [ebx]
mov eax, dword [esi + 0x40]
push 0x10
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x456346
push 0x62b5a8
call ebp
push eax
mov word [esi + 0x96], ax
call ebx
add edi, 1
cmp edi, 3
mov word [esp + 0x76], ax
jl 0x456310
jmp 0x45634b
cmp edi, 3
jl 0x4563bb
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
or edi, 0xffffffff
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456375
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x572
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb8], 3
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 4
call fcn.00404ec0
mov byte [esp + 0xb0], 3
jmp 0x45625b
call fcn.004abc80
or edi, 0xffffffff
cmp eax, edi
mov dword [esi + 0x44], eax
jne 0x456437
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4563f1
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x572
lea ecx, [esp + 0x20]
mov bl, 5
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 6
call fcn.00404ec0
mov byte [esp + 0xb0], bl
jmp 0x45625b
push 4
call fcn.004d3feb
add esp, 4
test eax, eax
je 0x45644f
mov dword [eax], 0x41c
mov ecx, eax
jmp 0x456451
xor ecx, ecx
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac370
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
add esp, 4
push esi
push eax
mov ecx, 0x4560c0
call fcn.004abeb0
add esp, 8
cmp eax, edi
jne 0x4564f2
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov ecx, dword [esi + 0x40]
add esp, 4
push ecx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4564ac
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x572
lea ecx, [esp + 0x20]
mov bl, 7
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 8
call fcn.00404ec0
mov byte [esp + 0xb0], bl
jmp 0x45625b
cmp dword [esi + 0x84], 0
je 0x456aee
mov ebp, dword [0x647fdc]
xor edi, edi
mov byte [esi + 0x94], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebp
lea ebx, [ebx]
push 0xf61b
mov word [esp + 0x68], 2
call ebx
mov word [esp + 0x66], ax
mov eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x68], eax
jne 0x456570
mov eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x456891
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004ffc50
add esp, 0xc
mov edx, dword [esi + 0x38]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esi + 0x98], edi
mov word [esi + 0x9c], di
mov word [esi + 0x9e], di
mov byte [esp + 0x1b], 1
mov dword [esp + 0x3c], edi
mov word [esp + 0x40], 0x28
mov dword [esp + 0x44], edx
mov word [esp + 0x42], 0x271f
mov dword [esp + 0x48], 0xfed8d0e6
mov eax, 3
jmp 0x4565e0
movzx ecx, byte [esp + eax + 0x3c]
add dword [esp + 0x3c], ecx
add eax, 1
cmp eax, 0x28
jb 0x4565e0
mov ecx, dword [esi + 0x40]
push 0x10
lea edx, [esp + 0x68]
push edx
push edi
push 0x28
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x456a80
cmp eax, edi
je 0x456a80
xor edi, edi
lea ecx, [ecx]
cmp byte [esi + 0x94], 0
jne 0x45663e
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 0xc8
jl 0x456620
jmp 0x45664d
cmp edi, 0xc8
mov byte [esi + 0x94], 0
jl 0x456668
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, 3
mov dword [esp + 0x20], eax
jg 0x456970
xor edi, edi
jmp 0x456520
movzx edx, word [ebp + 0xd0]
xor edi, edi
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0x74], ax
mov ecx, dword [ebp + 0xcc]
mov dword [esi + 0x70], ecx
mov word [esp + 0x2c], 2
push eax
call ebx
mov edx, dword [esi + 0x70]
mov word [esp + 0x2e], ax
mov dword [esp + 0x30], edx
mov word [esp + 0x42], 0x2720
mov dword [esp + 0x3c], edi
mov eax, 3
nop
movzx ecx, byte [esp + eax + 0x3c]
add dword [esp + 0x3c], ecx
add eax, 1
cmp eax, 0x28
jb 0x4566b0
mov ecx, dword [esi + 0x40]
push 0x10
lea edx, [esp + 0x30]
push edx
push edi
mov edi, dword [sym.imp.WS2_32.dll_sendto]
push 0x28
lea eax, [esp + 0x4c]
push eax
push ecx
call edi
mov ecx, dword [esi + 0x40]
push 0x10
lea edx, [esp + 0x30]
push edx
push 0
push 0x28
lea eax, [esp + 0x4c]
push eax
push ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call ebp
mov ecx, dword [esi + 0x40]
push 0x10
lea edx, [esp + 0x30]
push edx
push 0
push 0x28
lea eax, [esp + 0x4c]
push eax
push ecx
call edi
push 0x12c
call ebp
mov eax, dword [esi + 0x98]
test eax, eax
je 0x456742
mov dword [esi + 0x70], eax
mov dword [esp + 0x30], eax
movzx eax, word [esi + 0x9c]
push eax
mov word [esi + 0x74], ax
call ebx
mov word [esp + 0x2e], ax
jmp 0x4567a3
movzx eax, word [esi + 0x9e]
test ax, ax
je 0x4567a8
mov edx, dword [esi + 0x70]
mov byte [esp + 0x1b], 0x62
mov word [esp + 0x84], 2
mov dword [esp + 0x88], edx
movzx ebp, ax
mov edi, 1
nop
lea eax, [edi + ebp]
push eax
call ebx
push 0x10
lea ecx, [esp + 0x88]
push ecx
push 0
push 1
lea edx, [esp + 0x2b]
mov word [esp + 0x96], ax
mov eax, dword [esi + 0x40]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
add edi, 1
cmp edi, 0x65
jl 0x456770
mov byte [esp + 0x1b], 0
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.004ac180
add esp, 8
cmp eax, 0xffffffff
jne 0x456bae
cmp byte [esp + 0x1b], 0
je 0x456829
movzx eax, word [esi + 0x9e]
test ax, ax
je 0x456829
mov edx, dword [esi + 0x70]
mov byte [esp + 0x1b], 0x62
mov word [esp + 0x94], 2
mov dword [esp + 0x98], edx
movzx ebp, ax
mov edi, 1
lea eax, [edi + ebp]
push eax
call ebx
push 0x10
lea ecx, [esp + 0x98]
push ecx
push 0
push 1
lea edx, [esp + 0x2b]
mov word [esp + 0xa6], ax
mov eax, dword [esi + 0x40]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
add edi, 1
cmp edi, 0x65
jl 0x4567f6
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x98]
test eax, eax
je 0x456858
mov dword [esi + 0x70], eax
mov dword [esp + 0x30], eax
movzx eax, word [esi + 0x9c]
push eax
mov word [esi + 0x74], ax
call ebx
mov word [esp + 0x2e], ax
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.004ac180
add esp, 8
cmp eax, 0xffffffff
jne 0x456bae
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 1
mov dword [esp + 0x1c], eax
jge 0x456a12
mov ebp, dword [esp + 0x24]
xor edi, edi
jmp 0x456520
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov edx, dword [esi + 0x40]
add esp, 4
or ebp, 0xffffffff
push edx
mov dword [esi + 0x44], ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], ebp
call fcn.004d4cf7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4568ca
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x573
lea ecx, [esp + 0x28]
mov bl, 9
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
mov byte [esp + 0xb0], 0xa
push eax
lea ecx, [esp + 0x20]
call fcn.00404ec0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov ecx, ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45692a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push edi
push edi
push esi
call fcn.004d60f9
lea eax, [esi - 0x10]
mov byte [esp + 0xb0], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0xb0], ebp
call fcn.00405e40
xor eax, eax
jmp 0x456caa
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov ecx, dword [esi + 0x40]
add esp, 4
or edi, 0xffffffff
push ecx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4569a9
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x573
lea ecx, [esp + 0x28]
mov bl, 0xd
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
mov byte [esp + 0xb0], 0xe
push eax
lea ecx, [esp + 0x20]
call fcn.00404ec0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456a09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
jmp 0x45627e
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov ecx, dword [esi + 0x40]
add esp, 4
or edi, 0xffffffff
push ecx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456a4b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x573
lea ecx, [esp + 0x28]
mov bl, 0xf
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
mov byte [esp + 0xb0], 0x10
jmp 0x4569d9
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov ecx, dword [esi + 0x40]
add esp, 4
or ebp, 0xffffffff
push ecx
mov dword [esi + 0x44], ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], ebp
call fcn.004d4cf7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x456ab9
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x573
lea ecx, [esp + 0x28]
mov bl, 0xb
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
mov byte [esp + 0xb0], 0xc
jmp 0x4568fa
movzx ecx, word [esi + 0x74]
push ecx
mov word [esp + 0x30], 2
call ebx
mov edx, dword [esi + 0x70]
lea ecx, [esp + 0x2c]
mov word [esp + 0x2e], ax
mov eax, dword [esi + 0x44]
push ecx
push eax
mov dword [esp + 0x38], edx
call fcn.004ac180
add esp, 8
cmp eax, edi
jne 0x456bae
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov edx, dword [esi + 0x40]
add esp, 4
push edx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x20]
mov dword [esi + 0x40], edi
call fcn.00404bf0
push 0x573
lea eax, [esp + 0x28]
mov bl, 0x11
push eax
mov byte [esp + 0xb8], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0x12
call fcn.00404ec0
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], bl
call fcn.00404ea0
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
call fcn.004d60f9
lea ecx, [esp + 0x20]
call fcn.00404ea0
lea ecx, [esp + 0x1b]
mov dword [esp + 0xb0], edi
call fcn.00405e40
xor eax, eax
jmp 0x456caa
push esi
call fcn.004559f0
test eax, eax
jne 0x456c3f
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov edx, dword [esi + 0x40]
add esp, 4
or edi, 0xffffffff
push edx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], edi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456bf5
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x5e3
lea ecx, [esp + 0x2c]
mov bl, 0x13
push ecx
mov byte [esp + 0xb8], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 0x14
call fcn.00404ec0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x28]
jmp 0x4569ee
push 0
push 0
push esi
push 0x456d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x456c8a
mov eax, dword [esi + 0x44]
push eax
call fcn.004ac2a0
mov ecx, dword [esi + 0x40]
add esp, 4
or edi, 0xffffffff
push ecx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x1b]
mov dword [esi + 0x40], edi
mov dword [esp + 0xb0], edi
call fcn.00405e40
xor eax, eax
jmp 0x456caa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x1b]
call fcn.00405e40
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004f2a78
add esp, 0xa0
ret