Function at 0x40c5f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Download and write a file
Initialize winsock library
Receive and write data from server to client
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453783
mov eax, dword fs:[0]
push eax
sub esp, 0x770
mov eax, dword [0x4668f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 3
mov esi, dword [ebp + 0x28]
mov ebx, 0x10
cmp dword [ebp + 0x3c], ebx
jae 0x40c63a
lea esi, [ebp + 0x28]
push edi
push esi
call fcn.0045056f
add esp, 8
cmp eax, 0xffffffff
je 0x40c69e
cmp dword [ebp + 0x20], ebx
jb 0x40c65a
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434321
add esp, 4
mov esi, 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], esi
cmp dword [ebp + 0x3c], ebx
jb 0x40c67a
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], edi
mov byte [ebp + 0x28], 0
cmp dword [ebp + 0x58], ebx
jb 0x40cb12
mov edx, dword [ebp + 0x44]
push edx
call fcn.00434321
add esp, 4
jmp 0x40cb12
push 0x45bff8
push esi
call fcn.00435de6
add esp, 8
mov dword [ebp - 0x710], eax
cmp eax, edi
je 0x40c649
push edi
mov esi, 0xf
push 0x45b404
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x478], edi
mov byte [ebp - 0x488], 0
call fcn.0042d2b0
mov byte [ebp - 4], 4
push 1
push 0x45b994
lea ecx, [ebp - 0x534]
mov dword [ebp - 0x51c], esi
mov dword [ebp - 0x520], edi
mov byte [ebp - 0x530], 0
call fcn.0042d2b0
mov byte [ebp - 4], 5
push 2
push 0x45bf50
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 0x4b0], edi
mov byte [ebp - 0x4c0], 0
call fcn.0042d2b0
push 7
push str.http:__
lea eax, [ebp + 8]
mov bl, 6
push eax
mov byte [ebp - 4], bl
lea edi, [esi + 0x41]
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40c78d
lea ecx, [esi - 8]
push 0xffffffffffffffff
lea esi, [ebp - 0x72c]
lea edx, [ebp + 8]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.0042bf10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x714], 0x10
jb 0x40c78d
mov ecx, dword [ebp - 0x728]
push ecx
call fcn.00434321
add esp, 4
push 0xffffffffffffffff
push 0
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x48c]
call fcn.0042bf10
push 1
push 0x45b994
lea eax, [ebp - 0x48c]
push eax
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40c863
push 1
push 0x45b994
lea ecx, [ebp + 8]
push ecx
call fcn.0042c190
push eax
xor ecx, ecx
lea esi, [ebp - 0x72c]
lea edx, [ebp + 8]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 8
call fcn.0042bf10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x714], 0x10
jb 0x40c80c
mov edx, dword [ebp - 0x728]
push edx
call fcn.00434321
add esp, 4
push 1
push 0x45b994
lea eax, [ebp + 8]
push eax
call fcn.0042c190
push 0xffffffffffffffff
mov ecx, eax
lea esi, [ebp - 0x72c]
lea edx, [ebp + 8]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x534]
mov byte [ebp - 4], 9
call fcn.0042bf10
mov esi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x714], esi
jb 0x40c868
mov ecx, dword [ebp - 0x728]
push ecx
call fcn.00434321
add esp, 4
jmp 0x40c868
mov esi, 0x10
push 1
push 0x45bc24
lea edx, [ebp - 0x48c]
push edx
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40c959
push 1
push 0x45bc24
lea eax, [ebp - 0x48c]
push eax
call fcn.0042c190
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x72c]
lea edx, [ebp - 0x48c]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0xa
call fcn.0042bf10
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x714], edi
jb 0x40c8e0
mov ecx, dword [ebp - 0x728]
push ecx
call fcn.00434321
add esp, 4
push 1
push 0x45bc24
lea edx, [ebp - 0x48c]
push edx
call fcn.0042c190
push eax
xor ecx, ecx
lea esi, [ebp - 0x72c]
lea edx, [ebp - 0x48c]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0xb
call fcn.0042bf10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x714], edi
jb 0x40c935
mov eax, dword [ebp - 0x728]
push eax
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x4c0]
cmp dword [ebp - 0x4ac], edi
jae 0x40c949
lea eax, [ebp - 0x4c0]
push eax
call fcn.00435329
add esp, 4
mov edi, eax
mov esi, 0x10
cmp dword [ebp - 0x474], esi
jb 0x40c96f
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x700], ecx
jmp 0x40c97b
lea edx, [ebp - 0x488]
mov dword [ebp - 0x700], edx
cmp dword [ebp - 0x51c], esi
jb 0x40c991
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x754], eax
jmp 0x40c99d
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x754], ecx
cmp dword [ebp + 0x58], esi
jb 0x40c9ad
mov edx, dword [ebp + 0x44]
mov dword [ebp - 0x750], edx
jmp 0x40c9b6
lea eax, [ebp + 0x44]
mov dword [ebp - 0x750], eax
mov eax, dword [0x468da8]
mov esi, dword [ebp - 0x700]
mov ebx, 0x10
test eax, eax
je 0x40c9df
mov esi, dword [0x467adc]
cmp dword [0x467af0], ebx
jae 0x40c9dd
mov esi, 0x467adc
mov edi, eax
lea ecx, [ebp - 0x6f4]
push ecx
push 0x101
call sub.WS2_32.dll_WSAStartup
push esi
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x40caae
mov edx, dword [ebp - 0x710]
push edx
call fcn.004376a7
add esp, 4
cmp dword [ebp - 0x4ac], ebx
jb 0x40ca26
mov eax, dword [ebp - 0x4c0]
push eax
call fcn.00434321
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 0x4b0], edi
mov byte [ebp - 0x4c0], 0
cmp dword [ebp - 0x51c], ebx
jb 0x40ca57
mov ecx, dword [ebp - 0x530]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x51c], esi
mov dword [ebp - 0x520], edi
mov byte [ebp - 0x530], 0
cmp dword [ebp - 0x474], ebx
jb 0x40ca81
mov edx, dword [ebp - 0x488]
push edx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x478], edi
mov byte [ebp - 0x488], 0
cmp dword [ebp + 0x20], ebx
jb 0x40c65f
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434321
add esp, 4
jmp 0x40c65f
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x704], eax
test eax, eax
jne 0x40cb2e
mov eax, dword [ebp - 0x710]
push eax
call fcn.004376a7
add esp, 4
push 0
call sub.WS2_32.dll_closesocket
lea ecx, [ebp - 0x4c4]
call fcn.0042b520
lea ecx, [ebp - 0x534]
call fcn.0042b520
lea ecx, [ebp - 0x48c]
call fcn.0042b520
lea ecx, [ebp + 8]
call fcn.0042b520
lea ecx, [ebp + 0x24]
call fcn.0042b520
lea ecx, [ebp + 0x40]
call fcn.0042b520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043432c
mov esp, ebp
pop ebp
ret
mov ecx, 2
mov word [ebp - 0x560], cx
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax]
mov byte [ebp - 0x55c], cl
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 1]
mov byte [ebp - 0x55b], cl
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 2]
mov byte [ebp - 0x55a], cl
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 3]
push edi
mov byte [ebp - 0x559], cl
call sub.WS2_32.dll_htons
push ebx
lea edx, [ebp - 0x560]
mov word [ebp - 0x55e], ax
mov eax, dword [ebp - 0x704]
push edx
push eax
call sub.WS2_32.dll_connect
push 0x45b404
lea ecx, [ebp - 0x550]
call fcn.0042b4b0
push 0x400
mov byte [ebp - 4], 0xc
call fcn.00432f0b
add esp, 4
push 0x45b404
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x70c], eax
mov byte [eax], 0
mov dword [ebp - 0x708], eax
mov dword [ebp - 0x74c], 0
call fcn.0042b4b0
push 0x45bb38
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0xd
call fcn.0042b4b0
push 0x45b520
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 0xe
call fcn.0042b4b0
push str._r_n_r_n
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xf
call fcn.0042b4b0
push 0x45bf74
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0x10
call fcn.0042b4b0
push str.content_length:
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 0x11
call fcn.0042b4b0
mov byte [ebp - 4], 0x12
cmp dword [0x468da8], 0
je 0x40d125
lea eax, [ebp - 0x41c]
mov byte [ebp - 0x41c], 0
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cc63
mov ecx, dword [str.CONNECT]
mov edx, dword [0x45bf90]
mov dword [eax], ecx
mov cl, byte [0x45bf94]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
mov eax, dword [ebp - 0x700]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40cc90
lea edi, [ebp - 0x41c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40cca2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x41c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40ccc0
mov dx, word [0x45bc24]
mov eax, dword [ebp - 0x4c0]
mov word [edi], dx
cmp dword [ebp - 0x4ac], ebx
jae 0x40cce6
lea eax, [ebp - 0x4c0]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cce8
lea edi, [ebp - 0x41c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40ccf8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x41c]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40cd17
mov ecx, dword [str._HTTP_1.1_n_n]
mov edx, dword [0x45bf9c]
mov dword [eax], ecx
mov ecx, dword [0x45bfa0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cd42
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x704]
lea edx, [ebp - 0x41c]
push edx
push eax
call sub.WS2_32.dll_send
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cd70
sub eax, edx
add dword [0x468dcc], eax
push 0x45b404
lea ecx, [ebp - 0x550]
call fcn.0042bff0
mov ecx, dword [ebp - 0x70c]
mov byte [ecx], 0
push 0x45b404
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x6fc], 1
xor esi, esi
call fcn.0042bff0
push 0x45bb38
lea ecx, [ebp - 0x4e0]
call fcn.0042bff0
push 0x45b520
lea ecx, [ebp - 0x518]
call fcn.0042bff0
push str._r_n_r_n
lea ecx, [ebp - 0x470]
call fcn.0042bff0
push 0x45bf74
lea ecx, [ebp - 0x4a8]
call fcn.0042bff0
push str.content_length:
lea ecx, [ebp - 0x4fc]
call fcn.0042bff0
cmp dword [ebp - 0x6fc], 0
jle 0x40d125
mov edx, dword [ebp - 0x708]
mov eax, dword [ebp - 0x704]
push 0
push 4
push edx
push eax
call sub.WS2_32.dll_recv
add dword [0x468dcc], eax
add esi, eax
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x6f8], esi
test eax, eax
jle 0x40ce04
mov ecx, dword [ebp - 0x70c]
push ecx
lea ecx, [ebp - 0x748]
call fcn.0042b4b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x13
call fcn.0042bf10
lea ecx, [ebp - 0x748]
mov byte [ebp - 4], 0x12
call fcn.0042b520
push esi
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x14
call fcn.0042bf10
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0042b520
lea edx, [ebp - 0x774]
push edx
lea ecx, [ebp - 0x438]
call fcn.0042b580
lea ebx, [ebp - 0x76c]
lea edi, [ebp - 0x438]
mov esi, eax
call fcn.0042b5e0
mov edi, eax
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x438]
call fcn.0042b580
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x75c]
push fcn.00435a41
push eax
call fcn.0042f2f0
add esp, 0x20
lea ecx, [ebp - 0x438]
push ecx
lea eax, [ebp - 0x470]
call fcn.0042b660
cmp eax, 0xffffffff
jne 0x40cf4f
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x4a8]
call fcn.0042b660
cmp eax, 0xffffffff
jne 0x40cf4f
mov eax, dword [ebp - 0x6fc]
add dword [ebp - 0x708], eax
mov esi, dword [ebp - 0x6f8]
jmp 0x40ce04
lea ecx, [ebp - 0x438]
push ecx
lea eax, [ebp - 0x470]
call fcn.0042b660
push 0xffffffffffffffff
cmp eax, 0xffffffff
je 0x40cf9b
mov esi, dword [ebp - 0x45c]
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x470]
call fcn.0042b660
mov ecx, eax
add ecx, esi
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
mov byte [ebp - 4], 0x15
jmp 0x40cfcc
mov esi, dword [ebp - 0x494]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x4a8]
call fcn.0042b660
mov ecx, eax
add ecx, esi
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
mov byte [ebp - 4], 0x16
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x550]
call fcn.0042bf10
lea ecx, [ebp - 0x748]
mov byte [ebp - 4], 0x12
call fcn.0042b520
lea ecx, [ebp - 0x438]
push ecx
lea eax, [ebp - 0x4fc]
call fcn.0042b660
test eax, eax
je 0x40d125
mov esi, dword [ebp - 0x4e8]
push 0xffffffffffffffff
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x4fc]
call fcn.0042b660
mov ecx, eax
add ecx, esi
lea esi, [ebp - 0x454]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
mov eax, esi
push eax
mov bl, 0x17
lea eax, [ebp - 0x518]
mov byte [ebp - 4], bl
call fcn.0042b660
cmp eax, 0xffffffff
je 0x40d098
mov esi, dword [ebp - 0x504]
lea ecx, [ebp - 0x454]
push ecx
lea eax, [ebp - 0x518]
call fcn.0042b660
add eax, esi
push eax
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x454]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x18
call fcn.0042bf10
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0042b520
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x4e0]
call fcn.0042b660
cmp eax, 0xffffffff
je 0x40d0f8
mov esi, dword [ebp - 0x4cc]
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x4e0]
call fcn.0042b660
add eax, esi
push eax
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x454]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x19
call fcn.0042bf10
mov ecx, esi
call fcn.0042b520
cmp dword [ebp - 0x43c], 0x10
mov eax, dword [ebp - 0x450]
jae 0x40d10d
lea eax, [ebp - 0x450]
push eax
call fcn.00435329
add esp, 4
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x12
call fcn.0042b520
call fcn.00403af0
mov ecx, dword [str.GET]
mov dl, byte [0x45bfa8]
mov ebx, eax
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x41c], ecx
mov byte [ebp - 0x418], dl
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d150
lea edi, [ebp - 0x41c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d162
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x41c]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d180
mov ecx, dword [str._HTTP_1.1_n]
mov edx, dword [0x45bfb0]
mov dword [eax], ecx
mov cx, word [0x45bfb4]
mov dword [eax + 4], edx
mov dl, byte [0x45bfb6]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [ebp - 0x41c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d1b4
mov ecx, dword [str.User_Agent:]
mov edx, dword [0x45bfbc]
mov dword [eax], ecx
mov ecx, dword [0x45bfc0]
mov dword [eax + 4], edx
mov dl, byte [0x45bfc4]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
mov eax, dword [ebp - 0x750]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d1e7
lea edi, [ebp - 0x41c]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d200
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x41c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d220
mov dx, word [0x45bb38]
lea eax, [ebp - 0x41c]
mov word [edi], dx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d240
mov ecx, dword [str.unicode:]
mov dword [eax], ecx
mov ecx, dword [0x45bfcc]
mov dword [eax + 4], ecx
mov cx, word [0x45bfd0]
lea edi, [ebp - 0x41c]
mov word [eax + 8], cx
dec edi
jmp 0x40d270
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d270
mov ax, word [0x45b410]
mov word [edi], ax
lea edi, [ebp - 0x41c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d288
lea eax, [ebp - 0x41c]
mov word [edi], dx
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d2a0
mov ecx, dword [str.ticks:]
mov edx, dword [0x45bfd8]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x72c]
push ebx
push eax
call fcn.004027f0
add esp, 8
cmp dword [eax + 0x18], 0x10
jb 0x40d2d4
mov eax, dword [eax + 4]
jmp 0x40d2d7
add eax, 4
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d2e0
lea edi, [ebp - 0x41c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d2f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp - 0x714], 0x10
rep movsb byte es:[edi], byte [esi]
jb 0x40d320
mov ecx, dword [ebp - 0x728]
push ecx
call fcn.00434321
add esp, 4
lea edi, [ebp - 0x41c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d327
mov dx, word [0x45bb38]
lea eax, [ebp - 0x41c]
mov word [edi], dx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d340
mov ecx, dword [str.hash:]
mov dx, word [0x45bfe0]
mov dword [eax], ecx
mov cl, byte [0x45bfe2]
mov word [eax + 4], dx
push 4
lea edx, [ebp - 0x748]
push ebx
push edx
mov byte [eax + 6], cl
call fcn.004027f0
add esp, 8
push 5
xor ecx, ecx
lea esi, [ebp - 0x72c]
mov edx, eax
mov byte [ebp - 4], 0x1a
call fcn.0042b6b0
mov esi, 0x10
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x18], esi
jb 0x40d39e
mov eax, dword [eax + 4]
jmp 0x40d3a1
add eax, 4
push eax
call fcn.00435329
add esp, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x750], esp
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x40]
mov ebx, 0xf
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.0042bf10
lea ecx, [ebp - 0x454]
call fcn.00409f10
add esp, 0x24
cmp dword [eax + 0x18], esi
jb 0x40d3ee
mov eax, dword [eax + 4]
jmp 0x40d3f1
add eax, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d3f3
lea edi, [ebp - 0x41c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d403
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp - 0x43c], 0x10
rep movsb byte es:[edi], byte [esi]
jb 0x40d433
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.00434321
add esp, 4
xor edi, edi
mov esi, 0x10
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x440], edi
mov byte [ebp - 0x450], 0
cmp dword [ebp - 0x714], esi
jb 0x40d464
mov edx, dword [ebp - 0x728]
push edx
call fcn.00434321
add esp, 4
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x714], ebx
mov dword [ebp - 0x718], edi
mov byte [ebp - 0x728], 0
cmp dword [ebp - 0x730], esi
jb 0x40d492
mov eax, dword [ebp - 0x744]
push eax
call fcn.00434321
add esp, 4
lea edi, [ebp - 0x41c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d4a0
mov cx, word [0x45bb38]
lea eax, [ebp - 0x41c]
mov word [edi], cx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d4c0
mov edx, dword [str.Host:]
mov cx, word [0x45bfe8]
mov dword [eax], edx
mov dl, byte [0x45bfea]
mov word [eax + 4], cx
mov byte [eax + 6], dl
mov eax, dword [ebp - 0x700]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d4f0
lea edi, [ebp - 0x41c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40d502
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x41c]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40d520
mov cx, word [0x45bf74]
mov dl, byte [0x45bf76]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d544
mov ecx, dword [ebp - 0x704]
xor edi, edi
push edi
sub eax, edx
push eax
lea eax, [ebp - 0x41c]
push eax
push ecx
call sub.WS2_32.dll_send
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d570
push edi
sub eax, edx
add dword [0x468dcc], eax
push 0x45b404
lea ecx, [ebp - 0x550]
call fcn.0042d2b0
mov edx, dword [ebp - 0x70c]
push edi
mov esi, 1
push 0x45b404
lea ecx, [ebp - 0x438]
mov byte [edx], 0
mov dword [ebp - 0x6fc], esi
mov dword [ebp - 0x6f8], edi
mov dword [ebp - 0x700], edi
call fcn.0042d2b0
push esi
push 0x45bb38
lea ecx, [ebp - 0x4e0]
call fcn.0042d2b0
push 2
push 0x45b520
lea ecx, [ebp - 0x518]
call fcn.0042d2b0
push 4
push str._r_n_r_n
lea ecx, [ebp - 0x470]
call fcn.0042d2b0
push 2
push 0x45bf74
lea ecx, [ebp - 0x4a8]
call fcn.0042d2b0
push 0x10
push str.content_length:
lea ecx, [ebp - 0x4fc]
call fcn.0042d2b0
test esi, esi
jle 0x40db9a
mov eax, dword [ebp - 0x708]
mov ecx, dword [ebp - 0x704]
push 0
push 4
push eax
push ecx
call sub.WS2_32.dll_recv
mov esi, eax
add dword [0x468dcc], esi
add dword [ebp - 0x6f8], esi
mov dword [ebp - 0x6fc], esi
test esi, esi
jle 0x40db9a
mov esi, dword [ebp - 0x70c]
mov eax, esi
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
lea edx, [eax + 1]
jmp 0x40d680
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d680
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x454]
call fcn.0042d2b0
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x454]
push edx
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x1c
call fcn.0042bf10
mov ebx, 0x10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x43c], ebx
jb 0x40d6d0
mov eax, dword [ebp - 0x450]
push eax
call fcn.00434321
add esp, 4
mov ecx, dword [ebp - 0x6f8]
push ecx
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x1d
call fcn.0042bf10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x730], ebx
jb 0x40d719
mov edx, dword [ebp - 0x744]
push edx
call fcn.00434321
add esp, 4
mov esi, dword [ebp - 0x420]
mov edx, dword [ebp - 0x434]
mov eax, edx
cmp esi, ebx
jae 0x40d731
lea eax, [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
lea edi, [ecx + eax]
test edi, edi
je 0x40d760
mov eax, edx
cmp esi, ebx
jae 0x40d74a
lea eax, [ebp - 0x434]
cmp eax, edi
ja 0x40d760
mov eax, edx
cmp esi, ebx
jae 0x40d75a
lea eax, [ebp - 0x434]
add ecx, eax
cmp edi, ecx
jbe 0x40d765
call fcn.00435bca
lea eax, [ebp - 0x75c]
lea ebx, [ebp - 0x438]
push eax
mov ecx, ebx
call fcn.0042b580
lea ecx, [ebp - 0x764]
push ecx
mov ecx, ebx
mov esi, eax
call fcn.0042b580
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edi
push ebx
push edx
push eax
lea ecx, [ebp - 0x76c]
push fcn.00435a41
push ecx
call fcn.0042f2f0
mov eax, dword [ebp - 0x46c]
mov edi, 0x10
add esp, 0x20
cmp dword [ebp - 0x458], edi
jae 0x40d7c6
lea eax, [ebp - 0x46c]
mov edx, dword [ebp - 0x45c]
push edx
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0042c190
cmp eax, 0xffffffff
jne 0x40d81f
mov eax, dword [ebp - 0x4a4]
cmp dword [ebp - 0x490], edi
jae 0x40d7f3
lea eax, [ebp - 0x4a4]
mov ecx, dword [ebp - 0x494]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
cmp eax, 0xffffffff
jne 0x40d81f
mov eax, dword [ebp - 0x6fc]
add dword [ebp - 0x708], eax
mov esi, eax
jmp 0x40d61a
mov eax, dword [ebp - 0x46c]
cmp dword [ebp - 0x458], edi
jae 0x40d833
lea eax, [ebp - 0x46c]
mov ecx, dword [ebp - 0x45c]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40d8fb
mov eax, dword [ebp - 0x46c]
cmp dword [ebp - 0x458], edi
jae 0x40d864
lea eax, [ebp - 0x46c]
mov ecx, dword [ebp - 0x45c]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x45c]
push 0xffffffffffffffff
add ecx, eax
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 0x1e
call fcn.0042bf10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x730], edi
jb 0x40d8c2
mov edx, dword [ebp - 0x744]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x46c]
cmp dword [ebp - 0x458], edi
jae 0x40d8d6
lea eax, [ebp - 0x46c]
mov ecx, dword [ebp - 0x45c]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x6f8]
sub ecx, dword [ebp - 0x45c]
jmp 0x40d9a1
mov eax, dword [ebp - 0x4a4]
cmp dword [ebp - 0x490], edi
jae 0x40d90f
lea eax, [ebp - 0x4a4]
mov ecx, dword [ebp - 0x494]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x494]
push 0xffffffffffffffff
add ecx, eax
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 0x1f
call fcn.0042bf10
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x730], edi
jb 0x40d96d
mov edx, dword [ebp - 0x744]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x4a4]
cmp dword [ebp - 0x490], edi
jae 0x40d981
lea eax, [ebp - 0x4a4]
mov ecx, dword [ebp - 0x494]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x6f8]
sub ecx, dword [ebp - 0x494]
sub ecx, eax
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x74c], ecx
cmp dword [ebp - 0x4e4], edi
jae 0x40d9bd
lea eax, [ebp - 0x4f8]
mov ecx, dword [ebp - 0x4e8]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
test eax, eax
je 0x40db9a
mov eax, dword [ebp - 0x4f8]
cmp dword [ebp - 0x4e4], edi
jae 0x40d9ed
lea eax, [ebp - 0x4f8]
mov ecx, dword [ebp - 0x4e8]
push ecx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x4e8]
push 0xffffffffffffffff
add ecx, eax
lea esi, [ebp - 0x454]
lea edx, [ebp - 0x438]
call fcn.0042b6b0
mov bl, 0x20
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x514]
cmp dword [ebp - 0x500], edi
jae 0x40da35
lea eax, [ebp - 0x514]
mov edx, dword [ebp - 0x504]
push edx
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40dac0
mov eax, dword [ebp - 0x514]
cmp dword [ebp - 0x500], edi
jae 0x40da62
lea eax, [ebp - 0x514]
mov ecx, dword [ebp - 0x504]
push ecx
push eax
lea edx, [ebp - 0x454]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x504]
add ecx, eax
push ecx
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x454]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x21
call fcn.0042bf10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x730], edi
jb 0x40dac0
mov edx, dword [ebp - 0x744]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x4dc]
cmp dword [ebp - 0x4c8], edi
jae 0x40dad4
lea eax, [ebp - 0x4dc]
mov ecx, dword [ebp - 0x4cc]
push ecx
push eax
lea edx, [ebp - 0x454]
push edx
call fcn.0042c190
cmp eax, 0xffffffff
je 0x40db5c
mov eax, dword [ebp - 0x4dc]
cmp dword [ebp - 0x4c8], edi
jae 0x40db01
lea eax, [ebp - 0x4dc]
mov ecx, dword [ebp - 0x4cc]
push ecx
push eax
lea edx, [ebp - 0x454]
push edx
call fcn.0042c190
mov ecx, dword [ebp - 0x4cc]
add ecx, eax
push ecx
xor ecx, ecx
lea esi, [ebp - 0x748]
lea edx, [ebp - 0x454]
call fcn.0042b6b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x22
call fcn.0042bf10
cmp dword [ebp - 0x730], edi
jb 0x40db5c
mov edx, dword [ebp - 0x744]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x450]
cmp dword [ebp - 0x43c], edi
jae 0x40db70
lea eax, [ebp - 0x450]
push eax
call fcn.00435329
add esp, 4
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x43c], edi
jb 0x40db9a
mov eax, dword [ebp - 0x450]
push eax
call fcn.00434321
add esp, 4
mov ecx, dword [ebp - 0x710]
mov eax, dword [ebp - 0x6f8]
mov ebx, dword [ebp - 0x70c]
push ecx
mov ecx, dword [ebp - 0x74c]
push 1
sub eax, ecx
push ecx
add eax, ebx
push eax
call fcn.00436f1e
mov esi, dword [ebp - 0x53c]
mov edi, dword [ebp - 0x6fc]
add esp, 0x10
jmp 0x40dbd7
mov esi, dword [ebp - 0x6f8]
test edi, edi
jle 0x40dcf7
cmp esi, dword [ebp - 0x700]
jge 0x40dcf7
mov edx, dword [ebp - 0x704]
push 0
push 0x100
push ebx
push edx
mov byte [ebx], 0
call sub.WS2_32.dll_recv
mov edi, eax
mov eax, dword [ebp - 0x710]
add dword [0x468dcc], edi
push eax
push 1
push edi
push ebx
call fcn.00436f1e
add esi, edi
add esp, 0x10
mov dword [ebp - 0x6f8], esi
test edi, edi
jle 0x40dce5
mov eax, ebx
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dc50
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x454]
call fcn.0042d2b0
push edi
xor ecx, ecx
lea esi, [ebp - 0x72c]
lea edx, [ebp - 0x454]
mov byte [ebp - 4], 0x23
call fcn.0042b6b0
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x550]
mov byte [ebp - 4], 0x24
call fcn.0042d1c0
mov esi, 0x10
cmp dword [ebp - 0x714], esi
jb 0x40dcaf
mov ecx, dword [ebp - 0x728]
push ecx
call fcn.00434321
add esp, 4
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x714], 0xf
mov dword [ebp - 0x718], 0
mov byte [ebp - 0x728], 0
cmp dword [ebp - 0x43c], esi
jb 0x40dce5
mov edx, dword [ebp - 0x450]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [ebp - 0x700]
cmp dword [ebp - 0x6f8], eax
jl 0x40dbd1
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [ebp - 0x704]
push ecx
call sub.WS2_32.dll_closesocket
mov edx, dword [ebp - 0x710]
push edx
call fcn.004376a7
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x4e4], esi
jb 0x40dd33
mov eax, dword [ebp - 0x4f8]
push eax
call fcn.00434321
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x4e4], edi
mov dword [ebp - 0x4e8], ebx
mov byte [ebp - 0x4f8], bl
cmp dword [ebp - 0x490], esi
jb 0x40dd63
mov ecx, dword [ebp - 0x4a4]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x490], edi
mov dword [ebp - 0x494], ebx
mov byte [ebp - 0x4a4], 0
cmp dword [ebp - 0x458], esi
jb 0x40dd8d
mov edx, dword [ebp - 0x46c]
push edx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x45c], ebx
mov byte [ebp - 0x46c], 0
cmp dword [ebp - 0x500], esi
jb 0x40ddb7
mov eax, dword [ebp - 0x514]
push eax
call fcn.00434321
add esp, 4
mov dword [ebp - 0x500], edi
mov dword [ebp - 0x504], ebx
mov byte [ebp - 0x514], 0
cmp dword [ebp - 0x4c8], esi
jb 0x40dde1
mov ecx, dword [ebp - 0x4dc]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x4c8], edi
mov dword [ebp - 0x4cc], ebx
mov byte [ebp - 0x4dc], 0
cmp dword [ebp - 0x420], esi
jb 0x40de0b
mov edx, dword [ebp - 0x434]
push edx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], ebx
mov byte [ebp - 0x434], 0
cmp dword [ebp - 0x538], esi
jb 0x40de35
mov eax, dword [ebp - 0x54c]
push eax
call fcn.00434321
add esp, 4
mov dword [ebp - 0x538], edi
mov dword [ebp - 0x53c], ebx
mov byte [ebp - 0x54c], 0
cmp dword [ebp - 0x4ac], esi
jb 0x40de5f
mov ecx, dword [ebp - 0x4c0]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x4b0], ebx
mov byte [ebp - 0x4c0], 0
cmp dword [ebp - 0x51c], esi
jb 0x40de89
mov edx, dword [ebp - 0x530]
push edx
call fcn.00434321
add esp, 4
mov dword [ebp - 0x51c], edi
mov dword [ebp - 0x520], ebx
mov byte [ebp - 0x530], 0
cmp dword [ebp - 0x474], esi
jb 0x40deb3
mov eax, dword [ebp - 0x488]
push eax
call fcn.00434321
add esp, 4
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x478], ebx
mov byte [ebp - 0x488], 0
cmp dword [ebp + 0x20], esi
jb 0x40ded7
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00434321
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x3c], esi
jb 0x40def2
mov edx, dword [ebp + 0x28]
push edx
call fcn.00434321
add esp, 4
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x28], 0
cmp dword [ebp + 0x58], esi
jb 0x40cb12
mov eax, dword [ebp + 0x44]
push eax
call fcn.00434321
add esp, 4
jmp 0x40cb12