Function at 0x402100
Capabilities:
Compute adler32 checksum
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x452004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [eax]
push edi
mov edi, ecx
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp + 0x14]
add eax, edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x4c], 0xffffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x68], ecx
and ecx, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x9c], ecx
je 0x40217b
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x78], 0
jmp 0x402190
sub eax, edx
add eax, esi
mov dword [ebp - 0x78], eax
lea ecx, [eax - 1]
mov dword [ebp - 0x80], ecx
test eax, ecx
jne 0x4038c5
cmp esi, edx
jb 0x4038c5
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x90], eax
mov eax, dword [edi]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x48], ecx
cmp eax, 0x35
ja case.0x4021d1.4
movzx eax, byte [eax + 0x403980]
jmp dword [eax*4 + 0x4038f8]
mov eax, dword [ebp - 0x68]
xor edx, edx
xor esi, esi
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x402a70
mov ecx, dword [ebp - 0x58]
cmp ebx, ecx
jae 0x402249
mov eax, ebx
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x50], ebx
jmp 0x40225e
mov ecx, dword [ebp - 0x58]
mov eax, ebx
cmp eax, ecx
jae 0x402246
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x50], ebx
jmp 0x40225e
mov eax, dword [ebp - 0x68]
test al, 2
je 0x40225c
mov ecx, 1
mov dword [ebp - 0x4c], ecx
mov dword [edi], ecx
jmp 0x4036d6
xor eax, eax
mov dword [edi + 8], eax
cmp ebx, ecx
jae 0x402282
mov al, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
movzx ecx, al
jmp 0x40229d
mov eax, ebx
cmp eax, dword [ebp - 0x58]
jae 0x402282
movzx ecx, byte [eax]
lea ebx, [eax + 1]
mov dword [ebp - 0x50], ebx
jmp 0x40229d
test byte [ebp - 0x68], 2
je 0x40229b
mov ecx, 1
mov dword [edi], 2
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
xor ecx, ecx
mov dword [edi + 0xc], ecx
xor edx, edx
mov eax, dword [edi + 8]
shl eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [edi + 8]
jne 0x4022ca
test byte [edi + 0xc], 0x20
jne 0x4022ca
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x4022ca
xor ecx, ecx
jmp 0x4022cf
mov ecx, 1
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x48], ecx
jne 0x402305
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4022f8
cmp dword [ebp - 0x78], eax
jb 0x4022f8
xor eax, eax
jmp 0x4022fd
mov eax, 1
mov ecx, dword [ebp - 0x48]
or ecx, eax
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x5c]
test ecx, ecx
je 0x402a70
or ecx, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402a7a
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402a8e
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402acc
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402ade
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402b1b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402b2e
mov eax, ebx
cmp eax, dword [ebp - 0x58]
jae 0x402b5a
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x50], ebx
jmp 0x402b01
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402bda
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402bee
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402de5
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402df7
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402e8a
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402e9c
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x403233
movzx eax, byte ds:[ecx]
lea ebx, [ecx + 1]
jmp 0x403246
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x4032f1
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x403303
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x40265d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x40266f
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x402755
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x402767
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x40283d
movzx eax, byte ds:[ecx]
lea ebx, [ecx + 1]
jmp 0x40284f
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x4028ed
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4028ff
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x54], eax
jae 0x40351f
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x80]
mov edi, dword [ebp + 0xc]
mov al, byte [eax + edi]
mov edi, dword [ebp - 0x54]
inc dword [ebp - 0x54]
inc dword [ebp - 0x90]
mov byte [edi], al
mov edi, dword [ebp - 0x60]
mov eax, ecx
dec ecx
mov dword [ebp - 0x48], ecx
test eax, eax
jne case.0x4021d1.53
mov ecx, dword ds:[ebp - 0x58]
sub ecx, ebx
cmp ecx, 4
jl 0x4025bd
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x60]
cmp eax, 2
jl 0x4025bd
mov edi, edi
cmp esi, 0xf
jae 0x4024d7
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x50], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x4024f4
mov ecx, eax
sar ecx, 9
jmp 0x40251e
mov ebx, dword [ebp - 0x48]
mov ecx, 0xa
lea esp, [esp]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x402500
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x50]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
test ecx, 0x100
jne 0x40270d
cmp esi, 0xf
jae 0x40254b
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x50], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x40256b
mov ecx, eax
sar ecx, 9
jmp 0x402591
mov ebx, dword [ebp - 0x6c]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x402573
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
mov byte [ecx], al
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x6c]
test ecx, 0x100
jne 0x40270a
add dword [ebp - 0x54], 2
mov byte [eax], cl
jmp 0x402497
lea ecx, [ecx]
cmp esi, 0xf
jae 0x4025f6
cmp ecx, 2
jge 0x40268e
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x402625
sar edi, 9
test edi, edi
je 0x402655
cmp esi, edi
jb 0x402655
mov edi, dword [ebp - 0x60]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x4026b4
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x48], eax
jmp 0x4026de
cmp esi, 0xa
jbe 0x402655
mov ecx, 0xa
nop
mov ebx, dword [ebp - 0x60]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x960]
mov ebx, dword [ebp - 0x50]
test edi, edi
jns 0x4025f3
lea eax, [ecx + 1]
cmp esi, eax
jae 0x402630
cmp ebx, dword [ebp - 0x58]
jb 0x40266b
mov edi, dword [ebp - 0x60]
test byte [ebp - 0x68], 2
jne 0x4033c5
xor eax, eax
jmp 0x402672
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov edi, dword ds:[ebp - 0x60]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4025ce
jmp 0x4025f6
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x50], ebx
or dword [ebp - 0x5c], edx
add esi, 0x10
mov edx, dword [ebp - 0x5c]
jmp 0x4025f6
mov ebx, dword [ebp - 0x48]
mov ecx, 0xa
lea esp, [esp]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x4026c0
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x50]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
cmp ecx, 0x100
jae 0x40270d
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x8c]
jae 0x4033d8
mov byte [eax], cl
inc eax
mov dword [ebp - 0x54], eax
jmp 0x402497
mov dword [ebp - 0x54], eax
and ecx, 0x1ff
mov dword ds:[ebp - 0x48], ecx
cmp ecx, 0x100
je 0x402a66
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x432d50]
mov eax, dword [eax + 0x432b50]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x402791
cmp esi, ecx
jae 0x40277d
cmp ebx, dword [ebp - 0x58]
jb 0x402763
test byte [ebp - 0x68], 2
jne 0x4033eb
xor eax, eax
jmp 0x40276a
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x84]
or edx, eax
cmp esi, ecx
jb 0x402750
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], edx
cmp esi, 0xf
jae 0x4027d3
mov eax, dword ds:[ebp - 0x58]
sub eax, ebx
cmp eax, 2
jge 0x40286e
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4027fc
sar edi, 9
test edi, edi
je 0x402835
cmp esi, edi
jb 0x402835
mov edi, dword [ebp - 0x60]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0xf00]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x402894
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x4028c1
lea esp, [esp]
cmp esi, 0xa
jbe 0x402835
mov ecx, 0xa
lea ebx, [ebx]
mov ebx, dword [ebp - 0x60]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x1700]
mov ebx, dword [ebp - 0x50]
test edi, edi
jns 0x4027d0
lea eax, [ecx + 1]
cmp esi, eax
jae 0x402810
cmp ebx, dword [ebp - 0x58]
jb 0x40284b
mov edi, dword [ebp - 0x60]
test byte [ebp - 0x68], 2
jne 0x4033fe
xor eax, eax
jmp 0x402852
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov edi, dword ds:[ebp - 0x60]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4027a9
jmp 0x4027d3
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x50], ebx
or dword [ebp - 0x5c], edx
add esi, 0x10
mov edx, dword [ebp - 0x5c]
jmp 0x4027d3
mov ebx, dword [ebp - 0x6c]
mov ecx, 0xa
lea esp, [esp]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1700]
test ebx, ebx
js 0x4028a0
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x6c]
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x432c50]
mov eax, dword [eax*4 + 0x432bd0]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x70], eax
test ecx, ecx
je 0x40292c
cmp esi, ecx
jae 0x402915
cmp ebx, dword [ebp - 0x58]
jb 0x4028fb
test byte [ebp - 0x68], 2
jne 0x403411
xor eax, eax
jmp 0x402902
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x84]
or edx, eax
cmp esi, ecx
jb 0x4028e8
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x90], ecx
cmp eax, ecx
jbe 0x402949
cmp dword [ebp - 0x9c], 0
jne case.0x4021d1.37
mov ebx, dword [ebp - 0x50]
sub ecx, eax
and ecx, dword [ebp - 0x80]
add ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x54], ecx
mov eax, ecx
mov dword [ebp - 0x4c], ecx
cmova eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
add eax, ecx
cmp eax, dword [ebp - 0x8c]
ja 0x40248d
cmp ecx, 9
jb 0x4029ff
lea ebx, [ebx]
cmp ecx, dword [ebp - 0x70]
ja 0x4029ff
mov edi, dword [ebp - 0x4c]
mov eax, ecx
mov edx, dword [ebp - 0x54]
and eax, 0xfffffff8
add eax, edi
mov dword [ebp - 0x7c], eax
mov ecx, eax
jmp 0x4029a0
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [edx + 4], eax
add edx, 8
cmp edi, ecx
jb 0x4029a0
mov ecx, dword [ebp - 0x48]
and ecx, 7
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x48], ecx
cmp ecx, 3
jae 0x4029ff
test ecx, ecx
je 0x402497
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
mov al, byte [eax]
mov byte [ebx], al
mov ebx, dword [ebp - 0x50]
cmp ecx, 1
jbe 0x4029f7
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
mov al, byte [eax + 1]
mov byte [edi + 1], al
mov edi, dword [ebp - 0x60]
add dword [ebp - 0x54], ecx
jmp 0x402497
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
movzx eax, byte [ebx]
sub ecx, 3
mov byte [edi], al
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
add ebx, 3
mov byte [edi + 2], al
add edi, 3
cmp ecx, 2
jg 0x402a05
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
test ecx, ecx
jle 0x402497
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
mov al, byte [eax]
mov byte [ebx], al
mov ebx, dword [ebp - 0x50]
cmp ecx, 1
jle 0x402a5e
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
mov al, byte [eax + 1]
mov byte [ebx + 1], al
mov ebx, dword [ebp - 0x50]
add dword [ebp - 0x54], ecx
jmp 0x402497
test byte [edi + 0x14], 1
jne 0x403505
cmp esi, 3
jae 0x402a9f
cmp ebx, dword [ebp - 0x58]
jb 0x402a8a
test byte ds:[ebp - 0x68], 2
jne 0x403425
xor eax, eax
jmp 0x402a91
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x402a75
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], esi
mov dword [edi + 0x18], eax
jne 0x402cd8
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x402af3
cmp ebx, dword [ebp - 0x58]
jb 0x402ada
test byte [ebp - 0x68], 2
jne 0x403485
xor eax, eax
jmp 0x402ae1
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x402ac7
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x5c], edx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 4
jae 0x402b85
test esi, esi
je 0x402b55
cmp esi, 8
jae 0x402b42
cmp ebx, dword [ebp - 0x58]
jb 0x402b2a
test byte ds:[ebp - 0x68], 2
jne 0x403498
xor eax, eax
jmp 0x402b31
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x402b16
mov ecx, dword [ebp - 0x48]
mov byte [edi + ecx + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [ebp - 0x5c], edx
jmp 0x402b01
cmp ebx, dword [ebp - 0x58]
jb 0x402b71
test byte ds:[ebp - 0x68], 2
jne 0x4034ab
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x402b01
mov al, byte ds:[ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x50], ebx
jmp 0x402b01
movzx ecx, byte [edi + 0x2921]
movzx eax, byte [edi + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2922]
mov dword [ebp - 0x48], ecx
movzx ecx, byte [edi + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [ebp - 0x48], ecx
jne case.0x4021d1.39
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x402a66
test esi, esi
je case.0x4021d1.9
cmp esi, 8
jae 0x402c02
cmp ebx, dword [ebp - 0x58]
jb 0x402bea
test byte ds:[ebp - 0x68], 2
jne 0x4034de
xor eax, eax
jmp 0x402bf1
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x402bd5
mov ecx, dword [ebp - 0x48]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], edx
jmp 0x402c16
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x8c]
cmp dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x60]
jae 0x4034f1
mov ebx, dword [ebp - 0x54]
inc dword [ebp - 0x54]
dec ecx
mov dword [ebp - 0x48], ecx
mov byte [ebx], al
mov ebx, dword [ebp - 0x50]
jmp 0x402bc0
mov ecx, dword ds:[ebp - 0x8c]
cmp dword [ebp - 0x54], ecx
jb 0x402c61
mov edi, dword [ebp - 0x60]
mov ecx, 2
mov dword [ebp - 0x4c], ecx
mov dword [edi], 9
jmp 0x4036d6
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
cmp ebx, eax
jae 0x4034be
mov edx, dword [ebp - 0x54]
sub eax, ebx
mov edi, dword [ebp - 0x48]
sub ecx, edx
cmp ecx, eax
lfence
cmovae ecx, eax
cmp ecx, edi
cmovb edi, ecx
push edi
push ebx
push edx
call fcn.00415e30
mov ecx, dword [ebp - 0x48]
add ebx, edi
mov eax, dword [ebp - 0x70]
sub ecx, edi
add dword [ebp - 0x54], edi
add esp, 0xc
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x90], eax
test ecx, ecx
jne case.0x4021d1.9
mov edi, dword [ebp - 0x60]
jmp 0x402a66
jmp 0x402ce0
cmp eax, 3
je case.0x4021d1.10
cmp eax, 1
jne 0x402dc5
mov eax, dword ds:[ebp - 0x60]
add edi, 0x40
push 0x90
push 8
push edi
mov dword [eax + 0x2c], 0x120
mov dword [eax + 0x30], 0x20
mov dword [eax + 0xde0], 0x5050505
mov dword [eax + 0xde4], 0x5050505
mov dword [eax + 0xde8], 0x5050505
mov dword [eax + 0xdec], 0x5050505
mov dword [eax + 0xdf0], 0x5050505
mov dword [eax + 0xdf4], 0x5050505
mov dword [eax + 0xdf8], 0x5050505
mov dword [eax + 0xdfc], 0x5050505
call fcn.00415060
push 0x70
add edi, 0x90
push 9
push edi
call fcn.00415060
mov dword ds:[edi + 0x70], 0x7070707
add esp, 0x18
mov dword [edi + 0x74], 0x7070707
mov dword [edi + 0x78], 0x7070707
mov dword [edi + 0x7c], 0x7070707
mov dword [edi + 0x80], 0x7070707
mov dword [edi + 0x84], 0x7070707
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0x60]
jmp 0x402edc
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 3
jae 0x402e58
movsx eax, byte [ecx + 0x432300]
cmp esi, eax
jae 0x402e14
mov edi, edi
cmp ebx, dword [ebp - 0x58]
jb 0x402df3
test byte [ebp - 0x68], 2
jne 0x403438
xor eax, eax
jmp 0x402dfa
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x48]
or edx, eax
mov dword [ebp - 0x5c], edx
movsx eax, byte [ecx + 0x432300]
cmp esi, eax
jb 0x402dde
mov cl, byte [ecx + 0x432300]
mov edx, 1
mov eax, dword [ebp - 0x5c]
shl edx, cl
mov ecx, dword [ebp - 0x48]
dec edx
and edx, eax
mov dword [edi + ecx*4 + 0x2c], edx
movsx ecx, byte [ecx + 0x432300]
shr eax, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], esi
mov eax, dword [ecx*4 + 0x4324bc]
add eax, edx
mov edx, dword [ebp - 0x5c]
mov dword [edi + ecx*4 + 0x2c], eax
inc ecx
jmp 0x402dc7
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.00415060
mov edx, dword [ebp - 0x5c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [edi + 0x34]
jae 0x402ed5
nop
cmp esi, 3
jae 0x402ead
cmp ebx, dword [ebp - 0x58]
jb 0x402e98
test byte [ebp - 0x68], 2
jne 0x40344b
xor eax, eax
jmp 0x402e9f
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x402e85
mov eax, dword [ebp - 0x48]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], esi
movzx eax, byte [eax + 0x432390]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x48]
inc ecx
jmp 0x402e73
mov dword [edi + 0x34], 0x13
mov eax, dword ds:[edi + 0x18]
test eax, eax
js 0x4033b8
imul eax, eax, 0xda0
push 0x40
push 0
add eax, 0x40
add eax, edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00415060
mov eax, dword [ebp - 0x4c]
push 0xc80
add eax, 0x120
push 0
push eax
call fcn.00415060
mov eax, dword [edi + 0x18]
add esp, 0x18
xor ecx, ecx
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [ebp - 0x98], edx
test edx, edx
je 0x402f47
mov edi, dword [ebp - 0x4c]
movzx eax, byte ds:[ecx + edi]
inc ecx
inc dword [ebp + eax*4 - 0x44]
cmp ecx, edx
jb 0x402f33
mov edi, dword [ebp - 0x60]
xor ebx, ebx
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + edx - 0x44]
add ecx, eax
add ecx, ecx
add ebx, eax
mov eax, dword [ebp + edx - 0x40]
add dword [ebp - 0x78], eax
mov dword [ebp + edx - 0xe4], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x3c]
add ecx, ecx
add dword [ebp - 0x88], eax
mov dword [ebp + edx - 0xe0], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0xdc], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x402f65
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x7c], ebx
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x50]
add ecx, eax
cmp dword [ebp - 0x94], 0x10000
je 0x402fd4
cmp ecx, 1
ja 0x403567
xor eax, eax
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x98], eax
jbe 0x40315f
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x4c]
jmp 0x403000
movzx edi, byte [eax + ecx]
xor edx, edx
test edi, edi
je 0x40313a
mov ecx, dword [ebp + edi*4 - 0xe8]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edi
lea eax, [ecx + 1]
mov dword [ebp + edi*4 - 0xe8], eax
mov eax, dword ds:[ebp - 0x78]
and ecx, 1
mov ebx, dword [ebp - 0x80]
add edx, edx
or edx, ecx
dec eax
mov ecx, dword [ebp - 0x7c]
shr ecx, 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], ecx
test eax, eax
jne 0x403025
cmp edi, 0xa
ja 0x4030b5
mov eax, edi
mov dword [ebp - 0x80], ebx
shl eax, 9
or eax, dword [ebp - 0x88]
movzx eax, ax
mov dword [ebp - 0x94], eax
cmp edx, 0x400
jae 0x403137
mov ecx, edi
mov dword [ebp - 0x80], ebx
mov edi, dword [ebp - 0x94]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x98], eax
add eax, eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x7c]
lea eax, [eax + edx*2]
add eax, 0x120
mov word [eax], di
add edx, ecx
add eax, ebx
cmp edx, 0x400
jb 0x4030a1
jmp 0x403137
mov ecx, dword [ebp - 0x4c]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ecx + eax*2 + 0x120]
test ecx, ecx
jne 0x4030db
mov ecx, dword [ebp - 0x4c]
mov word [ecx + eax*2 + 0x120], si
mov ecx, esi
sub esi, 2
shr edx, 9
mov dword [ebp - 0x80], ebx
cmp edi, 0xb
jbe 0x40311f
mov dword [ebp - 0x80], ebx
add edi, 0xfffffff5
mov ebx, dword [ebp - 0x4c]
nop
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
movzx ecx, word [ebx + eax*2 + 0x91e]
test cx, cx
jne 0x403115
mov word [ebx + eax*2 + 0x91e], si
mov ecx, esi
sub esi, 2
jmp 0x403118
movsx ecx, cx
sub edi, 1
jne 0x4030f0
jmp 0x403122
mov ebx, dword [ebp - 0x4c]
shr edx, 1
and edx, 1
sub edx, ecx
mov ecx, dword [ebp - 0x88]
mov word [ebx + edx*2 + 0x91e], cx
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x88]
inc edx
mov dword [ebp - 0x88], edx
mov eax, edx
mov ebx, dword [edi + 0x18]
cmp edx, dword [edi + ebx*4 + 0x2c]
jb 0x403000
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x50]
mov eax, dword [edi + 0x18]
cmp eax, 2
jne 0x4033af
xor ecx, ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword ds:[edi + 0x30]
add eax, dword [edi + 0x2c]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jae 0x403375
cmp esi, 0xf
jae 0x4031cb
mov eax, dword [ebp - 0x58]
sub eax, ebx
cmp eax, 2
jge 0x403265
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1ca0]
test edi, edi
js 0x4031fa
sar edi, 9
test edi, edi
je 0x40322b
lea esp, [esp]
cmp esi, edi
jb 0x40322b
mov edi, dword [ebp - 0x60]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1ca0]
mov dword [ebp - 0x70], eax
test eax, eax
js 0x40328b
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x70], eax
jmp 0x4032ad
cmp esi, 0xa
jbe 0x40322b
mov ecx, 0xa
mov ebx, dword ds:[ebp - 0x60]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x24a0]
mov ebx, dword [ebp - 0x50]
test edi, edi
jns 0x4031c8
lea eax, [ecx + 1]
cmp esi, eax
jae 0x403204
cmp ebx, dword [ebp - 0x58]
jb 0x403242
mov edi, dword [ebp - 0x60]
test byte [ebp - 0x68], 2
jne 0x40345e
xor eax, eax
jmp 0x403249
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov edi, dword [ebp - 0x60]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x40319b
mov edi, edi
jmp 0x4031cb
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x50], ebx
or dword [ebp - 0x5c], edx
add esi, 0x10
mov edx, dword [ebp - 0x5c]
jmp 0x4031cb
mov ecx, 0xa
not dword [ebp - 0x70]
mov eax, edx
shr eax, cl
inc ecx
and eax, 1
add eax, dword [ebp - 0x70]
movsx eax, word [edi + eax*2 + 0x24a0]
mov dword [ebp - 0x70], eax
test eax, eax
js 0x403290
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], esi
cmp eax, 0x10
jae 0x4032cc
mov ecx, dword [ebp - 0x48]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x403170
jne 0x4032db
cmp dword [ebp - 0x48], 0
je case.0x4021d1.17
mov eax, dword [ebp - 0x70]
movsx ecx, byte [eax + 0x4322f4]
mov dword [ebp - 0x84], ecx
cmp esi, ecx
jae 0x40331c
cmp ebx, dword [ebp - 0x58]
jb 0x4032ff
test byte [ebp - 0x68], 2
jne 0x403471
xor eax, eax
jmp 0x403306
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x50], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x84]
or edx, eax
cmp esi, ecx
jb 0x4032ec
mov eax, dword [ebp - 0x70]
movsx eax, byte [eax + 0x4322f8]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [ebp - 0x6c], esi
and edi, edx
shr edx, cl
add edi, eax
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x48]
jne 0x40334e
add eax, dword [ebp - 0x60]
movzx edx, byte [eax + 0x2923]
jmp 0x403353
xor edx, edx
add eax, dword [ebp - 0x60]
push edi
push edx
add eax, 0x2924
push eax
call fcn.00415060
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x60]
jmp 0x40316d
jne case.0x4021d1.21
mov eax, dword [edi + 0x2c]
push eax
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00415e30
mov eax, dword [edi + 0x2c]
push dword [edi + 0x30]
add eax, 0x2924
add eax, edi
push eax
lea eax, [edi + 0xde0]
push eax
call fcn.00415e30
mov eax, dword [edi + 0x18]
add esp, 0x18
dec eax
mov dword [edi + 0x18], eax
jmp 0x402edc
mov edx, dword ds:[ebp - 0x5c]
jmp 0x402497
mov ecx, 1
mov dword [edi], 0x17
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 2
mov dword [edi], 0x18
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x19
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x1b
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 3
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0xb
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0xe
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x10
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x12
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 5
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 6
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 7
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
test byte [ebp - 0x68], 2
mov edi, dword [ebp - 0x60]
je case.0x4021d1.40
mov ecx, 1
mov dword [edi], 0x26
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x33
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 2
mov dword [edi], 0x34
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
test byte [ebp - 0x68], 1
jne 0x4035ce
xor ecx, ecx
mov dword [edi], 0x22
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 2
mov dword [edi], 0x35
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov edx, dword [ebp - 0x5c]
or ecx, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x4035bd
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4035c5
test byte [ebp - 0x68], 2
jne 0x4035f2
xor eax, eax
mov ecx, esi
shl eax, cl
or edx, eax
add esi, 8
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4035e2
cmp ebx, dword [ebp - 0x58]
jae 0x4035bd
movzx eax, byte [ebx]
inc ebx
jmp 0x4035c5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x40364c
mov ecx, 1
mov dword [edi], 0x20
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, ebx
cmp ecx, dword [ebp - 0x58]
jae 0x403672
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x403686
mov eax, ebx
cmp eax, dword [ebp - 0x58]
jae 0x40362e
movzx eax, byte [eax]
inc ebx
mov dword [ebp - 0x6c], eax
jmp 0x40363f
test byte [ebp - 0x68], 2
jne 0x4036c3
mov dword [ebp - 0x6c], 0
mov eax, dword [edi + 0x10]
shl eax, 8
or eax, dword [ebp - 0x6c]
inc ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 0x48], ecx
cmp ecx, 4
jae case.0x4021d1.34
jmp 0x403660
test esi, esi
je 0x4036a5
cmp esi, 8
jae 0x403697
cmp ebx, dword [ebp - 0x58]
jb 0x403682
test byte [ebp - 0x68], 2
jne 0x4036b3
xor eax, eax
jmp 0x403686
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x40366d
mov ecx, dword [ebp - 0x48]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x6c], eax
jmp 0x40363f
cmp ebx, dword [ebp - 0x58]
jae 0x40362e
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x6c], eax
jmp 0x40363f
mov ecx, 1
mov dword [edi], 0x29
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
mov ecx, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x4c], ecx
jmp 0x4036d6
or ecx, 0xffffffff
mov eax, dword ds:[ebp - 0x70]
sub ebx, dword [ebp - 0x64]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x38], edx
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x74]
mov dword [edi + 4], esi
mov dword [eax], ebx
mov eax, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x54], edx
mov dword [eax], edx
test bl, 9
je 0x4038b0
test ecx, ecx
js 0x4038b0
mov esi, dword [edi + 0x1c]
mov eax, 0x5e6ea9af
mul edx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, dword [ebp - 0x54]
shr esi, 0x10
mov dword [ebp - 0x78], esi
sub edx, eax
cmp dword [ebp - 0x54], 0
mov dword [ebp - 0x6c], edx
je 0x403890
nop
xor ebx, ebx
cmp edx, 7
jbe 0x4037e1
mov eax, dword [ebp - 0x74]
mov edi, 7
sub edi, eax
movzx eax, byte [eax]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0x74]
add eax, 8
add esi, ecx
mov dword [ebp - 0x74], eax
add eax, edi
cmp eax, edx
mov eax, dword [ebp - 0x74]
jb 0x403775
mov dword [ebp - 0x78], esi
xor edi, edi
cmp ebx, edx
jae 0x40384f
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x40383a
mov esi, dword [ebp - 0x74]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, edi
mov dword [ebp - 0x98], eax
mov edi, edi
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x403810
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], esi
mov esi, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x6c]
jae 0x40384a
jmp 0x40383c
mov ebx, edi
mov edx, dword [ebp - 0x74]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [ebp - 0x74], edx
lea eax, [edi + ebx]
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp - 0x6c]
add esi, eax
sub dword [ebp - 0x54], edx
mov edx, 0x15b0
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], edx
jne 0x403760
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x68]
shl esi, 0x10
add esi, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x1c], esi
test ecx, ecx
jne 0x4038b0
nop
test bl, 1
je 0x4038b0
cmp esi, dword [edi + 0x10]
mov eax, 0xfffffffe
cmovne ecx, eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413aae
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0xa4]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.00413aae
mov esp, ebp
pop ebp
ret 0x14