Function at 0x10077a10
Capabilities:
Check http status code
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, ebp
or edx, ecx
je 0x10077e01
mov ebx, ecx
and ebx, 0xfffff
shr ecx, 0x14
lea esi, [ecx - 0x433]
mov eax, ebp
add eax, 0xffffffff
mov edx, ebx
adc edx, 0xfffff
add eax, 1
adc edx, 0
test ecx, ecx
cmove eax, ebp
mov dword [esp + 0x24], eax
cmove edx, ebx
mov ebx, 0xfffffbce
cmovne ebx, esi
lea eax, [edi + 1]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x54]
mov dword [esp + 4], edi
mov edi, edx
xor edx, edx
mov dword [esp + 0x14], 0
cmp ebx, 0xffffffcc
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
jl 0x10077e4f
lea eax, [ebx + 0xf]
shr eax, 4
xor ecx, ecx
test ebx, ebx
mov dword [esp], 0
cmovs eax, ecx
imul ecx, eax, 0x134410
shr ecx, 0x12
imul ecx, ecx, 0xe38f
add ecx, 0x1638f7
shr ecx, 0x13
mov dword [esp + 0xc], ecx
movzx ecx, word [eax + eax + 0x1015736c]
mov dword [esp + 0x2c], ecx
mov ecx, eax
shl ecx, 4
sub ecx, ebx
mov edx, edi
mov eax, dword [esp + 0x24]
shld edx, eax, 8
mov dword [esp + 8], edx
sub ecx, 0xffffff80
mov dword [esp + 0x20], ecx
shl eax, 8
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], 0
jmp 0x10077bb6
mov eax, ebx
mov ecx, 0xd1b71759
mul ecx
mov ecx, edx
shr ecx, 0xd
mov ebp, esi
imul esi, ecx, 0xffffd8f0
add esi, ebx
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [ebp + 7], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [ebp + 5], ax
mov eax, ebx
mov edx, 0x55e63b89
mul edx
mov ebx, edx
shr ebx, 0x19
imul esi, ebx, 0xffffd8f0
add esi, ecx
mov eax, esi
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov esi, ebp
mov ebp, dword [esp + 0x58]
mov word [esi + 3], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [esi + 1], ax
add bl, 0x30
mov byte [esi], bl
add esi, 9
mov dword [esp], edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jle 0x10077ddf
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 1]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + eax - 1]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x10167780]
push dword [esp + 0x20]
push eax
push dword [esp + 0x10]
push dword [esp + 0x3c]
call fcn.1006fbb0
add esp, 0x10
mov ebx, eax
mov eax, dword [esp]
test eax, eax
je 0x10077c30
lea edi, [eax + 9]
cmp edi, dword [esp + 0x10]
ja 0x100781ba
mov eax, ebp
sub eax, esi
cmp eax, 9
jl 0x1007846a
test ebx, ebx
jne 0x10077b10
mov byte [esi + 8], 0x30
mov dword [esi + 4], 0x30303030
mov dword [esi], 0x30303030
jmp 0x10077b9b
test ebx, ebx
je 0x10077da4
mov edx, 9
cmp ebx, 0x5f5e0ff
ja 0x10077ca0
mov edx, 8
cmp ebx, 0x98967f
ja 0x10077ca0
mov edx, 7
cmp ebx, 0xf423f
ja 0x10077ca0
mov edx, 6
cmp ebx, 0x1869f
ja 0x10077ca0
mov edx, 5
cmp ebx, 0x270f
ja 0x10077ca0
mov edx, 4
cmp ebx, 0x3e7
ja 0x10077ca0
mov edx, 3
cmp ebx, 0x63
ja 0x10077ca0
cmp ebx, 0xa
mov edx, 1
sbb edx, 0xffffffff
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*8]
add eax, edx
dec eax
cmp edx, dword [esp + 0x10]
ja 0x100781d9
cmp dword [esp + 0x64], 0
mov dword [esp], edx
mov dword [esp + 0x14], eax
je 0x10077db0
mov eax, ebp
sub eax, esi
cmp eax, edx
jle 0x1007846a
xor edi, edi
cmp ebx, 0x2710
jb 0x10077d4b
mov dword [esp + 4], esi
lea ebp, [esi + edx]
dec ebp
xor edi, edi
nop word cs:[eax + eax]
mov ecx, ebx
mov eax, ebx
mov edx, 0xd1b71759
mul edx
mov ebx, edx
shr ebx, 0xd
imul esi, ebx, 0xffffd8f0
add esi, ecx
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [ebp + edi], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [ebp + edi - 2], ax
add edi, 0xfffffffc
cmp ecx, 0x5f5e0ff
ja 0x10077cf0
neg edi
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 4]
mov edx, dword [esp]
cmp ebx, 0x64
jb 0x10077d7f
movzx eax, bx
shr eax, 2
imul eax, eax, 0x147b
shr eax, 0x11
imul ecx, eax, 0x64
sub ebx, ecx
movzx ecx, bx
mov edx, dword [esp]
add edx, esi
not edi
movzx ecx, word [ecx + ecx + 0x10156fe0]
mov word [edi + edx], cx
mov edx, dword [esp]
mov ebx, eax
mov edi, dword [esp + 0x28]
lea eax, [edx + 1]
cmp ebx, 0xa
jb 0x10077dc3
movzx ecx, byte [ebx + ebx + 0x10156fe1]
mov byte [esi + 2], cl
mov byte [esi + 1], 0x2e
movzx ebx, byte [ebx + ebx + 0x10156fe0]
jmp 0x10077dca
mov dword [esp], 0
jmp 0x10077ba5
cmp esi, ebp
je 0x1007846a
add bl, 0x30
mov byte [esi], bl
inc esi
jmp 0x10077ba5
mov byte [esi + 1], 0x2e
add bl, 0x30
mov ecx, dword [esp + 0x1c]
mov byte [esi], bl
add esi, eax
mov ebx, dword [esp + 0x18]
cmp ecx, 1
jg 0x10077bb6
mov dword [esp + 4], esi
test ebx, ebx
mov edx, dword [esp]
js 0x10077e4f
mov eax, dword [esp + 0x10]
sub eax, edx
xor ecx, ecx
mov edi, eax
mov esi, edx
xor ebx, ebx
mov eax, dword [esp + 0x64]
jmp 0x100782df
cmp edi, 1
mov eax, edi
sbb eax, 0
add eax, 6
mov ecx, ebx
sub ecx, esi
mov edx, 0x84
cmp ecx, eax
mov ebp, ebx
jl 0x10078592
mov byte [esi], 0x30
test edi, edi
je 0x100781cb
lea eax, [esi + 2]
mov byte [esi + 1], 0x2e
push edi
push 0x30
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebp, [esi + edi]
add ebp, 2
mov dword [ebp], 0x30302b65
jmp 0x1007858d
mov eax, ebx
neg eax
mov ecx, eax
shr ecx, 4
movzx ebp, byte [ecx + 0x101573ec]
movzx esi, word [ecx + ecx + 0x10157432]
mov dword [esp + 0x2c], esi
movzx ecx, word [ecx + ecx + 0x10157434]
mov dword [esp + 0x20], ecx
and eax, 0xfffffff0
add eax, ebx
mov esi, 0x80
mov ecx, dword [esp + 0x24]
shld edi, ecx, 8
mov dword [esp + 0x38], edi
sub esi, eax
mov dword [esp + 0x3c], esi
shl ecx, 8
mov dword [esp + 0x34], ecx
cmp ebp, 0xc8
mov eax, 0xc7
cmovae eax, ebp
mov dword [esp + 8], eax
mov esi, edx
mov ecx, 0xd1b71759
mov dword [esp + 0x1c], ebp
mov edi, ebp
mov ebp, dword [esp + 0x58]
jmp 0x10077ef0
mov byte [ebp + 8], 0x30
mov dword [ebp + 4], 0x30303030
mov dword [ebp], 0x30303030
add ebp, 9
mov dword [esp + 4], ebp
mov ebp, edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 1]
mov esi, edx
cmp edi, dword [esp + 8]
mov edi, eax
je 0x10077dea
mov eax, edi
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x20]
jae 0x10077f30
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x1016ea40]
push dword [esp + 0x3c]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1006fbb0
add esp, 0x10
mov ebx, eax
test esi, esi
je 0x10077fff
mov ecx, 0xd1b71759
jmp 0x10077f3a
xor ebx, ebx
test esi, esi
je 0x10078172
lea edx, [esi + 9]
cmp edx, dword [esp + 0x10]
ja 0x100781c0
mov dword [esp + 0xc], edi
mov edi, ebp
mov eax, ebp
mov ebp, dword [esp + 4]
sub eax, ebp
cmp eax, 9
jl 0x100781ae
test ebx, ebx
je 0x10077ec0
mov eax, ebx
mov dword [esp], edx
mul ecx
mov ecx, edx
shr ecx, 0xd
imul esi, ecx, 0xffffd8f0
add esi, ebx
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [ebp + 7], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [esp + 0x30], ax
mov eax, ebx
mov edx, 0x55e63b89
mul edx
mov ebx, edx
shr ebx, 0x19
imul esi, ebx, 0xffffd8f0
add esi, ecx
mov ecx, 0xd1b71759
mov eax, esi
mov edx, 0x51eb851f
mul edx
movzx eax, word [esp + 0x30]
mov word [ebp + 5], ax
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [ebp + 3], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov edx, dword [esp]
mov word [ebp + 1], ax
add bl, 0x30
mov byte [ebp], bl
jmp 0x10077ed2
test ebx, ebx
je 0x10078179
mov edx, 9
cmp ebx, 0x5f5e0ff
ja 0x1007806a
mov edx, 8
cmp ebx, 0x98967f
ja 0x1007806a
mov edx, 7
cmp ebx, 0xf423f
ja 0x1007806a
mov edx, 6
cmp ebx, 0x1869f
ja 0x1007806a
mov edx, 5
cmp ebx, 0x270f
ja 0x1007806a
mov edx, 4
cmp ebx, 0x3e7
ja 0x1007806a
mov edx, 3
cmp ebx, 0x63
ja 0x1007806a
cmp ebx, 0xa
mov edx, 1
sbb edx, 0xffffffff
mov eax, edi
not eax
lea eax, [eax + eax*8]
add eax, edx
dec eax
cmp edx, dword [esp + 0x10]
mov esi, dword [esp + 4]
ja 0x100781dd
cmp dword [esp + 0x64], 0
mov ecx, 0xd1b71759
mov dword [esp + 0x14], eax
je 0x10078185
mov eax, ebp
sub eax, esi
cmp eax, edx
jle 0x1007846a
mov dword [esp + 0xc], edi
xor edi, edi
cmp ebx, 0x2710
jb 0x1007811b
mov dword [esp], edx
lea ebp, [esi + edx]
dec ebp
xor edi, edi
nop dword [eax]
mov ecx, ebx
mov eax, ebx
mov edx, 0xd1b71759
mul edx
mov ebx, edx
shr ebx, 0xd
imul esi, ebx, 0xffffd8f0
add esi, ecx
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [ebp + edi], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [ebp + edi - 2], ax
add edi, 0xfffffffc
cmp ecx, 0x5f5e0ff
ja 0x100780c0
neg edi
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 4]
mov edx, dword [esp]
cmp ebx, 0x64
jb 0x1007814d
movzx eax, bx
shr eax, 2
imul eax, eax, 0x147b
shr eax, 0x11
imul ecx, eax, 0x64
sub ebx, ecx
movzx ecx, bx
mov ebx, edx
add edx, esi
not edi
movzx ecx, word [ecx + ecx + 0x10156fe0]
mov word [edi + edx], cx
mov edx, ebx
mov ebx, eax
mov edi, dword [esp + 0xc]
lea eax, [edx + 1]
cmp ebx, 0xa
jb 0x10078195
movzx ecx, byte [ebx + ebx + 0x10156fe1]
mov byte [esi + 2], cl
mov byte [esi + 1], 0x2e
movzx ebx, byte [ebx + ebx + 0x10156fe0]
jmp 0x1007819c
xor edx, edx
jmp 0x10077edf
xor edx, edx
mov ecx, 0xd1b71759
jmp 0x10077edf
cmp esi, ebp
je 0x1007846a
add bl, 0x30
mov byte [esi], bl
inc esi
jmp 0x100781a5
mov byte [esi + 1], 0x2e
add bl, 0x30
mov ecx, 0xd1b71759
mov byte [esi], bl
add esi, eax
mov dword [esp + 4], esi
jmp 0x10077edf
mov edx, 0x84
mov ebp, edi
jmp 0x10078592
mov dword [esp + 4], esi
mov esi, eax
mov edx, 9
mov eax, dword [esp + 0x14]
jmp 0x100781df
inc esi
mov ebp, esi
mov dword [esi], 0x30302b65
jmp 0x1007858d
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
sub edi, esi
xor ecx, ecx
sub edx, edi
jbe 0x1007820d
mov dword [esp + 8], edi
cmp edx, 2
mov ebp, 1
cmovae ebp, edx
lea eax, [ebp - 1]
mov edi, ebp
and edi, 3
cmp eax, 3
jae 0x10078216
jmp 0x10078243
mov eax, dword [esp + 0x64]
jmp 0x100782df
and ebp, 0xfffffffc
nop dword [eax]
mov ecx, ebx
mov eax, ebx
mov edx, 0xd1b71759
mul edx
mov ebx, edx
shr ebx, 0xd
add ebp, 0xfffffffc
jne 0x10078220
mov edx, 0x10624dd3
mov eax, ecx
mul edx
mov ecx, edx
shr ecx, 6
test edi, edi
je 0x1007825e
mov ebp, 0xcccccccd
nop dword [eax]
mov ecx, ebx
mov eax, ebx
mul ebp
mov ebx, edx
shr ebx, 3
dec edi
jne 0x10078250
mov edx, 0xcccccccd
mov eax, ecx
mul edx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
sub ecx, eax
cmp ecx, 5
jne 0x100782d3
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, eax
neg ecx
test ecx, ecx
jle 0x1007859c
cmp ecx, 0x3b
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
ja 0x1007869a
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov eax, 0xffffffff
mov edx, 0xffffffff
shl edx, cl
xor esi, esi
test cl, 0x20
cmovne eax, edx
cmove esi, edx
not esi
not eax
and eax, edi
and esi, dword [esp + 0x24]
or esi, eax
sete al
jmp 0x100785ae
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 8]
xor edx, edx
cmp ecx, 6
setae dl
mov dword [esp], edx
test esi, esi
je 0x10078360
mov eax, ebp
mov esi, dword [esp + 4]
sub eax, esi
mov edx, 0x84
cmp eax, edi
jl 0x10078592
test ebx, ebx
je 0x10078474
mov eax, edi
dec edi
mov dword [esp + 8], eax
je 0x10078486
lea ebp, [esi + eax]
add ebp, 0xfffffffe
xor esi, esi
mov ecx, ebx
nop word cs:[eax + eax]
mov eax, ecx
mov edx, 0x51eb851f
mul edx
mov ebx, edx
shr ebx, 5
imul eax, ebx, 0x64
sub ecx, eax
movzx eax, word [ecx + ecx + 0x10156fe0]
mov word [ebp], ax
add esi, 2
add ebp, 0xfffffffe
mov ecx, ebx
cmp esi, edi
jb 0x10078330
jmp 0x10078488
test eax, eax
mov esi, dword [esp + 0x54]
je 0x1007845a
mov eax, ebp
sub eax, dword [esp + 4]
lea ecx, [edi + 1]
mov edx, 0x84
cmp eax, ecx
jl 0x10078592
xor ebp, ebp
cmp ebx, 0x2710
jb 0x100783fb
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 4]
mov dword [esp + 8], edi
add edi, eax
dec edi
xor ebp, ebp
nop dword [eax]
mov ecx, ebx
mov eax, ebx
mov edx, 0xd1b71759
mul edx
mov ebx, edx
shr ebx, 0xd
imul esi, ebx, 0xffffd8f0
add esi, ecx
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
sub esi, eax
movzx eax, word [esi + esi + 0x10156fe0]
mov word [edi + ebp], ax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [edi + ebp - 2], ax
add ebp, 0xfffffffc
cmp ecx, 0x5f5e0ff
ja 0x100783a0
neg ebp
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp ebx, 0x64
jb 0x10078430
movzx eax, bx
shr eax, 2
imul eax, eax, 0x147b
shr eax, 0x11
mov edx, ecx
imul ecx, eax, 0x64
sub ebx, ecx
movzx ecx, bx
add edi, dword [esp + 4]
not ebp
movzx ecx, word [ecx + ecx + 0x10156fe0]
mov word [ebp + edi], cx
mov ecx, edx
mov ebx, eax
mov ebp, dword [esp + 0x58]
cmp ebx, 0xa
jb 0x100784be
movzx eax, byte [ebx + ebx + 0x10156fe1]
mov edi, dword [esp + 4]
mov byte [edi + 2], al
mov byte [edi + 1], 0x2e
movzx ebx, byte [ebx + ebx + 0x10156fe0]
jmp 0x100784c9
mov edi, dword [esp + 4]
cmp edi, ebp
je 0x1007846a
add bl, 0x30
mov byte [edi], bl
inc edi
jmp 0x100784cd
mov edx, 0x84
jmp 0x10078592
push edi
push 0x30
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
mov edi, esi
jmp 0x100784b6
xor esi, esi
mov ecx, dword [esp + 8]
cmp esi, ecx
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 4]
jae 0x100784b6
mov edx, 0xcccccccd
mov eax, ebx
mul edx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
sub ebx, eax
or bl, 0x30
not esi
add esi, ecx
mov byte [edi + esi], bl
add edi, ecx
mov esi, dword [esp + 0x54]
jmp 0x100784cd
mov edi, dword [esp + 4]
mov byte [edi + 1], 0x2e
add bl, 0x30
mov byte [edi], bl
add edi, ecx
mov ebx, dword [esp]
test ebx, ebx
je 0x1007851c
cmp edi, esi
je 0x10078501
mov eax, edi
jmp 0x100784e6
mov eax, edx
cmp edx, esi
je 0x10078501
lea edx, [eax - 1]
movzx ecx, byte [eax - 1]
cmp ecx, 0x2e
je 0x100784e0
cmp ecx, 0x39
jne 0x1007850b
mov byte [edx], 0x30
mov ebx, 1
jmp 0x100784e0
mov byte [esi], 0x31
mov eax, dword [esp + 0x14]
inc eax
jmp 0x10078520
cmp ebx, 1
je 0x10078517
mov edx, ecx
and dl, 1
je 0x1007851c
inc cl
mov byte [eax - 1], cl
mov eax, dword [esp + 0x14]
mov ecx, eax
neg ecx
cmovs ecx, eax
mov ebx, eax
xor eax, eax
cmp ecx, 0x64
setae al
or eax, 4
mov esi, ebp
sub esi, edi
mov edx, 0x84
cmp esi, eax
jl 0x10078592
shr ebx, 0x1f
add bl, bl
add bl, 0x2b
mov byte [edi], 0x65
mov byte [edi + 1], bl
cmp ecx, 0x64
mov ebp, edi
jb 0x10078581
mov edx, 0xcccccccd
mov eax, ecx
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ecx, eax
movzx eax, word [edx + edx + 0x10156fe0]
mov word [ebp + 2], ax
or cl, 0x30
mov byte [ebp + 4], cl
add ebp, 5
jmp 0x10078590
movzx eax, word [ecx + ecx + 0x10156fe0]
mov word [ebp + 2], ax
add ebp, 4
xor edx, edx
mov eax, ebp
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov al, 1
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jns 0x10078673
test al, al
je 0x10078673
mov edx, 0xffffffff
mov ebp, dword [esp + 0x24]
nop word [eax + eax]
mov dword [esp + 0xc], edx
xor eax, eax
mov ecx, 0xcccccccc
inc ecx
sete al
mov dword [esp], eax
mov eax, ebp
mul ecx
mov dword [esp + 0x20], edx
mov eax, ebp
mov edx, 0xcccccccc
mul edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov eax, edi
mul ecx
mov esi, edi
mov edi, eax
mov ecx, edx
mov dword [esp + 0x24], ebp
imul ebp, dword [esp]
add ebp, dword [esp + 0x20]
mov eax, esi
mov edx, 0xcccccccc
mul edx
mov dword [esp + 0x20], eax
mov eax, dword [esp]
imul eax, esi
add edi, ebp
adc ecx, eax
add edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
adc esi, 0
add ecx, dword [esp + 0x20]
mov edi, edx
mov edx, dword [esp + 0xc]
adc edi, 0
add ecx, esi
adc edi, 0
shrd ecx, edi, 2
shr edi, 2
lea eax, [ecx + ecx*4]
inc edx
cmp eax, dword [esp + 0x24]
mov ebp, ecx
je 0x100785d0
mov eax, dword [esp + 0x10]
neg eax
cmp edx, eax
mov ebp, dword [esp + 0x58]
jb 0x10078682
mov dword [esp], 2
jmp 0x10078689
cmp dword [esp + 0x10], 0
setns cl
and cl, al
cmp cl, 1
je 0x1007866a
mov dword [esp], 1
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x18]
jmp 0x100782ea
mov dword [esp], 1
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 8]
jmp 0x100782ea