Function at 0x402e38
Capabilities:
Compress data using lzo

Disassembly:
test dword [0x494f4c], 0xfffffe00
jne 0x402e60
test dword [0x494f4c], 0xffffffff
jne 0x403584
call fcn.0046e510
jmp fcn.00402e38
push ebx
mov ebx, esp
and esp, 0xfffffff0
push esi
sub esp, 0x3c
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x24], esi
lea edx, [eax + ecx]
lea ecx, [eax + ecx - 0xd]
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], edx
lea ecx, [eax + 4]
movzx eax, byte [ecx + 3]
movzx esi, byte [ecx + 2]
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
movzx edx, byte [ecx + 1]
shl eax, 6
xor eax, esi
mov esi, dword [ebx + 8]
shl eax, 5
xor eax, edx
movzx edx, byte [ecx]
shl eax, 5
xor eax, edx
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
add edx, eax
mov eax, dword [ebx + 0x18]
shr edx, 5
and edx, 0x3fff
mov eax, dword [eax + edx*4]
mov dword [esp + 0x1c], eax
cmp eax, esi
jb 0x4034fd
mov eax, ecx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
je 0x4034fd
cmp eax, 0xbfff
ja 0x4034fd
cmp eax, 0x800
jbe 0x402f67
mov esi, dword [esp + 0x1c]
movzx eax, byte [ecx + 3]
movzx esi, byte [esi + 3]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x402f67
mov eax, dword [ebx + 0x18]
and edx, 0x7ff
xor edx, 0x201f
mov esi, dword [eax + edx*4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], esi
cmp esi, eax
jb 0x4034fd
mov eax, ecx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
je 0x4034fd
cmp eax, 0xbfff
ja 0x4034fd
cmp eax, 0x800
jbe 0x402f67
mov eax, esi
movzx esi, byte [eax + 3]
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x4034fd
mov eax, dword [esp + 0x1c]
movzx esi, word [eax]
movzx eax, word [ecx]
cmp esi, eax
jne 0x4034fd
mov eax, dword [esp + 0x1c]
movzx esi, byte [eax + 2]
movzx eax, byte [ecx + 2]
cmp esi, eax
jne 0x4034fd
mov esi, dword [ebx + 0x18]
mov dword [esi + edx*4], ecx
mov eax, ecx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
je 0x40313e
cmp eax, 3
ja 0x402fb4
mov edx, dword [esp + 0x24]
or byte [edx - 2], al
jmp 0x403104
cmp eax, 0x12
ja 0x402fd2
mov edx, eax
mov esi, dword [esp + 0x24]
lea eax, [edx - 3]
mov edx, esi
add esi, 1
mov byte [edx], al
mov dword [esp + 0x24], esi
jmp 0x403104
mov edx, dword [esp + 0x24]
mov byte [edx], 0
lea eax, [eax - 0x12]
lea esi, [edx + 1]
mov dword [esp + 0x28], esi
cmp eax, 0xff
jbe 0x4030f7
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov esi, eax
neg esi
add esi, 0x13
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
sar esi, 0x1f
sub esi, edx
cmp esi, 0x1f
mov dword [esp + 0xc], esi
jb 0x4030af
mov eax, esi
mov edx, dword [esp + 0x28]
and edx, 0xf
je 0x403066
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
neg edx
add edx, 0x10
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], 0
add ecx, 1
cmp ecx, edx
jb 0x403047
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
and eax, 0xf
neg eax
add eax, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
pxor xmm0, xmm0
movdqa xmmword [ecx + edx], xmm0
add ecx, 0x10
cmp ecx, eax
jb 0x403087
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x24]
cmp eax, edx
jae 0x4030de
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov byte [edx + eax], 0
add edx, 1
cmp edx, ecx
jb 0x4030c7
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
add dword [esp + 0x28], esi
mov eax, esi
shl eax, 8
sub eax, esi
neg eax
lea eax, [eax + edx - 0x12]
mov esi, dword [esp + 0x28]
lea edx, [esi + 1]
mov dword [esp + 0x24], edx
mov byte [esi], al
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov ebp, ecx
movzx ecx, byte [eax]
mov byte [esi], cl
add edx, 0xffffffff
add eax, 1
add esi, 1
test edx, edx
jne 0x40311a
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x1c]
movzx esi, byte [eax + 3]
lea edx, [ecx + 3]
movzx eax, byte [edx]
add ecx, 4
cmp esi, eax
jne 0x4031a6
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax + 4]
add ecx, 1
movzx esi, byte [ecx - 1]
cmp edx, esi
jne 0x4031a6
movzx edx, byte [eax + 5]
add ecx, 1
movzx esi, byte [ecx - 1]
cmp edx, esi
jne 0x4031a6
movzx edx, byte [eax + 6]
add ecx, 1
movzx esi, byte [ecx - 1]
cmp edx, esi
jne 0x4031a6
movzx edx, byte [eax + 7]
add ecx, 1
movzx esi, byte [ecx - 1]
cmp edx, esi
jne 0x4031a6
movzx edx, byte [eax + 8]
add ecx, 1
movzx esi, byte [ecx - 1]
cmp edx, esi
je 0x403244
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, 0xffffffff
neg eax
add eax, ecx
cmp edx, 0x800
mov dword [esp + 0x2c], eax
ja 0x4031ef
add edx, 0xffffffff
add eax, 0xffffffff
shl eax, 5
mov esi, edx
and esi, 7
add esi, esi
add esi, esi
or eax, esi
shr edx, 3
mov esi, dword [esp + 0x24]
mov byte [esi], al
lea eax, [esi + 1]
add esi, 2
mov dword [esp + 0x24], esi
mov byte [eax], dl
jmp 0x4034e2
mov eax, edx
cmp eax, 0x4000
ja 0x403217
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
add dword [esp + 0x20], 0xffffffff
add eax, 0xfffffffe
or eax, 0xffffff20
lea esi, [edx + 1]
mov byte [edx], al
jmp 0x4034c6
mov edx, dword [esp + 0x2c]
add eax, 0xffffc000
mov dword [esp + 0x20], eax
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
add edx, 0xfffffffe
or eax, edx
mov edx, dword [esp + 0x24]
lea esi, [edx + 1]
mov byte [edx], al
jmp 0x4034c6
mov eax, dword [esp]
add dword [esp + 0x1c], 9
cmp ecx, eax
jae 0x403316
sub eax, ecx
cmp eax, 6
jb 0x4032e4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
lea edx, [eax + edx - 6]
movzx eax, byte [edi]
movzx esi, byte [ecx]
cmp eax, esi
jne 0x403542
movzx esi, byte [edi + 1]
lea eax, [edi + 1]
add ecx, 1
movzx edi, byte [ecx]
cmp esi, edi
jne 0x403576
movzx esi, byte [eax + 1]
add ecx, 1
movzx edi, byte [ecx]
cmp esi, edi
jne 0x403569
movzx esi, byte [eax + 2]
add ecx, 1
movzx edi, byte [ecx]
cmp esi, edi
jne 0x40355c
movzx esi, byte [eax + 3]
add ecx, 1
movzx edi, byte [ecx]
cmp esi, edi
jne 0x40354f
lea edi, [eax + 4]
add ecx, 1
cmp ecx, edx
jbe 0x403275
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov edi, dword [esp]
mov dword [esp + 0x10], ebp
movzx eax, byte [esi]
movzx edx, byte [ecx]
cmp eax, edx
jne 0x403532
add esi, 1
add ecx, 1
cmp ecx, edi
jb 0x4032f3
mov ebp, dword [esp + 0x10]
mov dword [esp], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
neg eax
add eax, ecx
cmp edx, 0x4000
mov dword [esp + 0x2c], eax
ja 0x403363
add dword [esp + 0x20], 0xffffffff
cmp eax, 0x21
ja 0x40334e
mov edx, dword [esp + 0x24]
add eax, 0xfffffffe
or eax, 0xffffff20
lea esi, [edx + 1]
mov byte [edx], al
jmp 0x4034c6
mov edx, dword [esp + 0x24]
add dword [esp + 0x2c], 0xffffffdf
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov byte [edx], 0x20
jmp 0x4033bb
add dword [esp + 0x20], 0xffffc000
cmp eax, 9
ja 0x403398
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
add edx, 0xfffffffe
or eax, edx
mov edx, dword [esp + 0x24]
lea esi, [edx + 1]
mov byte [edx], al
jmp 0x4034c6
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add dword [esp + 0x2c], 0xfffffff7
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
lea edx, [esi + 1]
mov dword [esp + 0x18], edx
mov byte [esi], al
mov eax, dword [esp + 0x2c]
cmp eax, 0xff
jbe 0x4034b9
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov esi, eax
neg esi
add esi, 1
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
sar esi, 0x1f
sub esi, edx
cmp esi, 0x1f
mov dword [esp + 0xc], esi
jb 0x40347d
mov edx, esi
mov eax, dword [esp + 0x18]
and eax, 0xf
je 0x40343b
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
neg eax
add eax, 0x10
sub edx, eax
mov byte [ebp + ecx], 0
add ebp, 1
cmp ebp, eax
jb 0x40341f
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
and edx, 0xf
neg edx
add edx, dword [esp + 0xc]
pxor xmm0, xmm0
movdqa xmmword [ebp + eax], xmm0
add ebp, 0x10
cmp ebp, edx
jb 0x403458
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jae 0x4034a4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0xc]
mov byte [edx + eax], 0
add edx, 1
cmp edx, ebp
jb 0x403491
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add dword [esp + 0x18], eax
mov edx, eax
shl edx, 8
sub edx, eax
neg edx
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
lea esi, [edx + 1]
mov byte [edx], al
mov edx, dword [esp + 0x20]
mov eax, edx
and eax, 0x3f
add eax, eax
add eax, eax
mov byte [esi], al
shr edx, 6
lea eax, [esi + 2]
mov dword [esp + 0x24], eax
mov byte [esi + 1], dl
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jb 0x402e8c
mov eax, ecx
mov esi, dword [esp + 0x24]
mov edx, dword [esp]
jmp 0x40351e
mov eax, dword [ebx + 0x18]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 4]
cmp ecx, edx
jb 0x402e8c
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp]
sub esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ecx], esi
sub edx, eax
mov eax, edx
add esp, 0x3c
pop esi
mov esp, ebx
pop ebx
ret
mov ebp, dword [esp + 0x10]
mov dword [esp], edi
mov edi, dword [esp + 0x14]
jmp 0x403316
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x403316
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x403316
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x403316
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x403316
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x403316
push ebx
mov ebx, esp
and esp, 0xfffffff0
push esi
sub esp, 0x3c
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
lea edx, [eax + ecx]
lea ecx, [eax + ecx - 0xd]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 0x10]
lea esi, [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], edx
lea edx, [esi + 1]
mov dword [esp + 0x28], edx
xor eax, eax
mov al, byte [esi + 3]
shl eax, 6
xor ecx, ecx
mov cl, byte [esi + 2]
xor eax, ecx
shl eax, 5
xor edx, edx
mov dl, byte [esi + 1]
xor eax, edx
shl eax, 5
xor edx, edx
mov dl, byte [esi]
xor eax, edx
lea edx, [eax + eax]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
add edx, eax
shr edx, 5
and edx, 0x3fff
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 8]
cmp eax, edx
jb 0x403b01
mov eax, esi
sub eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
je 0x403b01
cmp eax, 0xbfff
ja 0x403b01
cmp eax, 0x800
jbe 0x40369f
xor eax, eax
mov al, byte [esi + 3]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [edx + 3]
cmp ecx, eax
je 0x40369f
mov edx, dword [esp + 0x2c]
and edx, 0x7ff
xor edx, 0x201f
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 8]
cmp ecx, eax
jb 0x403b01
mov eax, esi
sub eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
je 0x403b01
cmp eax, 0xbfff
ja 0x403b01
cmp eax, 0x800
jbe 0x40369f
mov eax, ecx
xor edx, edx
mov dl, byte [eax + 3]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jne 0x403b01
mov eax, dword [esp + 0x14]
movzx edx, word [eax]
movzx ecx, word [esi]
cmp edx, ecx
jne 0x403b01
xor edx, edx
mov dl, byte [eax + 2]
xor ecx, ecx
mov cl, byte [esi + 2]
cmp edx, ecx
jne 0x403b01
mov eax, dword [ebx + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov ecx, esi
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
je 0x4037c1
mov eax, ecx
cmp eax, 3
ja 0x4036f0
mov edx, dword [esp + 0x1c]
or byte [edx - 2], al
jmp 0x403791
cmp eax, 0x12
ja 0x40370c
mov edx, eax
lea eax, [edx - 3]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
inc ecx
mov dword [esp + 0x1c], ecx
mov byte [edx], al
jmp 0x403791
mov edx, eax
lea edx, [edx - 0x12]
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
lea eax, [eax + 1]
cmp edx, 0xff
jbe 0x403788
lea ecx, [edx - 0xff]
cmp ecx, 0x5fa
jb 0x403768
mov dword [esp + 0x10], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
xor ecx, ecx
mov byte [eax], cl
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov byte [eax + 3], cl
mov byte [eax + 4], cl
add edx, 0xfffffb05
add eax, 5
cmp edx, 0x6f9
jae 0x40373c
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
mov dword [esp + 4], edi
mov dword [esp], ebp
add edx, 0xffffff01
mov byte [eax], 0
inc eax
cmp edx, 0xff
ja 0x40376f
mov edi, dword [esp + 4]
mov ebp, dword [esp]
lea ecx, [eax + 1]
mov dword [esp + 0x1c], ecx
mov byte [eax], dl
mov dword [esp + 4], edi
mov dword [esp], ebp
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov byte [ebp], cl
dec edx
inc eax
inc ebp
test edx, edx
jne 0x4037a4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 4]
mov ebp, dword [esp]
lea ecx, [esi + 3]
add esi, 4
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 3]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x403840
mov ecx, esi
inc esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 4]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x403840
mov ecx, esi
inc esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 5]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x403840
mov ecx, esi
inc esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 6]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x403840
mov ecx, esi
inc esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 7]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x403840
mov ecx, esi
inc esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + 8]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
je 0x4038d7
dec esi
mov eax, dword [esp + 0x20]
neg eax
add eax, esi
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
cmp edx, 0x800
ja 0x403883
dec edx
dec eax
shl eax, 5
mov ecx, edx
and ecx, 7
add ecx, ecx
add ecx, ecx
or eax, ecx
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
shr edx, 3
lea eax, [ecx + 1]
add ecx, 2
mov dword [esp + 0x1c], ecx
mov byte [eax], dl
jmp 0x403ae5
mov eax, edx
cmp eax, 0x4000
ja 0x4038aa
dec dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
or eax, 0xffffff20
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov byte [edx], al
jmp 0x403ac9
add eax, 0xffffc000
mov dword [esp + 0x18], eax
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
or eax, ecx
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov byte [edx], al
jmp 0x403ac9
add dword [esp + 0x14], 9
mov eax, dword [esp + 8]
cmp esi, eax
jae 0x4039b4
sub eax, esi
cmp eax, 6
jb 0x403984
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
lea eax, [eax + edx - 6]
mov dword [esp + 0x2c], eax
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b4b
lea ebp, [ecx + 1]
mov dword [esp + 0x28], ebp
inc esi
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b7b
inc esi
xor eax, eax
mov al, byte [ebp + 1]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b6f
inc esi
xor eax, eax
mov al, byte [ebp + 2]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b63
inc esi
xor eax, eax
mov al, byte [ebp + 3]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b57
mov eax, ebp
lea ecx, [eax + 4]
inc esi
mov edx, dword [esp + 0x2c]
cmp esi, edx
jbe 0x40390c
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 4]
mov ebp, dword [esp]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [esi]
cmp eax, edx
jne 0x403b3b
inc ecx
inc esi
cmp esi, ebp
jb 0x403993
mov dword [esp + 8], ebp
mov edi, dword [esp + 4]
mov ebp, dword [esp]
mov eax, dword [esp + 0x20]
neg eax
add eax, esi
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
cmp edx, 0x4000
ja 0x4039fc
dec dword [esp + 0x18]
cmp eax, 0x21
ja 0x4039eb
add eax, 0xfffffffe
or eax, 0xffffff20
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov byte [edx], al
jmp 0x403ac9
add dword [esp + 0x20], 0xffffffdf
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov byte [eax], 0x20
jmp 0x403a50
add dword [esp + 0x18], 0xffffc000
cmp eax, 9
ja 0x403a31
mov eax, dword [esp + 0x18]
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
or eax, ecx
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov byte [edx], al
jmp 0x403ac9
add dword [esp + 0x20], 0xfffffff7
mov eax, dword [esp + 0x18]
and eax, 0x4000
shr eax, 0xb
or eax, 0xffffff10
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov byte [ecx], al
mov eax, dword [esp + 0x20]
cmp eax, 0xff
jbe 0x403ac4
lea ecx, [eax - 0xff]
cmp ecx, 0x5fa
jb 0x403a9e
mov dword [esp + 4], edi
mov dword [esp], ebp
mov ecx, eax
xor eax, eax
mov byte [edx], al
mov byte [edx + 1], al
mov byte [edx + 2], al
mov byte [edx + 3], al
mov byte [edx + 4], al
add ecx, 0xfffffb05
add edx, 5
cmp ecx, 0x6f9
jae 0x403a72
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 4]
mov ebp, dword [esp]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov eax, dword [esp + 0x20]
add eax, 0xffffff01
mov byte [edx], 0
inc edx
cmp eax, 0xff
ja 0x403aa9
mov dword [esp + 0x20], eax
mov edi, dword [esp + 4]
mov ebp, dword [esp]
lea ecx, [edx + 1]
mov byte [edx], al
mov edx, dword [esp + 0x18]
mov eax, edx
and eax, 0x3f
add eax, eax
add eax, eax
mov byte [ecx], al
shr edx, 6
lea eax, [ecx + 2]
mov dword [esp + 0x1c], eax
mov byte [ecx + 1], dl
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0xc]
cmp esi, eax
jb 0x4035b1
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
jmp 0x403b27
mov eax, dword [ebx + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
cmp esi, ecx
jb 0x4035b1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [esi], ecx
sub edx, eax
mov eax, edx
add esp, 0x3c
pop esi
mov esp, ebx
pop ebx
ret
mov dword [esp + 8], ebp
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4
mov edi, dword [esp + 4]
mov ebp, dword [esp]
jmp 0x4039b4