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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf40
mov eax, dword [ebp + 0x10]
mov esi, edx
mov edx, dword [ecx + 0xf8]
mov ebx, ecx
lea edi, [esp + 0x68]
mov ecx, edi
add eax, 0x2c
push eax
push dword [ebx + 0xfc]
call fcn.00404c06
pop eax
pop ecx
movzx edi, word [edi + 0x14]
test di, di
jne 0x408f4b
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
lea ecx, [esp + 0x40]
mov edx, esi
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
call fcn.00404c7e
mov edi, eax
test ax, ax
jne 0x408f42
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x40]
lea edx, [eax + 4]
call fcn.00404c7e
mov edi, eax
test ax, ax
jne 0x408f42
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x40]
call fcn.00404c7e
mov edi, eax
test ax, ax
jne 0x408f42
lea edi, [esp + 0x80]
lea esi, [esp + 0x40]
mov ecx, edi
mov edx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f42
lea ecx, [esp + 0x220]
call fcn.004187dc
mov eax, dword [esp + 0x44]
and eax, 0xf
push 0x10
pop edi
lea ecx, [esp + 0x60]
sub edi, eax
mov dword [ecx], esi
push 0x41
pop edx
push edi
call fcn.004108e2
pop ecx
test ax, ax
je 0x408a9c
mov edi, eax
jmp 0x408f42
mov esi, dword [esp + 0xee0]
mov dword [esp + 0x38], ebx
lea eax, [ebx + 0x67]
lea edx, [esp + 0x120]
push 0x10
pop ecx
push ecx
push eax
push edx
call dword [esi + 0xc]
add esp, 0xc
lea eax, [esp + 8]
lea edi, [esp + 0x40]
mov dword [eax + 0xc], 0x706f6e6d
mov dword [eax + 8], 0x6c6b6a69
mov dword [eax + 4], 0x68676665
mov dword [eax], 0x64636261
push dword [edi + 4]
push dword [edi]
push eax
lea eax, [esp + 0x12c]
push eax
call dword [esi + 0x10]
add esp, 0x10
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
lea ecx, [esp + 0x100]
add eax, 0x77
push eax
push dword [edi + 4]
call fcn.00406251
pop eax
pop ecx
lea esi, [esp + 0x88]
mov edx, edi
mov ecx, esi
push 0x10
pop eax
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f42
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x30], eax
mov eax, esi
bswap eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xd4]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x204]
push eax
push dword [ebx + 0xd8]
call fcn.00404c06
pop eax
pop ecx
lea eax, [esp + 0x120]
movzx edi, word [eax + 0x14]
test di, di
jne 0x408f42
mov eax, dword [esp + 0x130]
movsd xmm0, qword [esp + 0x120]
movsd xmm1, qword [esp + 0x128]
mov dword [esp + 0x20], esi
lea edx, [esp + 8]
lea esi, [esp + 0x90]
mov dword [esp + 0x24], edx
mov ecx, esi
mov dword [esp + 0x18], eax
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm0
push 0x14
push str.POST__submit.php_id
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea eax, [ebx + 0xbc]
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 4], eax
lea eax, [ebx + 0xd4]
mov dword [esp + 0x28], eax
push 0x1f
pop edi
push 0x64
pop esi
mov eax, dword [esp + 0x34]
cmp eax, 0x64
jb 0x408c2e
xor edx, edx
div esi
movzx ecx, word [edx + edx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + edi + 0x220], cx
add edi, 0xfffffffe
jmp 0x408c10
cmp eax, 9
ja 0x408c3f
add al, 0x30
mov byte [esp + edi + 0x221], al
inc edi
jmp 0x408c4f
movzx eax, word [eax + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + edi + 0x220], ax
lea ecx, [esp + edi + 0x220]
push 0x21
pop edx
lea eax, [esp + 0x24]
sub edx, edi
push eax
push 0x42bd80
call fcn.004106e5
pop ecx
pop edx
mov edi, eax
test ax, ax
jne 0x408f39
lea edi, [esp + 0x98]
lea edx, [esp + 8]
mov ecx, edi
push 9
push str._HTTP_1.1
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xa0]
lea edx, [esp + 8]
mov ecx, edi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xa8]
lea edx, [esp + 8]
mov ecx, edi
push 6
push str.Host:
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xb0]
lea edx, [esp + 8]
mov ecx, edi
push dword [ebx + 0xd0]
push dword [ebx + 0xcc]
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xb8]
lea edx, [esp + 8]
mov ecx, edi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xc0]
lea edx, [esp + 8]
mov ecx, edi
push 0x26
push str.Content_Type:_application_octet_stream
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xc8]
lea edx, [esp + 8]
mov ecx, edi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0xd0]
lea edx, [esp + 8]
mov ecx, edi
push 0x10
push str.Content_Length:
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
jne 0x408f39
push 0x1f
pop edi
cmp dword [esp + 4], 0x64
jb 0x408de7
mov eax, dword [esp + 4]
xor edx, edx
div esi
movzx ecx, word [edx + edx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov dword [esp + 4], eax
mov word [esp + edi + 0x220], cx
add edi, 0xfffffffe
jmp 0x408dbf
cmp dword [esp + 4], 9
ja 0x408dfe
mov eax, dword [esp + 4]
add al, 0x30
mov byte [esp + edi + 0x221], al
inc edi
jmp 0x408e12
mov eax, dword [esp + 4]
movzx eax, word [eax + eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + edi + 0x220], ax
lea ecx, [esp + edi + 0x220]
push 0x21
pop edx
lea eax, [esp + 0x24]
sub edx, edi
push eax
push 0x42bd80
call fcn.004106e5
pop ecx
pop edx
mov edi, eax
test ax, ax
jne 0x408f39
lea esi, [esp + 0xd8]
lea edx, [esp + 8]
mov ecx, esi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea esi, [esp + 0xe0]
lea edx, [esp + 8]
mov ecx, esi
push 0x11
push str.Connection:_close
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea esi, [esp + 0xe8]
lea edx, [esp + 8]
mov ecx, esi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea ecx, [esp + 8]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
lea edx, [edx + eax + 6]
call fcn.00404eb3
mov edi, eax
test ax, ax
jne 0x408f39
lea esi, [esp + 0xf0]
lea edx, [esp + 8]
mov ecx, esi
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea esi, [esp + 0xf8]
lea eax, [esp + 0x3c]
lea edx, [esp + 8]
mov ecx, esi
push 4
push eax
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [esi + 4]
test di, di
jne 0x408f39
lea edi, [esp + 0x60]
lea esi, [esp + 8]
mov ecx, edi
mov edx, esi
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.00404c5c
pop eax
pop ecx
movzx edi, word [edi + 4]
test di, di
je 0x408f55
lea ecx, [esp + 8]
call fcn.00404f43
lea ecx, [esp + 0x40]
call fcn.00404f43
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x2c]
lea edi, [esp + 0x54]
mov ecx, edi
push esi
call fcn.00404f8c
pop eax
mov ecx, esi
call fcn.00404f43
movzx edi, word [edi + 8]
test di, di
jne 0x408f42
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x58]
call fcn.00404f61
pop eax
xor edi, edi
jmp 0x408f42