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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x4010]
test esi, esi
je 0x4058c7
add esi, dword [eax + 0x4000]
jmp 0x4058c9
xor esi, esi
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
mov edx, ebx
call fcn.00407bef
mov ecx, dword [esp + 0x70]
xor eax, eax
inc eax
cmp edi, 2
cmovl edi, eax
mov eax, 0x10001
cmp edi, eax
cmovae edi, eax
mov dword [esp + 0x2c], edi
mov eax, dword [ecx + 0x4010]
cmp eax, 3
ja 0x405924
test ebx, ebx
jle 0x405924
cmp esi, dword [esp + 0x74]
je 0x405924
cmp dword [ecx + 0x4004], 0
jne 0x405924
and dword [ecx + 0x4010], 0
mov esi, dword [esp + 0x74]
mov dword [ecx + 0x4000], esi
xor eax, eax
mov edx, ecx
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
add ecx, ebx
mov ebx, dword [edx + 0x4000]
cmp ecx, ebx
mov dword [esp + 0x34], ecx
jbe 0x40596e
cmp ecx, esi
jae 0x40596e
mov ecx, esi
sub ecx, dword [esp + 0x34]
mov eax, 0x10000
cmp ecx, eax
cmovae ecx, eax
xor eax, eax
cmp ecx, 4
cmovae eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x4010], eax
mov ebx, esi
sub ebx, eax
mov dword [ecx + 0x4000], ebx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x78]
cmp esi, dword [esp + 0x74]
je 0x405f91
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 0x4004]
mov dword [esp + 4], edx
test edx, edx
mov esi, dword [esp + 0x7c]
je 0x406013
cmp esi, 0x1001
jl 0x4065c6
push 0x4014
push dword [esp + 8]
push dword [esp + 0x78]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0xc], 0
cmp esi, 0x7e000000
ja 0x407b7e
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + 0x4000]
mov edi, dword [edx + 0x4008]
mov esi, dword [esp + 0x74]
mov eax, esi
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x4010]
lea ebx, [ecx + eax]
mov ebp, ebx
sub ebp, edi
test ecx, ecx
cmove ebx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
cmove ebp, ecx
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x7c]
add eax, ebx
mov dword [edx + 0x4010], eax
lea eax, [edi + ebx]
mov dword [edx + 0x4008], eax
mov dword [edx + 0x400c], 2
imul eax, dword [esi], 0x9e3779b1
mov ecx, dword [esp + 0x34]
lea ebp, [ecx - 0xb]
mov dword [esp + 0x10], ebp
shr eax, 0x14
mov dword [esp + 0x28], edi
mov dword [edx + eax*4], edi
lea eax, [ecx - 5]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add dword [esp + 0x24], eax
mov edi, dword [esp + 0x2c]
shl edi, 6
lea edx, [ecx - 8]
mov dword [esp + 8], edx
add ecx, 0xfffffffa
mov dword [esp + 0x54], ecx
lea ecx, [esi + 4]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + esi]
add ecx, 0xfffffffb
mov dword [esp + 0x48], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 4], eax
mov dword [esp + 0x2c], edi
mov eax, esi
lea ebx, [esi + 1]
mov dword [esp + 0x4c], esi
mov edx, dword [esi + 1]
mov eax, edi
add ecx, ebx
cmp ecx, dword [esp + 0x10]
ja 0x407af4
imul ebp, edx, 0x9e3779b1
shr ebp, 0x14
mov esi, ebx
sub esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [edx + ebp*4]
mov edi, dword [ecx]
mov dword [edx + ebp*4], esi
lea ebp, [ebx + 0xffff]
cmp ebp, esi
jb 0x405af5
mov edx, esi
cmp ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
cmovb ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebp + ebx]
mov esi, dword [esp]
cmp ebx, dword [esi]
mov ebx, dword [esp + 0x18]
je 0x405b01
mov ebx, ecx
mov ecx, eax
shr ecx, 6
inc eax
mov edx, edi
jmp 0x405a9b
mov ecx, dword [esp]
mov eax, ebx
add ebx, ebp
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
cmovb eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
cmp ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edx
jbe 0x405b31
mov al, byte [ecx - 1]
cmp al, byte [ebx - 1]
je 0x405f51
mov edx, dword [esp + 4]
mov edi, ecx
sub ecx, dword [esp + 0x4c]
lea esi, [edx + ecx]
mov eax, ecx
xor edx, edx
mov ebp, 0xff
div ebp
add eax, esi
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b7e
cmp ecx, 0xf
jb 0x405b8f
lea edx, [ecx - 0xf]
mov eax, dword [esp + 4]
mov byte [eax], 0xf0
add eax, 2
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x4c]
cmp edx, 0xff
jl 0x405ba9
mov byte [eax - 1], 0xff
add edx, 0xffffff01
inc eax
jmp 0x405b7a
mov esi, dword [esp + 4]
lea eax, [esi + 1]
mov edx, ecx
shl dl, 4
mov byte [esi], dl
mov edx, esi
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x4c]
jmp 0x405bb0
mov byte [eax - 1], dl
mov edx, dword [esp + 4]
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
add ecx, eax
movsd xmm0, qword [esi]
movsd qword [eax], xmm0
add eax, 8
add esi, 8
cmp eax, ecx
jb 0x405bbe
jmp 0x405d2d
mov ebx, edx
lea ecx, [esi + 1]
mov byte [esi], 0
sub dword [esp + 0x14], ebp
mov edx, esi
jmp 0x405d2d
mov edi, dword [esp + 0x74]
mov esi, edi
mov eax, dword [esp + 0x18]
mov edx, eax
cmp dword [esp + 8], eax
jbe 0x405c17
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, dword [edi]
je 0x405c0c
bsf edx, edx
shr edx, 3
jmp 0x405c52
mov eax, dword [esp + 0x18]
lea edx, [eax + 4]
mov esi, dword [esp + 0x50]
mov edi, ebp
mov ebp, dword [esp]
add ebp, dword [esp + 0x40]
sub ebp, edi
mov edi, dword [esp + 0x48]
cmp ebp, edi
cmovae ebp, edi
mov edi, edx
sub edi, ebp
cmp edx, dword [esp + 8]
jae 0x405ce0
mov ebp, dword [edx]
xor ebp, dword [esi]
jne 0x405c4a
add edx, 4
add esi, 4
add edi, 4
jmp 0x405c2f
bsf edx, ebp
shr edx, 3
add edx, edi
add ebx, edx
mov eax, dword [esp + 0x18]
add eax, edx
jmp 0x405dcb
cmp ebx, dword [esp + 0x54]
jae 0x405c73
movzx esi, word [edx]
cmp si, word [ebx]
jne 0x405c73
add ebx, 2
add edx, 2
cmp ebx, dword [esp + 0x30]
jae 0x405c8f
mov dl, byte [edx]
mov byte [esp + 0x18], dl
mov dl, byte [esp + 0x18]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
sub ebx, eax
jmp 0x405dc3
mov eax, dword [esp + 0x18]
lea edx, [eax - 1]
cmp ebx, edx
jae 0x405cb5
movzx edx, word [esi]
cmp dx, word [ebx]
mov ebp, dword [esp + 0x20]
jne 0x405cb9
add ebx, 2
add esi, 2
jmp 0x405cb9
mov ebp, dword [esp + 0x20]
cmp ebx, dword [esp + 0x18]
jae 0x405cd5
mov dl, byte [esi]
mov byte [esp + 0xc], dl
mov dl, byte [esp + 0xc]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
mov edx, dword [esp + 0x14]
sub ebx, edx
jmp 0x405e0d
cmp edx, dword [esp + 0x54]
jae 0x405cf4
movzx edi, word [esi]
cmp di, word [edx]
jne 0x405cf4
add edx, 2
add esi, 2
cmp edx, dword [esp + 0x30]
jae 0x405d0e
mov al, byte [esi]
mov byte [esp], al
mov al, byte [esp]
cmp al, byte [edx]
mov eax, 0
sete al
add edx, eax
sub edx, dword [esp + 0x18]
jmp 0x405c52
mov ebx, eax
jmp 0x405d99
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edx
mov ebx, edx
mov edx, dword [esp]
jmp 0x405de1
mov dword [esp + 4], edx
mov eax, dword [esp + 0x14]
mov word [ecx], ax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x44]
mov dword [esp], edi
je 0x405d5f
lea eax, [edi + 4]
lea edx, [ebx + 4]
cmp dword [esp + 8], eax
jbe 0x405d17
mov esi, dword [eax]
xor esi, dword [edx]
je 0x405d91
bsf ebx, esi
shr ebx, 3
jmp 0x405dc3
mov eax, dword [esp + 0x40]
sub eax, ebx
add eax, edi
mov edx, dword [esp + 0x30]
cmp eax, edx
cmova eax, edx
lea edx, [edi + 4]
lea esi, [ebx + 4]
mov dword [esp + 0x18], eax
lea edi, [eax - 3]
cmp edi, edx
jbe 0x405d1b
mov ebp, ebx
mov ebx, dword [edx]
xor ebx, dword [esi]
je 0x405dd0
bsf ebx, ebx
shr ebx, 3
jmp 0x405e0d
mov edx, ebx
lea ebx, [edi + 8]
add edx, 8
mov esi, ebx
sub esi, edi
add esi, 0xfffffffc
cmp ebx, dword [esp + 8]
jae 0x405c5f
mov edi, dword [ebx]
xor edi, dword [edx]
jne 0x405dbb
add ebx, 4
add edx, 4
add esi, 4
jmp 0x405da0
bsf ebx, edi
shr ebx, 3
add ebx, esi
mov eax, dword [esp]
add eax, ebx
add eax, 4
mov dword [esp], eax
jmp 0x405e22
mov dword [esp + 0x14], edx
mov edx, dword [esp]
lea ebx, [edx + 8]
mov dword [esp + 0x20], ebp
lea esi, [ebp + 8]
mov ebp, ebx
sub ebp, edx
add ebp, 0xfffffffc
cmp ebx, edi
jae 0x405c96
mov edx, dword [ebx]
xor edx, dword [esi]
jne 0x405e01
add ebx, 4
add esi, 4
add ebp, 4
jmp 0x405de8
bsf ebx, edx
shr ebx, 3
add ebx, ebp
mov ebp, dword [esp + 0x20]
mov edx, dword [esp]
add edx, ebx
add edx, 4
cmp edx, dword [esp + 0x18]
je 0x405be8
mov dword [esp], edx
lea eax, [ebx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
add eax, ecx
add eax, 8
cmp eax, dword [esp + 0x24]
ja 0x407b7e
lea esi, [ecx + 2]
mov edx, dword [esp + 4]
mov al, byte [edx]
cmp ebx, 0xf
jb 0x405e87
add al, 0xf
mov byte [edx], al
or dword [ecx + 2], 0xffffffff
add ebx, 0xfffffff1
lea ebp, [ecx + 3]
add ecx, 6
mov eax, ebx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x405e8d
add esi, 4
or dword [ecx], 0xffffffff
add eax, edx
add ebx, edx
add ebp, 4
add ecx, 4
jmp 0x405e6e
add al, bl
mov byte [edx], al
jmp 0x405eb1
movzx ecx, bx
mov eax, ecx
xor edx, edx
mov edi, 0xff
div edi
mov edi, eax
mov eax, ecx
xor edx, edx
mov cx, 0xff
div cx
add al, bl
mov byte [esi + edi], al
add ebp, edi
mov esi, ebp
mov ebp, dword [esp]
cmp ebp, dword [esp + 0x10]
jae 0x407afc
lea eax, [ebp - 2]
imul ecx, dword [ebp - 2], 0x9e3779b1
mov ebx, dword [esp + 0x1c]
sub eax, ebx
shr ecx, 0x14
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
imul eax, dword [ebp], 0x9e3779b1
mov dword [esp], ebp
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0x14], ecx
shr eax, 0x14
mov dword [esp + 0x18], eax
mov ebp, dword [edx + eax*4]
cmp ebp, dword [esp + 0x28]
mov edx, ebx
cmovb edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
cmovb ebx, dword [esp + 0x44]
add edx, ebp
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [edi + ecx*4], eax
lea ecx, [ebp + 0xffff]
cmp ecx, dword [esp + 0x14]
jb 0x405f3e
mov dword [esp + 0x38], ebx
mov ecx, dword [edx]
mov edi, dword [esp]
cmp ecx, dword [edi]
je 0x405bd5
mov dword [esp + 4], esi
mov esi, edi
jmp 0x405f45
mov dword [esp + 4], esi
mov esi, dword [esp]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
inc ecx
jmp 0x405a8d
mov eax, dword [esp + 0x18]
lea esi, [eax + ebp]
dec esi
dec ecx
mov eax, ecx
mov edx, dword [esp + 4]
mov ecx, eax
cmp esi, dword [esp + 0x38]
mov dword [esp + 0x20], esi
jbe 0x405b35
cmp ecx, dword [esp + 0x4c]
jbe 0x405b31
mov ebx, esi
lea eax, [ecx - 1]
mov dl, byte [ecx - 1]
dec esi
cmp dl, byte [ebx - 1]
mov edx, dword [esp + 4]
je 0x405f60
jmp 0x405b35
cmp eax, 0xffff
mov esi, dword [esp + 0x7c]
ja 0x405ffa
mov edx, dword [esp + 0x70]
mov edi, dword [edx + 0x4008]
mov edx, edi
sub edx, eax
mov dword [esp + 0x1c], edx
jbe 0x405ffa
cmp esi, 0x7e000000
ja 0x406006
test esi, esi
je 0x4071fa
add dword [esp + 0x24], ecx
mov edx, ecx
lea ecx, [eax + esi]
mov ebx, esi
mov esi, dword [esp + 0x70]
mov dword [esi + 0x4010], ecx
lea ecx, [edi + ebx]
mov dword [esi + 0x4008], ecx
mov dword [esi + 0x400c], 2
cmp ebx, 0xd
jae 0x4076ac
mov ecx, dword [esp + 0x74]
jmp 0x4079fb
cmp esi, 0x7e000000
jbe 0x406bf0
mov dword [esp + 0xc], 0
jmp 0x407b96
cmp eax, 0xffff
mov dword [esp + 0x44], ebx
ja 0x406bdb
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 0x4008]
mov ebp, edx
sub ebp, eax
mov dword [esp + 0x18], ebp
jbe 0x406bdb
cmp esi, 0x7e000000
ja 0x406be3
test esi, esi
je 0x4071d5
lea ebp, [ebx + eax]
mov dword [esp + 0x38], ebp
sub ebp, edx
test ebx, ebx
cmove ebp, ebx
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x80]
add ebx, ecx
add eax, esi
mov ebp, edx
mov edx, dword [esp + 0x70]
mov dword [edx + 0x4010], eax
lea eax, [esi + ebp]
mov dword [edx + 0x4008], eax
mov dword [edx + 0x400c], 2
mov edx, ecx
mov edi, dword [esp + 0x74]
cmp esi, 0xd
jb 0x407a86
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x74]
mov eax, esi
sub eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
lea edx, [eax - 0xb]
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x44]
test edi, edi
mov edx, dword [esp + 0x38]
cmove edx, edi
mov dword [esp + 0x38], edx
lea edi, [eax - 5]
imul eax, dword [esi], 0x9e3779b1
shr eax, 0x14
mov edx, dword [esp + 0x70]
mov dword [esp + 0x28], ebp
mov dword [edx + eax*4], ebp
mov eax, dword [esp + 0x2c]
shl eax, 6
lea edx, [edi - 3]
mov dword [esp + 8], edx
mov dword [esp + 0x40], edi
lea edx, [edi - 1]
mov dword [esp + 0x50], edx
lea edx, [esi + 4]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
add edx, esi
add edx, 0xfffffffb
mov dword [esp + 0x4c], edx
xor edi, edi
inc edi
mov dword [esp + 4], ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
lea esi, [ecx + 1]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 1]
mov ecx, edi
add ecx, esi
cmp ecx, dword [esp + 0x10]
ja 0x407bde
imul ebp, edx, 0x9e3779b1
shr ebp, 0x14
mov dword [esp], esi
sub esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov edi, dword [ebx + ebp*4]
mov edx, dword [ecx]
mov dword [ebx + ebp*4], esi
cmp edi, dword [esp + 0x18]
jb 0x40617a
lea ebp, [edi + 0xffff]
cmp ebp, esi
jb 0x40617a
cmp edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
cmovb ebp, dword [esp + 0x3c]
mov ebx, dword [ebp + edi]
mov dword [esp + 0x14], edi
mov edi, dword [esp]
cmp ebx, dword [edi]
mov edi, dword [esp + 0x14]
je 0x406184
mov esi, ecx
mov ecx, eax
shr ecx, 6
inc eax
jmp 0x406122
lea ecx, [edi + ebp]
cmp edi, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
cmovb eax, dword [esp + 0x44]
mov ebx, eax
cmp ecx, eax
mov edx, dword [esp + 4]
mov dword [esp + 0x20], ecx
jbe 0x4061b1
mov eax, dword [esp]
mov al, byte [eax - 1]
cmp al, byte [ecx - 1]
je 0x406585
mov ecx, dword [esp]
sub ecx, dword [esp + 0x30]
lea edi, [edx + ecx]
mov eax, ecx
xor edx, edx
mov ebp, 0xff
div ebp
add eax, edi
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b7e
cmp ecx, 0xf
mov ebp, dword [esp + 0x20]
jb 0x40620c
lea edx, [ecx - 0xf]
mov eax, dword [esp + 4]
mov byte [eax], 0xf0
add eax, 2
mov edi, dword [esp + 0x30]
cmp edx, 0xff
jl 0x406220
mov byte [eax - 1], 0xff
add edx, 0xffffff01
inc eax
jmp 0x4061f7
mov edi, dword [esp + 4]
lea eax, [edi + 1]
mov edx, ecx
shl dl, 4
mov byte [edi], dl
mov edi, dword [esp + 0x30]
jmp 0x406223
mov byte [eax - 1], dl
sub esi, dword [esp + 0x14]
add ecx, eax
mov edx, dword [esp + 0x38]
movsd xmm0, qword [edi]
movsd qword [eax], xmm0
add eax, 8
add edi, 8
cmp eax, ecx
jb 0x40622d
jmp 0x406326
lea ecx, [edi + 1]
mov byte [edi], 0
sub esi, eax
mov dword [esp + 4], edi
mov edx, dword [esp + 0x38]
jmp 0x406326
cmp ebx, dword [esp + 0x50]
jae 0x40626d
movzx esi, word [edx]
cmp si, word [ebx]
jne 0x40626d
add ebx, 2
add edx, 2
mov esi, dword [esp]
cmp ebx, dword [esp + 0x40]
jae 0x40628a
mov dl, byte [edx]
mov byte [esp], dl
mov dl, byte [esp]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
sub ebx, eax
jmp 0x4063b7
lea edx, [eax - 1]
cmp ebx, edx
jae 0x4062ac
movzx edx, word [esi]
cmp dx, word [ebx]
mov ebp, dword [esp + 0x20]
jne 0x4062b0
add ebx, 2
add esi, 2
jmp 0x4062b0
mov ebp, dword [esp + 0x20]
cmp ebx, eax
jae 0x4062ca
mov dl, byte [esi]
mov byte [esp + 0xc], dl
mov dl, byte [esp + 0xc]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
mov edx, dword [esp]
sub ebx, dword [esp + 0x14]
jmp 0x406404
cmp edx, dword [esp + 0x50]
jae 0x4062ee
mov ebp, eax
movzx edi, word [esi]
cmp di, word [edx]
jne 0x4062f0
add edx, 2
add esi, 2
jmp 0x4062f0
mov ebp, eax
cmp edx, dword [esp + 0x40]
jae 0x406304
mov al, byte [esi]
cmp al, byte [edx]
mov eax, 0
sete al
add edx, eax
mov eax, ebp
sub edx, ebp
jmp 0x406470
mov ebx, eax
mov edi, dword [esp]
jmp 0x40638a
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edx
mov ebx, edx
mov edx, dword [esp]
jmp 0x4063d5
mov word [ecx], si
cmp ebx, dword [esp + 0x44]
je 0x40634c
mov eax, dword [esp]
add eax, 4
lea edx, [ebp + 4]
cmp dword [esp + 8], eax
jbe 0x40630d
mov esi, dword [eax]
xor esi, dword [edx]
je 0x40637f
bsf ebx, esi
shr ebx, 3
jmp 0x4063b4
mov eax, edx
sub eax, ebp
mov esi, dword [esp]
add eax, esi
mov edx, dword [esp + 0x40]
cmp eax, edx
cmova eax, edx
lea edx, [esi + 4]
lea esi, [ebp + 4]
lea edi, [eax - 3]
cmp edi, edx
jbe 0x406314
mov ebx, dword [edx]
xor ebx, dword [esi]
je 0x4063c4
bsf ebx, ebx
shr ebx, 3
mov edx, dword [esp]
jmp 0x406404
mov edi, dword [esp]
lea ebx, [edi + 8]
add ebp, 8
mov edx, ebp
mov esi, ebx
sub esi, edi
add esi, 0xfffffffc
cmp ebx, dword [esp + 8]
jae 0x406259
mov edi, dword [ebx]
xor edi, dword [edx]
jne 0x4063ac
add ebx, 4
add edx, 4
add esi, 4
jmp 0x406391
bsf ebx, edi
shr ebx, 3
add ebx, esi
mov esi, dword [esp]
add esi, ebx
add esi, 4
mov dword [esp], esi
jmp 0x406477
mov dword [esp + 0x14], edx
mov edx, dword [esp]
lea ebx, [edx + 8]
mov dword [esp + 0x20], ebp
lea esi, [ebp + 8]
mov ebp, ebx
sub ebp, edx
add ebp, 0xfffffffc
cmp ebx, edi
jae 0x406291
mov edx, dword [ebx]
xor edx, dword [esi]
jne 0x4063f5
add ebx, 4
add esi, 4
add ebp, 4
jmp 0x4063dc
bsf ebx, edx
shr ebx, 3
add ebx, ebp
mov edx, dword [esp]
mov ebp, dword [esp + 0x20]
add edx, ebx
add edx, 4
cmp edx, eax
je 0x406412
mov dword [esp], edx
jmp 0x406477
mov edi, dword [esp + 0x74]
mov esi, edi
mov edx, eax
cmp dword [esp + 8], eax
jbe 0x406435
mov edx, dword [eax]
xor edx, dword [edi]
je 0x40642e
bsf edx, edx
shr edx, 3
jmp 0x406470
lea edx, [eax + 4]
mov esi, dword [esp + 0x48]
mov edi, ebp
mov ebp, dword [esp]
add ebp, dword [esp + 0x38]
sub ebp, edi
mov edi, dword [esp + 0x4c]
cmp ebp, edi
cmovae ebp, edi
mov edi, edx
sub edi, ebp
cmp edx, dword [esp + 8]
jae 0x4062d6
mov ebp, dword [edx]
xor ebp, dword [esi]
jne 0x406468
add edx, 4
add esi, 4
add edi, 4
jmp 0x40644d
bsf edx, ebp
shr edx, 3
add edx, edi
add ebx, edx
add eax, edx
mov dword [esp], eax
lea eax, [ebx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
add eax, ecx
add eax, 8
cmp eax, dword [esp + 0x24]
ja 0x407b7e
lea edi, [ecx + 2]
mov edx, dword [esp + 4]
mov al, byte [edx]
cmp ebx, 0xf
jb 0x4064dc
add al, 0xf
mov byte [edx], al
or dword [ecx + 2], 0xffffffff
add ebx, 0xfffffff1
lea esi, [ecx + 3]
add ecx, 6
mov eax, ebx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x4064e2
add edi, 4
or dword [ecx], 0xffffffff
add eax, edx
add ebx, edx
add esi, 4
add ecx, 4
jmp 0x4064c3
add al, bl
mov byte [edx], al
jmp 0x406506
movzx ecx, bx
mov eax, ecx
xor edx, edx
mov ebp, 0xff
div ebp
mov ebp, eax
mov eax, ecx
xor edx, edx
mov cx, 0xff
div cx
add al, bl
mov byte [edi + ebp], al
add esi, ebp
mov edi, esi
mov esi, dword [esp]
cmp esi, dword [esp + 0x10]
jae 0x407a7e
lea eax, [esi - 2]
imul ecx, dword [esi - 2], 0x9e3779b1
mov ebx, dword [esp + 0x1c]
sub eax, ebx
shr ecx, 0x14
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
imul ecx, dword [esi], 0x9e3779b1
sub esi, ebx
shr ecx, 0x14
mov eax, dword [edx + ecx*4]
cmp eax, dword [esp + 0x28]
mov ebp, ebx
cmovb ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
cmovb ebx, dword [esp + 0x44]
add ebp, eax
mov dword [edx + ecx*4], esi
lea ecx, [eax + 0xffff]
cmp eax, dword [esp + 0x18]
jb 0x406572
cmp ecx, esi
jb 0x406572
mov ecx, dword [ebp]
mov edx, dword [esp]
cmp ecx, dword [edx]
je 0x406244
mov dword [esp + 4], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0x2c]
xor edi, edi
inc edi
jmp 0x406116
lea ecx, [edi + ebp]
dec ecx
mov eax, dword [esp]
dec eax
mov edx, ecx
mov dword [esp + 0x20], ecx
cmp ecx, ebx
mov dword [esp], eax
jbe 0x4065bd
mov ecx, eax
cmp eax, dword [esp + 0x30]
jbe 0x4065bd
lea eax, [ecx - 1]
mov dl, byte [ecx - 1]
mov ebp, dword [esp + 0x20]
lea ecx, [ebp - 1]
cmp dl, byte [ebp - 1]
mov edx, dword [esp + 4]
je 0x40658d
jmp 0x4061b1
mov edx, dword [esp + 4]
jmp 0x4061b1
cmp esi, 0x7e000000
ja 0x406be3
test esi, esi
mov ecx, dword [esp + 0x70]
je 0x4071d5
mov edx, dword [esp + 4]
mov esi, dword [edx + 0x4000]
mov edi, dword [edx + 0x4008]
mov edx, dword [edx + 0x4010]
add edx, esi
mov eax, edx
mov dword [esp], edi
sub eax, edi
test esi, esi
cmove eax, esi
mov dword [esp + 0x44], eax
mov ebx, dword [ecx + 0x4008]
and dword [ecx + 0x4004], 0
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
add ebp, ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x4010], ecx
add ecx, ebx
mov dword [eax + 0x4008], ecx
mov dword [eax + 0x400c], 2
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ecx, eax
cmp dword [esp + 0x7c], 0xd
jb 0x4075df
mov dword [esp + 0x24], ebp
mov ecx, eax
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, ebx
sub eax, dword [esp]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
lea ebp, [eax - 0xb]
mov dword [esp + 0x18], ebp
lea ebp, [eax - 5]
test esi, esi
mov dword [esp + 0x3c], esi
cmove edx, esi
mov dword [esp + 0x30], edx
imul eax, dword [ecx], 0x9e3779b1
shr eax, 0x14
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
shl edi, 6
lea eax, [ebp - 3]
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ebp
lea eax, [ebp - 1]
mov dword [esp + 0x58], eax
lea eax, [ecx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
lea eax, [eax + ecx - 5]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 0x2c], edi
lea ebx, [eax + 1]
mov dword [esp + 0x48], eax
mov esi, dword [eax + 1]
xor edx, edx
inc edx
mov eax, edi
add edx, ebx
cmp edx, dword [esp + 0x18]
ja 0x407baf
mov edi, ecx
imul ebp, esi, 0x9e3779b1
shr ebp, 0x14
mov dword [esp], ebx
mov ecx, dword [esp + 0x10]
sub ebx, ecx
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x70]
mov esi, dword [esi + ebp*4]
cmp esi, dword [esp + 0x14]
jae 0x406734
mov ecx, dword [esp + 4]
mov esi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x44]
add ecx, esi
mov dword [esp + 0x1c], ecx
add esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
jmp 0x40673e
add ecx, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edi
mov edi, dword [edx]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 8]
mov dword [ecx + ebp*4], ebx
lea ebp, [esi + 0xffff]
cmp ebp, ebx
jb 0x406762
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx]
mov ecx, dword [esp]
cmp ebp, dword [ecx]
je 0x406775
mov ebx, edx
mov edx, eax
shr edx, 6
inc eax
mov ecx, dword [esp + 0x74]
mov esi, edi
jmp 0x4066e4
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
jbe 0x4067c4
mov eax, dword [esp]
mov al, byte [eax - 1]
cmp al, byte [ecx - 1]
mov edi, dword [esp + 0x48]
jne 0x4067c8
dec ecx
mov eax, dword [esp]
dec eax
mov ebp, eax
mov edx, ecx
mov ecx, edx
cmp edx, dword [esp + 0x28]
mov dword [esp], ebp
jbe 0x4067c8
mov edx, ebp
cmp ebp, edi
jbe 0x4067c8
lea ebp, [edx - 1]
mov dl, byte [edx - 1]
mov byte [esp + 0x1c], dl
lea edx, [ecx - 1]
mov al, byte [esp + 0x1c]
cmp al, byte [ecx - 1]
je 0x40679b
jmp 0x4067c8
mov edi, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp]
sub ecx, edi
mov eax, dword [esp + 0x40]
lea edi, [eax + ecx]
mov eax, ecx
xor edx, edx
mov ebp, 0xff
div ebp
add eax, edi
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, ebx
ja 0x407b7e
cmp ecx, 0xf
jb 0x406825
mov edi, ecx
lea edx, [ecx - 0xf]
mov eax, dword [esp + 0x40]
mov byte [eax], 0xf0
add eax, 2
mov ebx, dword [esp + 0x48]
cmp edx, 0xff
jl 0x40683d
mov byte [eax - 1], 0xff
add edx, 0xffffff01
inc eax
jmp 0x406810
mov edi, dword [esp + 0x40]
lea eax, [edi + 1]
mov edx, ecx
shl dl, 4
mov byte [edi], dl
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x406846
mov byte [eax - 1], dl
mov ecx, edi
mov ebp, dword [esp + 0x1c]
sub dword [esp + 8], esi
add ecx, eax
mov edx, dword [esp + 0x30]
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
add eax, 8
add ebx, 8
cmp eax, ecx
jb 0x406850
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov word [ecx], bx
cmp edi, eax
je 0x40689c
mov eax, dword [esp]
add eax, 4
lea edx, [ebp + 4]
mov ebx, dword [esp + 0x20]
cmp ebx, eax
jbe 0x406baf
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x4068d4
bsf ecx, ecx
shr ecx, 3
jmp 0x406907
mov eax, edx
sub eax, ebp
mov edx, dword [esp]
add eax, edx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
cmova eax, ecx
add edx, 4
lea edi, [ebp + 4]
lea esi, [eax - 3]
cmp esi, edx
mov ebx, dword [esp + 0x20]
jbe 0x406bb9
mov ecx, dword [edx]
xor ecx, dword [edi]
je 0x40691b
bsf ecx, ecx
shr ecx, 3
jmp 0x40695a
mov edi, dword [esp]
lea ecx, [edi + 8]
add ebp, 8
mov edx, ebp
mov esi, ecx
sub esi, edi
add esi, 0xfffffffc
cmp ecx, ebx
jae 0x406aff
mov edi, dword [ecx]
xor edi, dword [edx]
jne 0x4068ff
add ecx, 4
add edx, 4
add esi, 4
jmp 0x4068e6
bsf ecx, edi
shr ecx, 3
add ecx, esi
mov edx, dword [esp]
mov edi, dword [esp + 8]
add edx, ecx
add edx, 4
mov dword [esp], edx
jmp 0x4069d8
mov edi, ebp
mov ebp, dword [esp]
lea ecx, [ebp + 8]
mov dword [esp + 0x1c], edi
add edi, 8
mov ebx, ecx
sub ebx, ebp
add ebx, 0xfffffffc
cmp ecx, esi
jae 0x406b32
mov ebp, dword [ecx]
xor ebp, dword [edi]
jne 0x40694a
add ecx, 4
add edi, 4
add ebx, 4
jmp 0x406931
bsf ecx, ebp
shr ecx, 3
add ecx, ebx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp]
add edx, ecx
add edx, 4
cmp edx, eax
je 0x40696f
mov dword [esp], edx
mov edi, dword [esp + 8]
jmp 0x4069d8
mov esi, dword [esp + 0x74]
mov edi, esi
mov edx, eax
cmp ebx, eax
jbe 0x406990
mov edx, dword [eax]
xor edx, dword [esi]
je 0x406989
bsf edx, edx
shr edx, 3
jmp 0x4069cd
lea edx, [eax + 4]
mov edi, dword [esp + 0x54]
mov esi, ebp
mov ebp, dword [esp]
add ebp, dword [esp + 0x30]
sub ebp, esi
mov esi, dword [esp + 0x50]
cmp ebp, esi
cmovae ebp, esi
mov esi, edx
sub esi, ebp
cmp edx, ebx
jae 0x406b76
mov ebx, dword [edx]
xor ebx, dword [edi]
jne 0x4069c5
add edx, 4
add edi, 4
add esi, 4
mov ebx, dword [esp + 0x20]
jmp 0x4069a8
bsf edx, ebx
shr edx, 3
add edx, esi
mov edi, dword [esp + 8]
add ecx, edx
add eax, edx
mov dword [esp], eax
lea eax, [ecx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
add eax, edi
add eax, 8
cmp eax, dword [esp + 0x24]
ja 0x407b7e
lea esi, [edi + 2]
mov edx, dword [esp + 0x40]
mov al, byte [edx]
cmp ecx, 0xf
jb 0x406a3d
add al, 0xf
mov byte [edx], al
or dword [edi + 2], 0xffffffff
add ecx, 0xfffffff1
lea ebp, [edi + 3]
add edi, 6
mov eax, ecx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x406a47
add esi, 4
or dword [edi], 0xffffffff
add eax, edx
add ecx, edx
add ebp, 4
add edi, 4
jmp 0x406a24
add al, cl
mov byte [edx], al
mov edx, dword [esp + 0x10]
jmp 0x406a6f
movzx edi, cx
mov eax, edi
xor edx, edx
mov ebx, 0xff
div ebx
mov ebx, eax
mov eax, edi
xor edx, edx
mov di, 0xff
div di
mov edx, dword [esp + 0x10]
add al, cl
mov byte [esi + ebx], al
add ebp, ebx
mov esi, ebp
mov ebx, dword [esp]
cmp ebx, dword [esp + 0x18]
jae 0x4075d7
lea eax, [ebx - 2]
imul ecx, dword [ebx - 2], 0x9e3779b1
sub eax, edx
shr ecx, 0x14
mov edi, edx
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
imul ecx, dword [ebx], 0x9e3779b1
shr ecx, 0x14
sub ebx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [esp + 0x14]
jae 0x406ac0
mov eax, dword [esp + 4]
mov eax, dword [eax + ecx*4]
mov edx, dword [esp + 0x44]
lea ebp, [edx + eax]
add eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
jmp 0x406ac7
lea ebp, [edi + eax]
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], ebx
lea ecx, [eax + 0xffff]
cmp ecx, ebx
jb 0x406bc7
mov ecx, dword [ebp]
mov edx, dword [esp]
cmp ecx, dword [edx]
mov edx, dword [esp + 0x30]
jne 0x406bc7
lea ecx, [esi + 1]
mov byte [esi], 0
sub ebx, eax
mov dword [esp + 0x40], esi
jmp 0x40686a
cmp ecx, dword [esp + 0x58]
jae 0x406b13
movzx esi, word [edx]
cmp si, word [ecx]
jne 0x406b13
add ecx, 2
add edx, 2
cmp ecx, dword [esp + 0x4c]
jae 0x406b24
mov dl, byte [edx]
xor ebx, ebx
cmp dl, byte [ecx]
sete bl
add ecx, ebx
mov edx, dword [esp]
mov edi, dword [esp + 8]
sub ecx, eax
jmp 0x40690e
lea esi, [eax - 1]
cmp ecx, esi
jae 0x406b4d
movzx esi, word [edi]
cmp si, word [ecx]
mov ebp, dword [esp + 0x1c]
jne 0x406b51
add ecx, 2
add edi, 2
jmp 0x406b51
mov ebp, dword [esp + 0x1c]
cmp ecx, eax
jae 0x406b6b
mov bl, byte [edi]
mov byte [esp + 0x1c], bl
mov bl, byte [esp + 0x1c]
cmp bl, byte [ecx]
mov ebx, 0
sete bl
add ecx, ebx
mov ebx, dword [esp + 0x20]
sub ecx, edx
jmp 0x40695a
cmp edx, dword [esp + 0x58]
jae 0x406b8a
movzx esi, word [edi]
cmp si, word [edx]
jne 0x406b8a
add edx, 2
add edi, 2
cmp edx, dword [esp + 0x4c]
jae 0x406ba4
mov bl, byte [edi]
mov byte [esp], bl
mov bl, byte [esp]
cmp bl, byte [edx]
mov ebx, 0
sete bl
add edx, ebx
mov edi, dword [esp + 8]
sub edx, eax
jmp 0x4069d1
mov ecx, eax
mov edi, dword [esp]
jmp 0x4068df
mov dword [esp + 0x1c], ebp
mov ecx, edx
mov ebp, dword [esp]
jmp 0x40692a
mov dword [esp + 0x40], esi
mov eax, dword [esp]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
jmp 0x4066d5
cmp esi, 0x7e000000
jbe 0x406c3a
mov dword [esp + 0xc], 0
jmp 0x407b7e
test esi, esi
je 0x4071fa
mov edx, dword [esp + 0x70]
mov ebx, esi
mov esi, edx
mov edi, dword [edx + 0x4008]
add dword [esp + 0x24], ecx
mov edx, ecx
lea ecx, [eax + ebx]
mov dword [esi + 0x4010], ecx
lea ecx, [edi + ebx]
mov dword [esi + 0x4008], ecx
mov dword [esi + 0x400c], 2
cmp ebx, 0xd
jae 0x40721b
mov ecx, dword [esp + 0x74]
jmp 0x40757a
test esi, esi
je 0x4071d5
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 0x4008]
lea ebp, [ebx + eax]
mov edi, ebp
sub edi, edx
test ebx, ebx
cmove edi, ebx
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x80]
add ebx, ecx
add eax, esi
mov edi, dword [esp + 0x70]
mov dword [edi + 0x4010], eax
mov dword [esp + 0x28], edx
lea eax, [edx + esi]
mov dword [edi + 0x4008], eax
mov dword [edi + 0x400c], 2
mov edx, ecx
mov edi, dword [esp + 0x74]
cmp esi, 0xd
jb 0x407638
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x74]
mov eax, esi
mov ebx, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
lea edx, [eax - 0xb]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
test edx, edx
cmove ebp, edx
mov dword [esp + 0x38], ebp
lea edi, [eax - 5]
imul eax, dword [esi], 0x9e3779b1
shr eax, 0x14
mov edx, dword [esp + 0x70]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x2c]
shl eax, 6
lea edx, [edi - 3]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edi
lea edx, [edi - 1]
mov dword [esp + 0x50], edx
lea edx, [esi + 4]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
add edx, esi
add edx, 0xfffffffb
mov dword [esp + 0x4c], edx
xor edi, edi
inc edi
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
lea ebp, [esi + 1]
mov dword [esp + 0x30], esi
mov edx, dword [esi + 1]
mov ecx, edi
add ecx, ebp
cmp ecx, dword [esp + 0x10]
ja 0x407bc0
mov dword [esp + 8], eax
imul edi, edx, 0x9e3779b1
shr edi, 0x14
mov esi, ebp
sub ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + edi*4]
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [edx + edi*4], ebp
lea edi, [ebx + 0xffff]
mov dword [esp + 0x14], ebp
cmp edi, ebp
jb 0x406d6c
cmp ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
cmovb edi, dword [esp + 0x3c]
mov ebp, ebx
mov ebx, dword [edi + ebx]
cmp ebx, dword [esi]
je 0x406d7d
mov ebp, ecx
mov eax, dword [esp + 8]
mov ecx, eax
shr ecx, 6
inc eax
mov edx, dword [esp]
jmp 0x406d1a
mov ebx, ebp
mov dword [esp], esi
lea ecx, [edi + ebp]
cmp ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
cmovb esi, dword [esp + 0x44]
cmp ecx, esi
mov edx, dword [esp + 4]
mov dword [esp + 0x20], ecx
jbe 0x406de0
mov eax, dword [esp]
mov al, byte [eax - 1]
cmp al, byte [ecx - 1]
mov ebx, dword [esp + 0x30]
jne 0x406de4
lea ecx, [edi + ebp]
dec ecx
mov eax, dword [esp]
dec eax
mov edi, ecx
cmp ecx, esi
mov dword [esp], eax
mov dword [esp + 0x20], ecx
jbe 0x406de4
mov ecx, eax
cmp eax, ebx
jbe 0x4071cc
lea eax, [ecx - 1]
mov dl, byte [ecx - 1]
lea ecx, [edi - 1]
cmp dl, byte [edi - 1]
mov edx, dword [esp + 4]
je 0x406db5
jmp 0x406de4
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp]
sub ecx, ebx
lea edi, [edx + ecx]
mov eax, ecx
xor edx, edx
mov ebx, 0xff
div ebx
add eax, edi
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b7e
cmp ecx, 0xf
jb 0x406e3d
lea edx, [ecx - 0xf]
mov eax, dword [esp + 4]
mov byte [eax], 0xf0
add eax, 2
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
cmp edx, 0xff
jl 0x406e55
mov byte [eax - 1], 0xff
add edx, 0xffffff01
inc eax
jmp 0x406e28
mov edi, dword [esp + 4]
lea eax, [edi + 1]
mov edx, ecx
shl dl, 4
mov byte [edi], dl
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x406e58
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
sub edx, ebp
mov ebp, edx
add ecx, eax
mov edx, dword [esp + 0x38]
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
add eax, 8
add ebx, 8
cmp eax, ecx
jb 0x406e66
mov ebx, ebp
mov word [ecx], bx
cmp esi, dword [esp + 0x44]
je 0x406ea4
mov ebp, dword [esp]
lea eax, [ebp + 4]
lea edx, [edi + 4]
cmp dword [esp + 0x1c], eax
jbe 0x4071a7
mov esi, dword [eax]
xor esi, dword [edx]
je 0x406edd
bsf ebx, esi
shr ebx, 3
jmp 0x406f0f
mov eax, edx
sub eax, edi
mov ebp, dword [esp]
add eax, ebp
mov edx, dword [esp + 0x40]
cmp eax, edx
cmova eax, edx
lea edx, [ebp + 4]
mov dword [esp + 0x20], edi
lea esi, [edi + 4]
mov dword [esp + 8], eax
lea edi, [eax - 3]
cmp edi, edx
jbe 0x4071ae
mov ebx, dword [edx]
xor ebx, dword [esi]
je 0x406f1c
bsf ebx, ebx
shr ebx, 3
jmp 0x406f57
lea ebx, [ebp + 8]
add edi, 8
mov edx, edi
mov esi, ebx
sub esi, ebp
add esi, 0xfffffffc
cmp ebx, dword [esp + 0x1c]
jae 0x4070f3
mov edi, dword [ebx]
xor edi, dword [edx]
jne 0x406f07
add ebx, 4
add edx, 4
add esi, 4
jmp 0x406eec
bsf ebx, edi
shr ebx, 3
add ebx, esi
add ebp, ebx
add ebp, 4
mov dword [esp], ebp
jmp 0x406fda
mov dword [esp + 0x14], edx
lea ebx, [ebp + 8]
mov edx, dword [esp + 0x20]
lea esi, [edx + 8]
mov edx, ebp
mov ebp, ebx
sub ebp, edx
add ebp, 0xfffffffc
cmp ebx, edi
jae 0x40712a
mov edx, dword [ebx]
xor edx, dword [esi]
jne 0x406f4c
add ebx, 4
add esi, 4
add ebp, 4
jmp 0x406f33
bsf ebx, edx
shr ebx, 3
add ebx, ebp
mov ebp, dword [esp]
lea edx, [ebx + ebp]
add edx, 4
cmp edx, dword [esp + 8]
je 0x406f68
mov dword [esp], edx
jmp 0x406fda
mov edi, dword [esp + 0x74]
mov esi, edi
mov eax, dword [esp + 8]
mov edx, eax
cmp dword [esp + 0x1c], eax
jbe 0x406f97
mov eax, dword [esp + 8]
mov edx, dword [eax]
xor edx, dword [edi]
je 0x406f8c
bsf edx, edx
shr edx, 3
jmp 0x406fcf
mov eax, dword [esp + 8]
lea edx, [eax + 4]
mov esi, dword [esp + 0x48]
add ebp, dword [esp + 0x38]
sub ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
cmp ebp, edi
cmovae ebp, edi
mov edi, edx
sub edi, ebp
cmp edx, dword [esp + 0x1c]
jae 0x407170
mov ebp, dword [edx]
xor ebp, dword [esi]
jne 0x406fc7
add edx, 4
add esi, 4
add edi, 4
jmp 0x406fac
bsf edx, ebp
shr edx, 3
add edx, edi
add ebx, edx
mov eax, dword [esp + 8]
add eax, edx
mov dword [esp], eax
lea eax, [ebx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
add eax, ecx
add eax, 8
cmp eax, dword [esp + 0x24]
ja 0x407b7e
lea esi, [ecx + 2]
mov edx, dword [esp + 4]
mov al, byte [edx]
cmp ebx, 0xf
jb 0x40703f
add al, 0xf
mov byte [edx], al
or dword [ecx + 2], 0xffffffff
add ebx, 0xfffffff1
lea edi, [ecx + 3]
add ecx, 6
mov eax, ebx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x407045
add esi, 4
or dword [ecx], 0xffffffff
add eax, edx
add ebx, edx
add edi, 4
add ecx, 4
jmp 0x407026
add al, bl
mov byte [edx], al
jmp 0x407069
movzx ecx, bx
mov eax, ecx
xor edx, edx
mov ebp, 0xff
div ebp
mov ebp, eax
mov eax, ecx
xor edx, edx
mov cx, 0xff
div cx
add al, bl
mov byte [esi + ebp], al
add edi, ebp
mov esi, edi
mov ebp, dword [esp]
cmp ebp, dword [esp + 0x10]
jae 0x407630
lea eax, [ebp - 2]
imul ecx, dword [ebp - 2], 0x9e3779b1
mov ebx, dword [esp + 0x18]
sub eax, ebx
shr ecx, 0x14
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*4], eax
imul ecx, dword [ebp], 0x9e3779b1
mov dword [esp], ebp
sub ebp, ebx
shr ecx, 0x14
mov eax, dword [edx + ecx*4]
cmp eax, dword [esp + 0x28]
cmovb ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x74]
cmovb edi, dword [esp + 0x44]
add ebx, eax
mov dword [edx + ecx*4], ebp
lea ecx, [eax + 0xffff]
cmp ecx, ebp
jb 0x4071b9
mov edx, ebp
mov ebp, ebx
mov ecx, dword [ebx]
mov ebx, dword [esp]
cmp ecx, dword [ebx]
jne 0x4071b9
lea ecx, [esi + 1]
mov byte [esi], 0
mov ebx, edx
sub ebx, eax
mov dword [esp + 4], esi
mov edx, dword [esp + 0x38]
mov esi, edi
mov edi, ebp
jmp 0x406e7a
cmp ebx, dword [esp + 0x50]
jae 0x407107
movzx esi, word [edx]
cmp si, word [ebx]
jne 0x407107
add ebx, 2
add edx, 2
cmp ebx, dword [esp + 0x40]
jae 0x407123
mov dl, byte [edx]
mov byte [esp + 8], dl
mov dl, byte [esp + 8]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
sub ebx, eax
jmp 0x406f0f
mov eax, dword [esp + 8]
lea edx, [eax - 1]
cmp ebx, edx
jae 0x407148
movzx edx, word [esi]
cmp dx, word [ebx]
mov ebp, dword [esp]
jne 0x40714b
add ebx, 2
add esi, 2
jmp 0x40714b
mov ebp, dword [esp]
cmp ebx, dword [esp + 8]
jae 0x407165
mov dl, byte [esi]
mov byte [esp], dl
mov dl, byte [esp]
cmp dl, byte [ebx]
mov edx, 0
sete dl
add ebx, edx
mov edx, dword [esp + 0x14]
sub ebx, edx
jmp 0x406f57
cmp edx, dword [esp + 0x50]
jae 0x407184
movzx edi, word [esi]
cmp di, word [edx]
jne 0x407184
add edx, 2
add esi, 2
cmp edx, dword [esp + 0x40]
jae 0x40719e
mov al, byte [esi]
mov byte [esp], al
mov al, byte [esp]
cmp al, byte [edx]
mov eax, 0
sete al
add edx, eax
sub edx, dword [esp + 8]
jmp 0x406fcf
mov ebx, eax
jmp 0x406ee5
mov dword [esp + 0x14], edx
mov ebx, edx
jmp 0x406f2a
mov dword [esp + 4], esi
mov esi, dword [esp]
mov eax, dword [esp + 0x2c]
xor edi, edi
inc edi
jmp 0x406d0e
mov edx, dword [esp + 4]
jmp 0x406de4
cmp dword [esp + 0x80], 0
mov dword [esp + 0xc], 0
jle 0x407b7e
mov eax, dword [esp + 0x78]
mov byte [eax], 0
xor eax, eax
inc eax
jmp 0x407b7a
cmp dword [esp + 0x80], 0
mov dword [esp + 0xc], 0
jle 0x407b96
mov byte [ecx], 0
xor eax, eax
inc eax
jmp 0x407a75
mov ecx, esi
mov ebx, dword [esp + 0x74]
mov esi, ebx
sub esi, edi
mov dword [esp + 0x18], esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
lea ebp, [ecx - 0xb]
mov dword [esp + 0x1c], ebp
lea ebp, [ecx - 5]
mov ecx, ebx
sub ebx, eax
mov dword [esp + 0x3c], ebx
imul eax, dword [ecx], 0x9e3779b1
shr eax, 0x14
mov dword [esi + eax*4], edi
mov eax, dword [esp + 0x2c]
shl eax, 6
lea esi, [ebp - 3]
mov dword [esp + 0x14], esi
mov dword [esp + 4], ebp
lea esi, [ebp - 1]
mov dword [esp + 0x44], esi
not edi
add edi, ecx
mov dword [esp + 0x38], edi
xor esi, esi
inc esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
lea edi, [ecx + 1]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 1]
mov ecx, esi
add ecx, edi
cmp ecx, dword [esp + 0x1c]
ja 0x407ba2
mov dword [esp], eax
imul ebx, edx, 0x9e3779b1
shr ebx, 0x14
mov edx, dword [esp + 0x70]
mov esi, dword [edx + ebx*4]
mov edx, edi
mov ebp, edi
mov edi, dword [esp + 0x18]
sub ebp, edi
mov eax, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [eax + ebx*4], ebp
lea ebx, [esi + 0xffff]
cmp ebx, ebp
jb 0x4072cc
mov ebx, dword [edi + esi]
cmp ebx, dword [edx]
je 0x4072dd
mov edi, ecx
mov eax, dword [esp]
mov ecx, eax
shr ecx, 6
inc eax
mov edx, dword [esp + 8]
jmp 0x407285
mov dword [esp], edx
lea ebx, [edi + esi]
cmp ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
jbe 0x4072fc
mov eax, dword [esp]
mov al, byte [eax - 1]
cmp al, byte [ebx - 1]
je 0x407539
mov edi, dword [esp]
sub edi, ecx
mov eax, dword [esp + 0x10]
lea ecx, [eax + edi]
mov eax, edi
xor edx, edx
mov esi, 0xff
div esi
add eax, ecx
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b96
mov edx, edi
cmp edi, 0xf
jb 0x407353
lea ecx, [edx - 0xf]
mov eax, dword [esp + 0x10]
mov byte [eax], 0xf0
add eax, 2
cmp ecx, 0xff
jl 0x40736b
mov byte [eax - 1], 0xff
add ecx, 0xffffff01
inc eax
jmp 0x40733e
mov esi, ebx
mov ebx, edx
mov edx, dword [esp + 0x10]
lea eax, [edx + 1]
mov ecx, ebx
shl cl, 4
mov byte [edx], cl
mov edx, ebx
mov ebx, esi
jmp 0x40736e
mov byte [eax - 1], cl
add edx, eax
mov ecx, dword [esp + 0x28]
movsd xmm0, qword [ecx]
movsd qword [eax], xmm0
add eax, 8
add ecx, 8
cmp eax, edx
jb 0x407374
jmp 0x4073c8
lea edx, [edi + 1]
mov byte [edi], 0
mov dword [esp + 0x10], edi
jmp 0x4073c8
cmp ebx, dword [esp + 0x44]
jae 0x4073a8
movzx ecx, word [edx]
cmp cx, word [ebx]
jne 0x4073a8
add ebx, 2
add edx, 2
cmp ebx, dword [esp + 4]
jae 0x4073b9
mov cl, byte [edx]
xor edx, edx
cmp cl, byte [ebx]
sete dl
add ebx, edx
mov ecx, dword [esp + 0x24]
sub ebx, eax
jmp 0x407425
mov ebx, eax
mov esi, dword [esp]
jmp 0x4073f9
mov ecx, dword [esp]
mov eax, ecx
sub eax, ebx
mov ebp, edx
mov word [edx], ax
lea eax, [ecx + 4]
lea edx, [ebx + 4]
cmp dword [esp + 0x14], eax
jbe 0x4073c1
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x4073ee
bsf ebx, ecx
shr ebx, 3
jmp 0x407421
mov esi, dword [esp]
mov edx, ebx
lea ebx, [esi + 8]
add edx, 8
mov ecx, ebx
sub ecx, esi
add ecx, 0xfffffffc
mov esi, dword [esp + 0x14]
cmp ebx, esi
jae 0x407394
mov edi, dword [ebx]
xor edi, dword [edx]
jne 0x407419
add ebx, 4
add edx, 4
add ecx, 4
jmp 0x407404
bsf ebx, edi
shr ebx, 3
add ebx, ecx
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
add eax, ebp
add eax, 8
cmp eax, ecx
ja 0x407b96
mov esi, ebp
lea edi, [ebp + 2]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp ebx, 0xf
jb 0x40748a
add al, 0xf
mov byte [ecx], al
or dword [esi + 2], 0xffffffff
lea ecx, [ebx - 0xf]
lea ebp, [esi + 3]
add esi, 6
mov eax, ecx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x407494
add edi, 4
or dword [esi], 0xffffffff
add eax, edx
add ecx, edx
add ebp, 4
add esi, 4
jmp 0x407471
add al, bl
mov byte [ecx], al
mov edx, dword [esp + 0x18]
jmp 0x4074c6
movzx eax, cx
mov dword [esp + 0x10], eax
xor edx, edx
mov esi, 0xff
div esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
xor edx, edx
mov si, 0xff
div si
mov edx, dword [esp + 0x18]
add al, cl
mov ecx, dword [esp + 8]
mov byte [edi + ecx], al
add ebp, ecx
mov edi, ebp
mov ebp, dword [esp]
add ebp, ebx
add ebp, 4
cmp ebp, dword [esp + 0x1c]
jae 0x407576
lea eax, [ebp - 2]
imul ecx, dword [ebp - 2], 0x9e3779b1
sub eax, edx
shr ecx, 0x14
mov ebx, edx
mov esi, dword [esp + 0x70]
mov dword [esi + ecx*4], eax
imul eax, dword [ebp], 0x9e3779b1
mov ecx, ebp
sub ecx, edx
shr eax, 0x14
mov edx, dword [esi + eax*4]
add ebx, edx
mov dword [esi + eax*4], ecx
add edx, 0xffff
cmp edx, ecx
jb 0x407527
mov eax, dword [ebx]
mov dword [esp], ebp
cmp eax, dword [ebp]
je 0x407388
mov dword [esp + 0x10], edi
mov ecx, dword [esp]
jmp 0x40752d
mov dword [esp + 0x10], edi
mov ecx, ebp
mov eax, dword [esp + 0x2c]
xor esi, esi
inc esi
jmp 0x407279
add esi, dword [esp + 0x38]
mov eax, dword [esp]
dec eax
mov ebx, esi
cmp esi, dword [esp + 0x3c]
mov dword [esp], eax
jbe 0x4072fc
mov edx, eax
cmp eax, ecx
jbe 0x40756d
lea eax, [edx - 1]
mov cl, byte [edx - 1]
lea esi, [ebx - 1]
cmp cl, byte [ebx - 1]
mov ecx, dword [esp + 0x28]
je 0x407541
jmp 0x4072fc
mov ecx, dword [esp + 0x28]
jmp 0x4072fc
mov edx, edi
mov ecx, ebp
mov eax, dword [esp + 0x34]
mov ebp, ecx
sub eax, ecx
mov edi, edx
lea ecx, [edx + eax]
mov dword [esp + 0x34], eax
add eax, 0xf0
mov esi, 0xff
xor edx, edx
div esi
add eax, ecx
inc eax
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b96
mov ebx, dword [esp + 0x34]
cmp ebx, 0xf
jb 0x407a50
lea eax, [ebx - 0xf]
mov byte [edi], 0xf0
inc edi
cmp eax, 0xff
jb 0x407a59
mov byte [edi], 0xff
add eax, 0xffffff01
jmp 0x4075c1
mov edi, esi
mov ecx, ebx
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
sub eax, ecx
mov ecx, edi
lea esi, [edi + eax]
mov ebx, eax
add eax, 0xf0
mov edi, 0xff
xor edx, edx
div edi
add eax, esi
inc eax
mov dword [esp + 0xc], 0
cmp eax, ebp
ja 0x407b7e
mov eax, ebx
cmp ebx, 0xf
jb 0x407694
add eax, 0xfffffff1
mov byte [ecx], 0xf0
inc ecx
cmp eax, 0xff
jb 0x40769d
mov byte [ecx], 0xff
add eax, 0xffffff01
jmp 0x40761e
mov edx, esi
mov edi, ebp
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edi
sub eax, edi
mov ebp, edx
lea ecx, [edx + eax]
mov edi, eax
add eax, 0xf0
mov esi, 0xff
xor edx, edx
div esi
add eax, ecx
inc eax
mov dword [esp + 0xc], 0
cmp eax, ebx
ja 0x407b7e
mov ebx, edi
cmp edi, 0xf
jb 0x407ada
lea eax, [ebx - 0xf]
mov ecx, ebp
mov byte [ebp], 0xf0
inc ecx
cmp eax, 0xff
jb 0x407ae6
mov byte [ecx], 0xff
add eax, 0xffffff01
jmp 0x40767e
mov ebx, eax
shl al, 4
mov byte [ecx], al
jmp 0x40769f
mov byte [ecx], al
lea eax, [ecx + 1]
push ebx
push dword [esp + 0x4c]
jmp 0x407b67
mov ecx, esi
mov ebx, dword [esp + 0x74]
mov esi, ebx
sub esi, edi
mov dword [esp + 8], esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
lea ebp, [ecx - 0xb]
mov dword [esp + 0x18], ebp
lea ebp, [ecx - 5]
mov ecx, ebx
sub ebx, eax
mov dword [esp + 4], ebx
imul eax, dword [ecx], 0x9e3779b1
shr eax, 0x14
mov dword [esi + eax*4], edi
mov eax, dword [esp + 0x2c]
shl eax, 6
lea esi, [ebp - 3]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ebp
lea esi, [ebp - 1]
mov dword [esp + 0x38], esi
not edi
add edi, ecx
mov dword [esp + 0x20], edi
xor edi, edi
inc edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
lea edx, [ecx + 1]
mov dword [esp + 0x28], ecx
mov esi, dword [ecx + 1]
mov ecx, edi
mov edi, edx
add ecx, edi
cmp ecx, dword [esp + 0x18]
ja 0x407bd1
imul ebx, esi, 0x9e3779b1
shr ebx, 0x14
mov ebp, dword [esp + 0x70]
mov edx, dword [ebp + ebx*4]
mov dword [esp], edi
sub edi, dword [esp + 8]
mov esi, dword [ecx]
mov dword [ebp + ebx*4], edi
cmp edx, dword [esp + 0x1c]
jb 0x407760
lea ebx, [edx + 0xffff]
cmp ebx, edi
jb 0x407760
mov edi, dword [esp + 8]
mov edi, dword [edi + edx]
mov ebx, dword [esp]
cmp edi, dword [ebx]
je 0x40776a
mov edi, ecx
mov ecx, eax
shr ecx, 6
inc eax
jmp 0x407718
mov eax, dword [esp + 8]
lea esi, [eax + edx]
cmp esi, dword [esp + 4]
mov ecx, dword [esp + 0x28]
jbe 0x4077bb
mov eax, dword [esp]
mov al, byte [eax - 1]
cmp al, byte [esi - 1]
mov edi, dword [esp + 0x3c]
jne 0x4077bf
add edx, dword [esp + 0x20]
mov eax, dword [esp]
dec eax
mov esi, edx
cmp edx, dword [esp + 4]
mov dword [esp], eax
jbe 0x4077bf
mov edx, eax
cmp eax, ecx
jbe 0x4079ee
lea eax, [edx - 1]
mov cl, byte [edx - 1]
lea edx, [esi - 1]
cmp cl, byte [esi - 1]
mov ecx, dword [esp + 0x28]
je 0x407792
jmp 0x4077bf
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp]
sub ebp, ecx
mov eax, dword [esp + 0x10]
lea ecx, [eax + ebp]
mov eax, ebp
xor edx, edx
mov ebx, 0xff
div ebx
add eax, ecx
add eax, 9
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b96
cmp ebp, 0xf
jb 0x407814
lea ecx, [ebp - 0xf]
mov eax, dword [esp + 0x10]
mov byte [eax], 0xf0
add eax, 2
cmp ecx, 0xff
jl 0x407826
mov byte [eax - 1], 0xff
add ecx, 0xffffff01
inc eax
jmp 0x4077ff
mov ebx, ebp
mov edx, dword [esp + 0x10]
lea eax, [edx + 1]
mov ecx, ebx
shl cl, 4
mov byte [edx], cl
jmp 0x407829
mov byte [eax - 1], cl
add ebp, eax
mov ecx, dword [esp + 0x28]
movsd xmm0, qword [ecx]
movsd qword [eax], xmm0
add eax, 8
add ecx, 8
cmp eax, ebp
jb 0x40782f
jmp 0x407887
lea ebp, [edi + 1]
mov byte [edi], 0
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
jmp 0x407887
cmp ebx, dword [esp + 0x38]
jae 0x407867
movzx ecx, word [edx]
cmp cx, word [ebx]
jne 0x407867
add ebx, 2
add edx, 2
cmp ebx, dword [esp + 0x44]
jae 0x407878
mov cl, byte [edx]
xor edx, edx
cmp cl, byte [ebx]
sete dl
add ebx, edx
mov ecx, dword [esp + 0x24]
sub ebx, eax
jmp 0x4078e1
mov ebx, eax
mov ebp, dword [esp]
jmp 0x4078b9
mov ecx, dword [esp]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x14], ebp
mov word [ebp], ax
lea eax, [ecx + 4]
lea edx, [esi + 4]
cmp edi, eax
jbe 0x407880
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x4078ae
bsf ebx, ecx
shr ebx, 3
jmp 0x4078dd
mov ebp, dword [esp]
lea ebx, [ebp + 8]
add esi, 8
mov edx, esi
mov ecx, ebx
sub ecx, ebp
add ecx, 0xfffffffc
cmp ebx, edi
jae 0x407853
mov esi, dword [ebx]
xor esi, dword [edx]
jne 0x4078d5
add ebx, 4
add edx, 4
add ecx, 4
jmp 0x4078c0
bsf ebx, esi
shr ebx, 3
add ebx, ecx
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0xf0]
mov dword [esp + 0xc], 0
xor edx, edx
mov esi, 0xff
div esi
mov ebp, dword [esp + 0x14]
add eax, ebp
add eax, 8
cmp eax, ecx
ja 0x407b96
lea edi, [ebp + 2]
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp ebx, 0xf
jb 0x407949
add al, 0xf
mov byte [ecx], al
or dword [ebp + 2], 0xffffffff
lea ecx, [ebx - 0xf]
lea esi, [ebp + 3]
add ebp, 6
mov eax, ecx
mov edx, 0xfffffc04
cmp eax, 0x3fc
jb 0x40794f
add edi, 4
or dword [ebp], 0xffffffff
add eax, edx
add ecx, edx
add esi, 4
add ebp, 4
jmp 0x40792f
add al, bl
mov byte [ecx], al
jmp 0x40797d
movzx eax, cx
mov dword [esp + 0x14], eax
xor edx, edx
mov ebp, 0xff
div ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
xor edx, edx
mov bp, 0xff
div bp
add al, cl
mov ecx, dword [esp + 0x10]
mov byte [edi + ecx], al
add esi, ecx
mov edi, esi
mov ebp, dword [esp]
add ebp, ebx
add ebp, 4
cmp ebp, dword [esp + 0x18]
jae 0x4079f7
lea eax, [ebp - 2]
imul ecx, dword [ebp - 2], 0x9e3779b1
mov esi, dword [esp + 8]
sub eax, esi
shr ecx, 0x14
mov ebx, dword [esp + 0x70]
mov dword [ebx + ecx*4], eax
imul ecx, dword [ebp], 0x9e3779b1
mov dword [esp], ebp
mov eax, ebp
sub eax, esi
shr ecx, 0x14
mov edx, dword [ebx + ecx*4]
add esi, edx
mov dword [ebx + ecx*4], eax
lea ecx, [edx + 0xffff]
cmp edx, dword [esp + 0x1c]
jb 0x4079db
cmp ecx, eax
jb 0x4079db
mov eax, dword [esi]
mov ecx, dword [esp]
cmp eax, dword [ecx]
je 0x407843
mov dword [esp + 0x10], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0x2c]
xor edi, edi
inc edi
jmp 0x40770a
mov ecx, dword [esp + 0x28]
jmp 0x4077bf
mov edx, edi
mov ecx, ebp
mov eax, dword [esp + 0x34]
mov ebp, ecx
sub eax, ecx
mov edi, edx
lea ecx, [edx + eax]
mov dword [esp + 0x34], eax
add eax, 0xf0
mov esi, 0xff
xor edx, edx
div esi
add eax, ecx
inc eax
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b96
mov ebx, dword [esp + 0x34]
cmp ebx, 0xf
jb 0x407a50
lea eax, [ebx - 0xf]
mov byte [edi], 0xf0
inc edi
cmp eax, 0xff
jb 0x407a59
mov byte [edi], 0xff
add eax, 0xffffff01
jmp 0x407a3e
mov eax, ebx
shl al, 4
mov byte [edi], al
jmp 0x407a5f
mov byte [edi], al
mov ebx, dword [esp + 0x34]
lea eax, [edi + 1]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [edi + ebx]
inc eax
sub eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
jmp 0x407b96
mov edx, edi
mov edi, esi
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edi
sub eax, edi
mov ebp, edx
lea ecx, [edx + eax]
mov edi, eax
add eax, 0xf0
mov esi, 0xff
xor edx, edx
div esi
add eax, ecx
inc eax
mov dword [esp + 0xc], 0
cmp eax, ebx
ja 0x407b7e
mov ebx, edi
cmp edi, 0xf
jb 0x407ada
lea eax, [ebx - 0xf]
mov ecx, ebp
mov byte [ebp], 0xf0
inc ecx
cmp eax, 0xff
jb 0x407ae6
mov byte [ecx], 0xff
add eax, 0xffffff01
jmp 0x407ac8
mov eax, ebx
shl al, 4
mov ecx, ebp
mov byte [ebp], al
jmp 0x407aea
mov byte [ecx], al
mov ebx, edi
lea eax, [ecx + 1]
push ebx
push dword [esp + 0x34]
jmp 0x407b67
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
mov edi, ebp
sub eax, ebp
mov ebp, esi
lea ecx, [esi + eax]
mov dword [esp + 0x34], eax
add eax, 0xf0
mov esi, 0xff
xor edx, edx
div esi
add eax, ecx
inc eax
mov dword [esp + 0xc], 0
cmp eax, dword [esp + 0x24]
ja 0x407b7e
mov ebx, dword [esp + 0x34]
cmp ebx, 0xf
jb 0x407b50
lea eax, [ebx - 0xf]
mov ecx, ebp
mov byte [ebp], 0xf0
inc ecx
cmp eax, 0xff
jb 0x407b5c
mov byte [ecx], 0xff
add eax, 0xffffff01
jmp 0x407b3e
mov eax, ebx
shl al, 4
mov ecx, ebp
mov byte [ebp], al
jmp 0x407b62
mov byte [ecx], al
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
push ebx
push edi
push eax
mov esi, ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esi + ebx]
inc eax
sub eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x4000], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x4010], ecx
mov eax, dword [esp + 0xc]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
jmp 0x40757a
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
jmp 0x4075df
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x30]
jmp 0x407638
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
jmp 0x4079fb
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x30]
jmp 0x407a86