Function at 0x401750
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
mov ebp, dword [ecx - 0x37f2bef8]
rol byte [eax], 0x50
dec edi
lds ebp, [eax + 0x74]
rol byte [eax], cl
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x4102ac]
add esp, 0xffffffdc
test dword [edi + 0x683a0fef], eax
push esp
shr byte [esi - 0x69820100], cl
rol dword [eax], 0x83
les ecx, [eax]
push 1
call dword [0xdb388f70]
nop
push ebp
mov ebp, esp
sub esp, 0x3d5d
mov eax, dword [0x410278]
fist dword [eax - 0x7e1374ab]
in al, dx
pop ebp
cmp eax, 0x78a10000
add al, byte [ecx]
movsb byte es:[edi], byte [esi]
rol byte [edi + 0x41404c], 0xd9
adc al, 0xb2
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
add byte [eax], al
mov cx, word [0x410274]
sbb dword [ebx + ecx*4], edx
adc eax, 0x411800
push edx
mov byte [0x4099e8], al
add byte [esi - 0x75], ah
or eax, 0xfcf4f4
mov dword [0x416108], eax
mov eax, dword [0x330288]
xchg esi, eax
push esi
mov esi, dword [0x2a40c164]
mov word [edi + 0x61410bb4], di
test eax, eax
push edi
jne 0x40184a
mov edx, dword [0x413a00]
sahf
jmp 0x40178e
mov edx, dword [0x40d018]
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 0x860
push edx
call esi
popal
mov al, 0xb
inc ecx
add byte [ecx + 0x53d010], ah
push 0x20
mov edi, 0x808bd6ff
dec esp
inc eax
inc ecx
add byte [ebx + 0x40d01815], cl
add byte [ebx + 0x32a3102b], al
or eax, dword [ecx]
push 0
push ecx
push edx
push 0x1c4142db
call 0xa0403810
test eax, eax
je 0x4018b1
push eax
push str.apr_pollset_create_failed
call str.fflush
add esp, 8
iretd
pushfd
or esi, dword [edx]
add byte [ebx + 0x41404815], cl
add byte [edx], ch
push 0x40d1d2
push eax
mov eax, dword [0x32b3403f]
push ecx
push 0xf5401e48
stosb byte es:[edi], al
push eax
call fcn.00405890
add esp, 0x1c
xor byte [eax + 0x40], cl
inc ecx
add bl, ch
add eax, 0x414048a1
add byte [ebx + 0x4102800d], cl
add byte [ebp - 0x74d98a37], al
out dx, al
dec esp
inc eax
inc ecx
mov dword [edx], ebp
push 0x40d174
push 0x40d444
push 0xc640fe28
push eax
push ecx
cmc
test byte [edi], bh
add byte [eax], al
or dword [ecx + 0x407ea318], 0x73
adc ecx, dword [ebx + 0x4102840d]
add byte [ebp - 0x74e3dd37], al
adc eax, 0x41404c
push 0
push str.Accept:___r_n
push eax
push edx
call 0x1405890
add esp, 0x10
mov eax, 0x99403b
mov edi, dword [eax]
pushal
add al, byte [ecx]
test ebp, ebp
jg 0x4019a7
mov edx, dword [0x410268]
jge 0x40196b
rol dword [eax], cl
test edx, edx
jne 0x401958
mov esi, 0x41026a
mov ebx, dword [eax + 0x700278]
test edx, edx
adc eax, 0x414040
iretd
pop ss
xchg edi, eax
add byte [ebp - 0x2c076437], al
inc eax
add byte [ebp + eax - 0x47], dh
invalid
inc ecx
add byte [eax - 0x5f], dl
out 0x50, eax
inc ecx
add byte [eax + 0x56], dl
push edx
push ecx
mov ecx, dword [0x40d030]
push 0x107ed3d4
push 0x540800
push ecx
call 0xad553980
add esp, 0x24
out 0x7d, al
xor dl, byte [0x41fb40]
mov edi, 0x413840
test al, ah
jne 0x4019f8
jge 0x401980
rol dword [eax], cl
in al, 0x15
push 0xbe004102
loopne 0x401997
in al, dx
add byte [ebp - 0x41fa8a2e], al
aam 0xb5
dec ecx
add byte [ebx + 0x41027815], cl
add byte [ebp - 0x7aea742e], al
jp 0x401a1d
add byte [ebp + 6], dh
mov edx, dword [0x4117e4]
add bh, cl
add dword [ecx - 0x4bf2c31], edi
xor eax, dword [0x6246bcb9]
add byte [eax - 0x1a], dl
jo 0x4019fa
inc ecx
add byte [eax + 0x50], cl
dec eax
push eax
mov eax, dword [0x411804]
push eax
rcr dword [eax + eax*2 + 0x56500041], 0x3a
push ecx
mov ecx, ecx
xor al, dl
inc eax
inc eax
push str._s__s_HTTP_1.0_r_n_s_s_sContent_length:__u_r_nContent_type:__s_r_n_s_r_n
add byte [eax], 8
add byte [eax], al
push ecx
call int.00408662
inc ecx
insb byte es:[edi], dx
add byte [eax], al
add esp, 0x2c
cmp eax, 0xdeff
jb 0x401a38
ja 0x401a79
rol dword [eax - 0x1e], cl
call fcn.00401750
add esp, 0xffffff81
mov eax, dword [0x41ea58]
mov ebx, 2
cmp eax, ebx
jle 0x401a6f
mov eax, dword [0xc00291]
cmp eax, ebx
mov eax, 0xaed3bc
je 0x401a59
pop ebp
rcl bl, 0x40
add byte [ebx + 0x33d03015], cl
add byte [edx - 0x5a], dl
mov edx, dword [0x33d030]
push edx
cmpsb byte [esi], byte es:[edi]
push 0x40d327
call dword [0xa2401d64]
sub dword [eax], 0xc
mov edi, dword [0x336dd0bc]
or ecx, 0xffffffff
xor eax, eax
test al, 0xae
mov eax, dword [0x41e86e]
not ecx
dec ecx
cmp eax, 0x42
shr byte [eax - 0x17915e52], 0x41
add bh, dh
ror dword [ecx - 0x7d], 1
clc
inc edx
mov dword [0x4117ec], ecx
jl 0x401aff
mov eax, dword [0x41ab70]
lea esp, [ecx]
add dword [ecx], eax
push ecx
call [edi - 0x43bf3ef4]
add esp, 4
test eax, eax
jne 0x401ac5
mov edx, dword [0x4002c8]
push str.error_creating_request_buffer:_out_of_memory_n
add edx, 0x40
push edx
call dword [0x404554]
and ah, al
or byte [edi + 0x5e], bl
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x40d030]
mov esi, eax
mov cl, byte [edx]
inc edx
mov byte [esi], cl
inc esi
test cl, cl
jne 0x401acd
mov ebx, edx
cmp bh, al
inc ecx
add byte [ebx + 0x6d02700d], cl
add byte [ebx + 0x41382035], cl
add byte [ebp - 0x2e742ec4], cl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
adc ah, byte [eax - 0x5c2d0cfd]
xor al, dl
inc eax
add cl, bl
stc
fyl2xp1
aad 0x41
add dl, bl
sub al, 0xd
or al, 0xb
inc ecx
add byte [ebp + edx + 0x291c1808], dl
push eax
push 0
push ecx
push 0x69
push edx
push 0x411700
call fcn.00406f30
mov esi, eax
test si, si
je 0x401b55
mov eax, dword [0x411808]
lea ecx, [ebp - 0x15]
push eax
push str.apr_sockaddr_info_get___for__s
push 0xffffffffffffffd0
shr al, 0xb
imul eax, dword [eax], 0
movsx edx, si
lea eax, [ebp - 0x7e000040]
mov eax, dword [0x46eee850]
add byte [eax], al
add esp, 0x18
call fcn.00406a00
mov eax, dword [esi]
mov eax, dword [0x410264]
mov edi, edx
mov eax, 0x860ba035
add byte [ebp - 0x5b096440], al
or eax, dword [ecx]
dec esp
lahf
ror byte [ebx], 0x41
add byte [ecx + 0x410bc43d], cl
add byte [ebx + ebx - 0x67], dh
push 0xffffffffffffffee
and al, 7
inc edx
sub al, byte [eax]
push edx
fsubr st(0)
mov dl, 0x99
add byte [eax], al
add eax, esi
adc edx, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jmp 0x401ba8
push fcn.00402060
add bh, bh
adc eax, sym.imp.MSVCRT.dll_signal
mov eax, dword [0xc40d018]
add esp, 8
xor eax, dword [ebp + 0x3d224b25]
xor edi, edi
mov ecx, dword [0x410bb0]
mov dword [edi + ecx + 0x858], esi
mov ebx, dword [0x410bb0]
invalid