Function at 0x40aa40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push edi
push esi
push ebx
sub esp, 0x264
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
jne 0x40aabc
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
cdq
xor esi, esi
mov dword [esp + 0x190], str._TMP_outil
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x198], 0xa
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], edx
lea ecx, [esp + 0x190]
lea ebx, [esp + 0xc8]
push esi
push 0xc8
push ebx
push esi
push 2
push ecx
call sub.libifcoremd.dll_for_concat
add esp, 0x18
jmp 0x40ad62
mov eax, 0x68db8bad
imul ecx
mov esi, ecx
mov dword [esp + 0x1b0], 0
mov ebx, edx
sar ebx, 0xc
sar esi, 0x1f
mov dword [esp + 0x230], 0x14
lea edx, [esp + 0x23c]
sub ebx, esi
imul eax, ebx, 0x2710
mov dword [esp + 0x234], edx
sub ecx, eax
mov dword [esp + 0x238], ecx
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x230]
push 0x20
push 0x4471f4
push ecx
push 0x442148
push 0xa384ff00
push eax
call sub.libifcoremd.dll_for_write_int_fmt
add esp, 0x18
mov eax, 1
movzx edx, byte [esp + eax + 0x23b]
cmp edx, 0x20
jne 0x40ae4e
inc eax
cmp eax, 0x14
jle 0x40ab30
xor eax, eax
xor esi, esi
lea edx, [eax - 1]
test edx, edx
jle 0x40abbd
mov dword [esp], ebx
mov ecx, 1
mov edx, esi
mov ebx, eax
mov edi, ecx
cmp ebx, 0x14
jle 0x40ab6f
mov byte [esp + esi + 0x23c], 0x20
jmp 0x40abad
mov dword [esp + 4], edi
mov eax, ebx
mov dword [esp + 8], esi
lea ecx, [esp + esi + 0x23c]
lea edi, [ebx - 1]
sub eax, edi
lea esi, [esp + ebx + 0x23b]
mov edi, 0
push edi
cmovs eax, edi
cdq
push edx
push eax
push esi
push edi
push 1
push ecx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
call sub.libifcoremd.dll_for_cpystr
add esp, 0x1c
inc ebx
inc esi
inc edi
cmp edi, 0x14
jle 0x40ab60
mov ebx, dword [esp]
mov edi, dword [ebp + 0x10]
xor esi, esi
mov byte [esp + 0x21c], 0x20
mov eax, esi
mov byte [esp + eax + 0x21d], 0x20
inc eax
cmp eax, 0x13
jl 0x40abc7
test ebx, ebx
je 0x40acad
mov dword [esp + 0x1b0], 0
lea eax, [esp + 0x21c]
mov dword [esp + 0x214], eax
mov dword [esp + 0x210], 0x14
mov dword [esp + 0x218], ebx
lea edx, [esp + 0x210]
push 0x20
push 0x447208
push edx
push 0x442150
push 0xa384ff00
lea ecx, [esp + 0x1c4]
push ecx
call sub.libifcoremd.dll_for_write_int_fmt
add esp, 0x18
lea eax, [esp + 0x21c]
mov ebx, esi
mov ecx, 1
mov dl, byte [eax]
mov byte [esp + 0xc8], dl
movzx edx, byte [esp + 0xc8]
cmp edx, 0x20
jle 0x40ac69
cmp ebx, 0xc8
jge 0x40ac69
mov dl, byte [esp + 0xc8]
inc ebx
mov byte [esp + ebx - 1], dl
inc eax
inc ecx
cmp ecx, 0x14
jle 0x40ac3f
mov edi, dword [ebp + 0x10]
test ebx, ebx
jle 0x40ad98
cmovl ebx, esi
mov eax, ebx
cdq
lea eax, [esp]
push esi
mov ecx, edx
push ecx
push ebx
push eax
push esi
push 0x14
lea eax, [esp + 0x234]
push eax
mov dword [esp + 0xe4], ecx
call sub.libifcoremd.dll_for_cpystr
mov ecx, dword [esp + 0xe4]
add esp, 0x1c
jmp 0x40acb1
mov ebx, esi
mov ecx, ebx
mov dword [esp + 0x1d0], 0x44219c
mov eax, 0x14
mov dword [esp + 0x1d8], 0xe
mov dword [esp + 0x1dc], 0
movzx edx, byte [esp + eax + 0x23b]
cmp edx, 0x20
jne 0x40ace7
dec eax
jne 0x40acd7
mov dword [esp + 0x1f8], ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x1fc], ecx
test eax, eax
cmovl eax, esi
lea edx, [esp + 0x23c]
mov dword [esp + 0x1e0], edx
cdq
mov dword [esp + 0x1e8], eax
lea eax, [esp + 0x21c]
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1f0], eax
mov eax, dword [ebp + 0x18]
cdq
mov dword [esp + 0x200], ebx
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], edx
lea ecx, [esp + 0x1d0]
lea ebx, [esp + 0xc8]
push esi
push 0xc8
push ebx
push esi
push 4
push ecx
call sub.libifcoremd.dll_for_concat
add esp, 0x18
lea eax, [esp + 0x250]
push eax
push edi
push dword [ebp + 0xc]
push 0xc8
push ebx
call fcn.0040f990
mov ecx, dword [ebp + 0xc]
mov eax, 1
jmp 0x40ad84
inc eax
cmp eax, edi
jg 0x40ae47
movzx edx, byte [eax + ecx - 1]
cmp edx, 0x20
jne 0x40adc3
jmp 0x40ad83
push esi
push esi
push 1
push 0x44217c
push esi
push 0x14
lea eax, [esp + 0x234]
push eax
call sub.libifcoremd.dll_for_cpystr
add esp, 0x1c
test ebx, ebx
cmovl ebx, esi
mov eax, ebx
cdq
mov ecx, edx
jmp 0x40acb1
lea edx, [eax - 1]
test edx, edx
jle 0x40ae38
cmp edi, dword [0x442180]
jl 0x40ae38
mov edx, 1
mov ebx, esi
mov esi, eax
mov edi, edx
cmp esi, dword [ebp + 0x10]
jle 0x40adeb
mov ecx, dword [ebp + 0xc]
mov byte [ecx + ebx], 0x20
jmp 0x40ae30
mov dword [esp + 0x254], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x258], ebx
lea ecx, [esi - 1]
add ebx, edi
lea edi, [edi + esi - 1]
mov eax, esi
sub eax, ecx
mov ecx, 0
cmovs eax, ecx
cdq
push ecx
push edx
push eax
push edi
push ecx
push 1
push ebx
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x270]
call sub.libifcoremd.dll_for_cpystr
add esp, 0x1c
inc esi
inc ebx
inc edi
cmp edi, dword [ebp + 0x10]
jle 0x40addd
add esp, 0x264
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov eax, esi
jmp 0x40adc3
xor esi, esi
jmp 0x40ab4b