Function at 0x4afa50
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4afa5d
jmp 0x4afa60
xor eax, eax
ret
push 0xffffffffffffffff
push 0x5043cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
lea ecx, [esp + 0x18]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
call fcn.004b5e80
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], esi
call fcn.004b04e0
mov ecx, dword [0x542d10]
mov dword [esp + 0x48], ecx
push esi
push esi
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x84], 2
mov dword [esp + 0x64], 0x3a98
call fcn.004ba0a6
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x30], 0x515700
mov eax, dword [edi + 0x10]
xor ecx, ecx
xor edx, edx
cmp eax, esi
mov byte [esp + 0x78], 3
je 0x4afb0f
cmp dword [edi + 0x14], esi
je 0x4afb0f
mov ecx, 1
mov edx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov ebp, dword [edi + 0x14]
mov ebx, dword [edi + 4]
push esi
push ebp
push eax
xor eax, eax
cmp ecx, esi
push edx
sete al
push eax
lea ecx, [esp + 0x28]
push ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.004afe00
cmp eax, esi
jne 0x4afc00
mov eax, dword [esp + 0x38]
cmp eax, esi
jle 0x4afc00
mov ecx, dword [edi + 8]
cmp ecx, esi
je 0x4afc00
mov edi, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [edx + 0xc]
mov dword [esp + 0x30], 0x5156fc
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 6
call fcn.004b0520
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x4afb8a
push eax
call fcn.004db41f
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], esi
cmp eax, esi
mov dword [esp + 0x34], esi
je 0x4afba7
push eax
call fcn.004db41f
add esp, 4
mov dword [esp + 0x40], esi
cmp dword [esp + 0x5c], esi
je 0x4afbb1
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x48]
call fcn.004dad9d
lea ecx, [esp + 0x68]
mov byte [esp + 0x78], 5
call fcn.004ba111
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 4
call fcn.004dae12
lea edi, [esp + 0x30]
lea edx, [esp + 0x34]
neg edi
sbb edi, edi
and edi, edx
mov eax, dword [edi + 8]
cmp eax, esi
je 0x4afca4
jmp 0x4afc98
mov dword [esp + 0x30], 0x5156fc
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 9
call fcn.004b0520
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x4afc2b
push eax
call fcn.004db41f
add esp, 4
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], esi
cmp eax, esi
mov dword [esp + 0x34], esi
je 0x4afc48
push eax
call fcn.004db41f
add esp, 4
mov dword [esp + 0x40], esi
cmp dword [esp + 0x5c], esi
je 0x4afc52
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], eax
call fcn.004dad9d
lea ecx, [esp + 0x68]
mov byte [esp + 0x78], 8
call fcn.004ba111
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 7
call fcn.004dae12
lea edi, [esp + 0x30]
lea ecx, [esp + 0x34]
neg edi
sbb edi, edi
and edi, ecx
mov eax, dword [edi + 8]
cmp eax, esi
je 0x4afca4
push eax
call fcn.004db41f
add esp, 4
mov dword [edi + 8], esi
mov dword [edi + 4], esi
lea ecx, [esp + 0x14]
mov dword [edi], esi
mov dword [esp + 0x78], 0xffffffff
call fcn.004b5ed0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret