Function at 0x491580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dcaa0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea edi, [esi + 4]
push str.____________________Entrance____________________
lea ecx, [esp + 0x30]
mov eax, edi
push ecx
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], str.ExecPostBinData
call fcn.00471a00
add esp, 0xc
mov dword [esp + 0x50], 0
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 1
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 2
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push str.BINPOST
mov byte [esp + 0x60], 3
call fcn.00494ad0
test al, al
jne 0x491711
push str.Wrong_POST_statement
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00471980
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 1
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 0x4916b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4916db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x18]
mov esi, ebx
call fcn.0042b600
lea edi, [esp + 0x18]
call fcn.004082a0
mov edi, dword [esp + 0x14]
call fcn.0042b600
lea edi, [esp + 0x14]
call fcn.004082a0
mov edi, dword [esp + 0x1c]
call fcn.0042b600
lea edi, [esp + 0x1c]
call fcn.004082a0
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, edi
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 5
call fcn.0047afa0
add esp, 4
test al, al
je 0x4917c8
mov edi, str.USERAGENT
call fcn.0042b600
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00408230
add eax, 0x10
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esi], eax
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x48]
call fcn.004918f0
mov edx, dword [ebp + 0x10]
mov edi, dword [edx]
mov esi, ebx
call fcn.0042b600
mov edi, eax
lea eax, [esp + 0x20]
call fcn.004082a0
mov edi, str.USERAGENT
call fcn.0042b600
mov edi, dword [esp + 0x20]
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push edi
push eax
push esi
push ebx
push str.BINPOST__s___s___s__s
lea ecx, [esp + 0x40]
push ecx
push edx
call fcn.004719c0
mov eax, dword [esp + 0x50]
add esp, 0x1c
test eax, eax
je 0x491823
push eax
call fcn.004a594c
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x50], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491844
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491865
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 1
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 0x49188a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4918ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10