Function at 0x42af70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cd672
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
xor esi, esi
push esi
mov dword [esp + 0xb4], 1
lea ecx, [ebp + 0x1c]
push 0x4dfd54
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], 0xc8
call fcn.00402430
push esi
lea ecx, [ebp + 0x10]
push 0x4dfd54
call fcn.00402430
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x20], esi
call fcn.004849f9
call fcn.00484590
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42affc
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x58], eax
xor eax, eax
cmp dword [esp + 0xe4], esi
mov bl, 2
setne al
mov byte [esp + 0xb0], bl
add eax, 1
push eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
lea edi, [esp + 0x44]
mov dword [esi], eax
call fcn.0042e2c0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb4], 3
call fcn.004028f0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b08d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [esp + 0x58]
call fcn.00402520
xor esi, esi
mov byte [esp + 0xb0], 4
mov dword [esp + 0x68], 0x4e3f80
mov dword [esp + 0x6c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], esi
call fcn.00484590
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42b0d7
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0xb0], 5
call fcn.00484590
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42b109
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
movzx ecx, word [esp + 0xd8]
mov byte [esp + 0xb0], 6
mov esi, dword [esp + 0xbc]
add esi, 0xfffffff0
push esi
mov dword [esp + 0x44], ecx
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0xd4]
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 7
call fcn.00402520
test edi, edi
mov bl, 8
mov byte [esp + 0xb0], bl
je 0x42b187
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42b172
sub eax, edx
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
jne 0x42b1e7
cmp dword [ebp + 8], 0
je 0x42b1e7
push ecx
mov dword [esp + 0x3c], esp
mov edi, esp
push esi
call fcn.00402860
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edi], eax
call fcn.0042efa0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb4], 9
call fcn.004028f0
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b1e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00416da0
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0xbc]
push 0
mov ebx, 0x4e2d14
lea esi, [esp + 0x7c]
call fcn.00416f10
xor ebx, ebx
or esi, 0xffffffff
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x48], ebx
jle 0x42b84f
cmp dword [ebp + 0xc], ebx
jne 0x42b854
cmp esi, ebx
je 0x42b84f
push ebx
push 0x4dfd54
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], 0xc8
call fcn.00402430
push ebx
push 0x4dfd54
lea ecx, [ebp + 0x10]
call fcn.00402430
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x20], ebx
call fcn.004849f9
mov eax, dword [esp + 0x48]
lea esi, [esp + 0x24]
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00416fa0
mov eax, 0x4dfee8
mov edi, esi
mov byte [esp + 0xb0], 0xb
call fcn.0040d410
mov edx, dword [esp + 0xd4]
push edx
lea ecx, [esp + 0x30]
call fcn.00402520
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xc4]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xcc], 0xc
mov eax, dword [esp + 0x40]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042f520
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b31f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xbc]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
lea edi, [esp + 0x6c]
mov dword [esi], eax
call fcn.0042e2c0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb4], 0xd
call fcn.004028f0
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
movzx ecx, word [esp + 0x40]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.00493b09
mov ecx, dword [esp + 0x1c]
push 0x2f
push ecx
call fcn.004a4635
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
jne 0x42b3cf
or esi, 0xffffffff
jmp 0x42b3d3
sub eax, ecx
mov esi, eax
lea eax, [ecx - 0x10]
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
cmp esi, 0xffffffff
mov byte [esp + 0xb0], 0xe
je 0x42b448
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 1
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call fcn.00404bc0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xf
call fcn.004028f0
mov byte [esp + 0xb0], 0xe
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b448
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [esp + 0x30]
lea ecx, [ebp + 0x2c]
push edx
call fcn.004028f0
lea eax, [esp + 0x20]
lea ecx, [ebp + 0x30]
push eax
call fcn.004028f0
lea edx, [esp + 0xbc]
lea ecx, [ebp + 0x28]
push edx
mov dword [ebp + 0x34], ebx
call fcn.004028f0
push str.MSG_INITIALIZING
lea ecx, [esp + 0x38]
call fcn.00402520
push 0xf
push str.Initializing...
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 0x10
call fcn.00402430
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x78], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4dfd54
mov byte [esp + 0xbc], 0x11
call fcn.00402520
fldz
mov eax, dword [ebp]
push ebx
sub esp, 8
fstp qword [esp]
push ebx
push ebx
add eax, 4
mov eax, dword [eax]
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0xd4], 0x10
call eax
cmp eax, ebx
jne 0x42b57d
mov byte [esp + 0xb0], 0xe
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [ebp + 0xc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b54c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42b833
cmp dword [ebp + 0xc], ebx
jne 0x42b731
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0x44]
push ecx
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.IRBootstrap_Runtime_2.0
call fcn.00402520
lea edx, [esp + 0x20]
push edx
push ebp
mov ecx, esi
call fcn.0042c530
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x50], ebx
jne 0x42b5c9
mov dword [esp + 0x14], 1
jmp 0x42b735
cmp dword [esp + 0x14], 0
jne 0x42b735
cmp dword [ebp + 0xc], 0
jne 0x42b735
movzx eax, word [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402860
add esp, 4
push ebx
lea ecx, [esp + 0x20]
push ecx
add eax, 0x10
push ebp
mov dword [esi], eax
call fcn.0042d110
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x42b621
mov dword [esp + 0x14], 2
jmp 0x42b735
cmp dword [esp + 0x14], 0
jne 0x42b735
cmp dword [ebp + 0xc], 0
jne 0x42b735
mov edx, dword [ebp + 0x58]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xd4]
push 1
push 1
push eax
mov eax, dword [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0xf8]
push eax
push ecx
push 2
push edx
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402860
add esp, 4
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x84]
add eax, 0x10
push ebp
mov dword [esi], eax
call fcn.0042d260
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x42b6bb
mov dword [esp + 0x14], 3
jmp 0x42b739
cmp dword [esp + 0x14], 0
jne 0x42b739
cmp dword [ebp + 0xc], 0
jne 0x42b739
cmp dword [ebp + 0x18], 0xc8
jne 0x42b739
xor esi, esi
mov ecx, edi
call fcn.0042c750
push esi
push eax
mov eax, dword [esp + 0xc8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402860
add esp, 4
add eax, 0x10
push edi
mov ecx, ebp
mov dword [esi], eax
call fcn.0042cc20
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
cmp eax, 0xc8
je 0x42b739
push eax
lea eax, [ebp + 0x10]
push str.Incorrect_HTTP_status_returned_by_server:__d
push eax
call fcn.00404460
mov ecx, dword [ebp + 0x18]
add esp, 0xc
call fcn.0042e1d0
mov dword [esp + 0x14], eax
jmp 0x42b739
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42b751
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x42b76d
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x42b7aa
cmp dword [esp + 0x14], 0
jne 0x42b78d
cmp dword [ebx + 0x18], 0
je 0x42b78d
mov dword [ebp + 0x14], 0x2ef1
mov dword [esp + 0x14], 9
push 0
mov ecx, ebx
call fcn.004935a5
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
push 0
lea ecx, [ebp + 0x24]
push 0x4dfd54
call fcn.00402430
mov byte [esp + 0xb0], 0xe
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b7e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
jl 0x42b226
cmp dword [ebp + 0xc], ebx
je 0x42b86b
cmp esi, ebx
jne 0x42b86b
mov dword [esp + 0x14], 9
mov esi, dword [esp + 0x14]
mov dword [ebp + 0x14], 0x2ef1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 8
call fcn.00416e50
mov byte [esp + 0xb0], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b91c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 2
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b96c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b9c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 0x30