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

Disassembly:
sub esp, 0xe4
mov eax, dword [0x41c140]
xor eax, esp
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf8]
push ebx
push ebp
mov ebp, dword [esp + 0x104]
mov ebx, ecx
push esi
mov esi, dword [esp + 0xfc]
mov dword [esp + 0x2c], ecx
push edi
mov edi, dword [esp + 0xf8]
mov eax, dword [esi]
add eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], ebp
lea ecx, [eax + edx]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x2c], ecx
and ecx, 4
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], edx
je 0x411fba
mov dword [esp + 0x44], 0xffffffff
xor ebp, ebp
jmp 0x411fce
sub eax, ecx
lea ebp, [eax + edx]
lea eax, [ebp - 1]
mov dword [esp + 0x44], eax
test ebp, eax
jne 0x413676
cmp edx, ecx
jb 0x413676
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
cmp eax, 0x35
ja case.0x41200e.4
movzx eax, byte [eax + 0x41372c]
jmp dword [eax*4 + 0x4136a4]
mov eax, dword [esp + 0x2c]
lea ecx, [edi + 8]
xor edx, edx
mov dword [edi + 0xc], 0
xor esi, esi
mov dword [ecx], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x412887
cmp ebx, dword [esp + 0x1c]
jae 0x41208e
mov eax, ebx
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [esp + 0x18], ebx
jmp 0x4120a7
mov eax, ebx
lea ecx, [edi + 8]
cmp eax, dword [esp + 0x1c]
jae 0x41208a
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [esp + 0x18], ebx
jmp 0x4120a7
mov eax, dword [esp + 0x2c]
test al, 2
je 0x4120a5
mov ebp, edi
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], ecx
jmp 0x4134d5
xor eax, eax
mov dword [ecx], eax
cmp ebx, dword [esp + 0x1c]
jae 0x4120d2
mov al, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
movzx edx, al
jmp 0x4120f2
mov eax, ebx
lea ecx, [edi + 8]
cmp eax, dword [esp + 0x1c]
jae 0x4120d2
movzx edx, byte [eax]
lea ebx, [eax + 1]
mov dword [esp + 0x18], ebx
jmp 0x4120f2
test byte [esp + 0x2c], 2
je 0x4120f0
mov ebp, edi
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 2
jmp 0x4134d5
xor edx, edx
mov dword [edi + 0xc], edx
mov edi, dword [ecx]
mov eax, edi
shl eax, 8
mov ecx, 0x1f
add eax, edx
mov dword [esp + 0x38], edx
xor edx, edx
div ecx
test edx, edx
jne 0x412122
test byte [esp + 0x38], 0x20
jne 0x412122
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x412122
xor ecx, ecx
jmp 0x412127
mov ecx, 1
cmp dword [esp + 0x64], 0
mov dword [esp + 0x14], ecx
jne 0x41215d
shr edi, 4
mov eax, 1
lea ecx, [edi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x41214e
cmp ebp, eax
jb 0x41214e
xor eax, eax
jmp 0x412153
mov eax, 1
mov ecx, dword [esp + 0x14]
or ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x24]
test ecx, ecx
je 0x412887
mov ebp, dword [esp + 0x10]
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x24
jmp 0x4134d5
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412892
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4128a5
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x4128ee
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412901
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412946
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412959
mov edi, ebx
cmp edi, dword [esp + 0x1c]
jae 0x41298d
mov ebp, dword [esp + 0x10]
lea ebx, [edi + 1]
mov al, byte [edi]
mov dword [esp + 0x18], ebx
mov byte [ecx + ebp + 0x2920], al
inc ecx
jmp 0x41292a
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412a14
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412a27
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412b9f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412bb2
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412c4c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412c5f
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412fa6
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412f8a
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x41306f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x413082
mov edi, dword [esp + 0x1c]
mov ecx, ebx
cmp ecx, edi
jae 0x4124ea
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4124cb
mov edi, dword [esp + 0x1c]
mov ecx, ebx
cmp ecx, edi
jae 0x4125c3
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4125d6
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x41268d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412679
mov edi, dword [esp + 0x40]
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x412736
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x412749
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp edi, dword [esp + 0x48]
jae 0x4132f1
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x104]
sub eax, ebp
and eax, dword [esp + 0x44]
inc dword [esp + 0x58]
mov al, byte [eax + ebx]
mov ebx, dword [esp + 0x18]
mov byte [edi], al
inc edi
mov dword [esp + 0x28], edi
mov eax, ecx
dec ecx
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x4122c6
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ecx, edi
sub ecx, ebx
cmp ecx, 4
jl 0x412431
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x28]
cmp eax, 2
jl 0x412431
cmp esi, 0xf
jae 0x412340
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [esp + 0x18], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebp + eax*2 + 0x160]
mov dword [esp + 0x14], eax
test eax, eax
js 0x41235e
mov ecx, eax
sar ecx, 9
jmp 0x412387
mov ebx, dword [esp + 0x14]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [ebp + eax*2 + 0x960]
test ebx, ebx
js 0x412367
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
shr edx, cl
sub esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
test ecx, 0x100
jne 0x412586
cmp esi, 0xf
jae 0x4123b7
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [esp + 0x18], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebp + eax*2 + 0x160]
mov dword [esp + 0x38], eax
test eax, eax
js 0x4123d5
mov ecx, eax
sar ecx, 9
jmp 0x412400
mov ebx, dword [esp + 0x38]
mov ecx, 0xa
nop
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [ebp + eax*2 + 0x960]
test ebx, ebx
js 0x4123e0
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub esi, ecx
shr edx, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov byte [ecx], al
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x38]
test ecx, 0x100
jne 0x412582
add dword [esp + 0x28], 2
mov byte [eax], cl
jmp 0x41230a
cmp esi, 0xf
jae 0x412461
cmp ecx, 2
jge 0x4124fd
mov eax, edx
and eax, 0x3ff
movsx edi, word [ebp + eax*2 + 0x160]
test edi, edi
js 0x41248f
sar edi, 9
test edi, edi
je 0x4124bf
cmp esi, edi
jb 0x4124bf
mov edi, dword [esp + 0x1c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebp + eax*2 + 0x160]
mov dword [esp + 0x14], eax
test eax, eax
js 0x412526
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [esp + 0x14], eax
jmp 0x412550
cmp esi, 0xa
jbe 0x4124bf
mov ecx, 0xa
nop dword [eax]
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebp + eax*2 + 0x960]
test edi, edi
jns 0x41245d
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4124a0
mov edi, dword [esp + 0x1c]
cmp ebx, edi
jae 0x4124ee
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x10]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x41243f
jmp 0x412461
mov ebp, dword [esp + 0x10]
test byte [esp + 0x2c], 2
jne 0x413149
xor eax, eax
jmp 0x4124cf
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 [esp + 0x18], ebx
or dword [esp + 0x24], edx
add esi, 0x10
mov edx, dword [esp + 0x24]
jmp 0x412461
mov ebx, dword [esp + 0x14]
mov ecx, 0xa
nop
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [ebp + eax*2 + 0x960]
test ebx, ebx
js 0x412530
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
shr edx, cl
sub esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
cmp ecx, 0x100
jae 0x412586
jmp 0x412568
mov ebp, edi
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x48]
jae 0x41315e
mov byte [eax], cl
inc eax
mov dword [esp + 0x28], eax
jmp 0x412306
mov dword [esp + 0x28], eax
and ecx, 0x1ff
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
je 0x41287d
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x4180a0]
mov eax, dword [eax + 0x418020]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x412601
cmp esi, ecx
jae 0x4125eb
cmp ebx, edi
jb 0x4125d2
test byte [esp + 0x2c], 2
jne 0x413173
xor eax, eax
jmp 0x4125da
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [esp + 0x40]
or edx, eax
cmp esi, ecx
jb 0x4125bf
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
cmp esi, 0xf
jae 0x4126c2
mov eax, edi
sub eax, ebx
cmp eax, 2
jge 0x41269e
mov ebp, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ebp + eax*2 + 0xf00]
test edi, edi
js 0x41263f
sar edi, 9
test edi, edi
je 0x41266f
cmp esi, edi
jae 0x4126c6
jmp 0x41266f
cmp esi, 0xa
jbe 0x41266f
mov ecx, 0xa
nop dword [eax]
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1700]
test edi, edi
jns 0x4126c6
lea eax, [ecx + 1]
cmp esi, eax
jae 0x412650
cmp ebx, dword [esp + 0x1c]
jae 0x41268f
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 0xf
jb 0x412617
jmp 0x4126c2
mov ebp, edi
test byte [esp + 0x2c], 2
jne 0x41318c
xor eax, eax
jmp 0x41267d
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 [esp + 0x18], ebx
or dword [esp + 0x24], edx
add esi, 0x10
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ebp + eax*2 + 0xf00]
test edi, edi
js 0x4126e6
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x412708
mov ecx, 0xa
nop dword [eax + eax]
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1700]
test edi, edi
js 0x4126f0
mov eax, dword [edi*4 + 0x4181a0]
sub esi, ecx
shr edx, cl
mov ecx, dword [edi*4 + 0x418120]
mov edi, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
test edi, edi
je 0x41277c
cmp esi, edi
jae 0x41275e
cmp ebx, dword [esp + 0x1c]
jb 0x412745
test byte [esp + 0x2c], 2
jne 0x4131a1
xor eax, eax
jmp 0x41274d
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, edi
jb 0x412730
mov ebp, dword [esp + 0x10]
mov ecx, edi
mov eax, 1
shl eax, cl
sub esi, edi
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x104]
sub edi, eax
mov dword [esp + 0x58], edi
cmp ecx, edi
jbe 0x41279c
cmp dword [esp + 0x64], 0
jne 0x413394
mov ebp, dword [esp + 0x28]
sub edi, ecx
and edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
add edi, eax
cmp ebp, edi
mov eax, edi
cmova eax, ebp
add eax, ecx
cmp eax, dword [esp + 0x48]
ja 0x413140
cmp ecx, 9
jb 0x412830
cmp ecx, dword [esp + 0x34]
ja 0x412824
mov ebp, ecx
mov ecx, dword [esp + 0x28]
and ebp, 0xfffffff8
add ebp, edi
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [ecx + 4], eax
add ecx, 8
cmp edi, ebp
jb 0x4127d5
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
and ecx, 7
mov dword [esp + 0x14], ecx
cmp ecx, 3
jae 0x412824
test ecx, ecx
je 0x412302
mov ebp, dword [esp + 0x28]
mov al, byte [edi]
mov byte [ebp], al
cmp ecx, 1
jbe 0x412819
mov al, byte [edi + 1]
mov byte [ebp + 1], al
add ebp, ecx
mov dword [esp + 0x28], ebp
jmp 0x412302
mov ebp, dword [esp + 0x28]
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 3]
mov byte [ebp], al
sub ecx, 3
movzx eax, byte [edi - 2]
mov byte [ebp + 1], al
movzx eax, byte [edi - 1]
mov byte [ebp + 2], al
add ebp, 3
cmp ecx, 2
jg 0x412830
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x412302
mov al, byte [edi]
mov byte [ebp], al
cmp ecx, 1
jle 0x412819
mov al, byte [edi + 1]
mov byte [ebp + 1], al
add ebp, ecx
mov dword [esp + 0x28], ebp
jmp 0x412302
test byte [ebp + 0x14], 1
jne 0x4132d0
cmp esi, 3
jae 0x4128b7
cmp ebx, dword [esp + 0x1c]
jb 0x4128a1
test byte [esp + 0x2c], 2
jne 0x4131ba
xor eax, eax
jmp 0x4128a9
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x41288c
mov edi, dword [esp + 0x10]
mov eax, edx
and eax, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x24], edx
lea ebp, [edi + 0x18]
mov dword [esp + 0x54], esi
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [ebp], eax
jne 0x412af7
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x412917
cmp ebx, dword [esp + 0x1c]
jb 0x4128fd
test byte [esp + 0x2c], 2
jne 0x413233
xor eax, eax
jmp 0x412905
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x4128e8
mov ebp, dword [esp + 0x10]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x24], edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp ecx, 4
jae 0x4129bb
test esi, esi
je 0x412987
cmp esi, 8
jae 0x412973
cmp ebx, dword [esp + 0x1c]
jb 0x412955
test byte [esp + 0x2c], 2
jne 0x41324c
xor eax, eax
jmp 0x41295d
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x412940
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov byte [ecx + ebp + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [esp + 0x24], edx
jmp 0x41292a
cmp ebx, dword [esp + 0x1c]
jb 0x4129a7
test byte [esp + 0x2c], 2
mov ebp, dword [esp + 0x10]
jne 0x413265
mov byte [ecx + ebp + 0x2920], 0
inc ecx
jmp 0x41292a
mov al, byte [ebx]
inc ebx
mov byte [ecx + ebp + 0x2920], al
inc ecx
mov dword [esp + 0x18], ebx
jmp 0x41292a
movzx ecx, byte [ebp + 0x2921]
movzx eax, byte [ebp + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x2922]
mov dword [esp + 0x14], ecx
movzx ecx, byte [ebp + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [esp + 0x14], ecx
jne 0x41330c
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
test ecx, ecx
je 0x412a75
test esi, esi
je 0x412a86
cmp esi, 8
jae 0x412a3d
cmp ebx, dword [esp + 0x1c]
jb 0x412a23
test byte [esp + 0x2c], 2
jne 0x41327a
xor eax, eax
jmp 0x412a2b
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x412a0e
mov ecx, dword [esp + 0x14]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
jmp 0x412a54
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
cmp ebp, dword [esp + 0x48]
jae 0x413293
mov byte [ebp], al
inc ebp
dec ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
jmp 0x4129fd
test ecx, ecx
jne 0x412a86
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
jmp 0x41287d
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
cmp ebp, ecx
jb 0x412ab3
mov ebp, dword [esp + 0x10]
mov ecx, 2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov dword [ebp], 9
jmp 0x4134d5
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jae 0x4132ac
mov edi, dword [esp + 0x14]
sub ecx, ebp
sub eax, ebx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, edi
cmovb edi, ecx
push edi
push ebx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add ebx, edi
add ebp, edi
mov dword [esp + 0x24], ebx
add esp, 0xc
mov dword [esp + 0x28], ebp
sub ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x412a71
cmp eax, 3
je case.0x41200e.10
cmp eax, 1
jne 0x412b7f
mov eax, dword [esp + 0x10]
add edi, 0x40
movaps xmm0, xmmword [0x418ac0]
push 0x90
push 8
mov dword [eax + 0x2c], 0x120
mov dword [eax + 0x30], 0x20
movups xmmword [eax + 0xde0], xmm0
push edi
movups xmmword [eax + 0xdf0], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x70
add edi, 0x90
push 9
push edi
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_aWINMM.dll]
add esp, 0x18
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [esp + 0x10]
jmp 0x412ca7
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp ecx, 3
jae 0x412c1c
movsx eax, byte [ecx + 0x418240]
cmp esi, eax
jae 0x412bd2
cmp ebx, dword [esp + 0x1c]
jb 0x412bae
test byte [esp + 0x2c], 2
jne 0x4131d3
xor eax, eax
jmp 0x412bb6
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [esp + 0x14]
or edx, eax
mov dword [esp + 0x24], edx
movsx eax, byte [ecx + 0x418240]
cmp esi, eax
jb 0x412b99
mov cl, byte [ecx + 0x418240]
mov edx, 1
mov eax, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [esp + 0x14]
dec edx
and edx, eax
mov dword [edi + ecx*4 + 0x2c], edx
movsx ecx, byte [ecx + 0x418240]
shr eax, cl
sub esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], esi
mov eax, dword [ecx*4 + 0x418234]
add eax, edx
mov edx, dword [esp + 0x24]
mov dword [edi + ecx*4 + 0x2c], eax
inc ecx
jmp 0x412b81
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x30]
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x34]
jae 0x412c9d
cmp esi, 3
jae 0x412c71
cmp ebx, dword [esp + 0x1c]
jb 0x412c5b
test byte [esp + 0x2c], 2
jne 0x4131ec
xor eax, eax
jmp 0x412c63
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x412c46
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], esi
movzx eax, byte [eax + 0x418220]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [esp + 0x14]
inc ecx
jmp 0x412c38
mov dword [edi + 0x34], 0x13
lea ebp, [edi + 0x18]
mov eax, dword [ebp]
mov dword [esp + 0x20], ebp
test eax, eax
js 0x413137
imul ebp, eax, 0xda0
add edi, 0x40
push 0x40
lea eax, [esp + 0xb4]
push 0
push eax
add ebp, edi
mov dword [esp + 0x5c], ebp
call sub.VCRUNTIME140.dll_memset
push 0xc80
lea eax, [ebp + 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x38]
add esp, 0x18
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edi, dword [edi]
mov edx, dword [eax + edi*4 + 0x2c]
test edx, edx
je 0x412d10
movzx eax, byte [ecx + ebp]
inc ecx
inc dword [esp + eax*4 + 0xb0]
cmp ecx, edx
jb 0x412d00
xor ebp, ebp
mov edx, 4
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
nop dword [eax]
mov eax, dword [esp + edx + 0xb0]
add ecx, eax
add ecx, ecx
add ebp, eax
mov eax, dword [esp + edx + 0xb4]
add dword [esp + 0x3c], eax
mov dword [esp + edx + 0x70], ecx
add ecx, eax
mov eax, dword [esp + edx + 0xb8]
add ecx, ecx
add dword [esp + 0x38], eax
mov dword [esp + edx + 0x74], ecx
add ecx, eax
add ecx, ecx
mov dword [esp + edx + 0x78], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x412d30
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
add ebp, eax
cmp ecx, 0x10000
je 0x412d8a
cmp ebp, 1
ja 0x41334d
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0
cmp dword [eax + edi*4 + 0x2c], 0
jbe 0x412e61
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
movzx edi, byte [esi + ebx]
xor edx, edx
test edi, edi
je 0x412e47
mov ebp, dword [esp + edi*4 + 0x6c]
mov ebx, edi
lea eax, [ebp + 1]
mov dword [esp + edi*4 + 0x6c], eax
mov ecx, ebp
add edx, edx
and ecx, 1
shr ebp, 1
or edx, ecx
sub ebx, 1
jne 0x412dd0
cmp edi, 0xa
ja 0x412ecf
mov ebx, dword [esp + 0x44]
mov eax, edi
shl eax, 9
or eax, esi
mov dword [esp + 0x44], ebx
movzx eax, ax
mov dword [esp + 0x5c], eax
cmp edx, 0x400
jae 0x412e3f
mov eax, dword [esp + 0x50]
mov ecx, edi
mov ebp, 1
mov dword [esp + 0x44], ebx
shl ebp, cl
mov ecx, dword [esp + 0x5c]
lea eax, [eax + edx*2]
add eax, 0x120
lea edi, [ebp*2]
nop dword [eax + eax]
mov word [eax], cx
add edx, ebp
add eax, edi
cmp edx, 0x400
jb 0x412e30
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x20]
mov edi, dword [ebp]
inc esi
mov edx, dword [esp + 0x10]
cmp esi, dword [edx + edi*4 + 0x2c]
jb 0x412db5
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
cmp edi, 2
jne 0x41312b
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
add eax, edi
mov dword [esp + 0x14], ecx
cmp ecx, eax
jae 0x4130f4
cmp esi, 0xf
jae 0x412fdb
mov eax, dword [esp + 0x1c]
sub eax, ebx
cmp eax, 2
jge 0x412fb7
mov eax, edx
and eax, 0x3ff
movsx edi, word [ebp + eax*2 + 0x1ca0]
test edi, edi
js 0x412f57
sar edi, 9
test edi, edi
je 0x412f80
cmp esi, edi
jae 0x412fdb
jmp 0x412f80
mov ebx, dword [esp + 0x50]
mov eax, edx
mov ebp, dword [esp + 0x38]
and eax, 0x3ff
movsx ecx, word [ebx + eax*2 + 0x120]
test ecx, ecx
jne 0x412efb
mov word [ebx + eax*2 + 0x120], bp
mov ecx, ebp
sub ebp, 2
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x44]
shr edx, 9
mov dword [esp + 0x44], eax
cmp edi, 0xb
jbe 0x412f43
add edi, 0xfffffff5
mov dword [esp + 0x44], eax
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
movzx ecx, word [ebx + eax*2 + 0x91e]
test cx, cx
jne 0x412f37
mov word [ebx + eax*2 + 0x91e], bp
mov ecx, ebp
sub ebp, 2
jmp 0x412f3a
movsx ecx, cx
sub edi, 1
jne 0x412f12
mov dword [esp + 0x38], ebp
shr edx, 1
and edx, 1
sub edx, ecx
mov word [ebx + edx*2 + 0x91e], si
jmp 0x412e43
cmp esi, 0xa
jbe 0x412f80
mov ecx, 0xa
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebp + eax*2 + 0x24a0]
test edi, edi
jns 0x412fdb
lea eax, [ecx + 1]
cmp esi, eax
jae 0x412f61
cmp ebx, dword [esp + 0x1c]
jae 0x412fa8
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x10]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x412ea0
jmp 0x412fdb
mov ebp, edi
test byte [esp + 0x2c], 2
jne 0x413205
xor eax, eax
jmp 0x412f8e
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 [esp + 0x18], ebx
or dword [esp + 0x24], edx
add esi, 0x10
mov edx, dword [esp + 0x24]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebp + eax*2 + 0x1ca0]
mov dword [esp + 0x34], eax
test eax, eax
js 0x413002
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [esp + 0x34], eax
jmp 0x413027
mov ecx, 0xa
mov edi, dword [esp + 0x34]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx eax, word [ebp + eax*2 + 0x24a0]
mov dword [esp + 0x34], eax
test eax, eax
js 0x413007
shr edx, cl
sub esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], esi
cmp eax, 0x10
jae 0x413049
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebp + 0x2924], al
inc ecx
jmp 0x412e74
jne 0x41305a
cmp dword [esp + 0x14], 0
je 0x41336a
mov eax, dword [esp + 0x34]
movsx ecx, byte [eax + 0x418234]
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x41309f
cmp ebx, dword [esp + 0x1c]
jb 0x41307e
test byte [esp + 0x2c], 2
jne 0x41321a
xor eax, eax
jmp 0x413086
movzx eax, byte [ebx]
inc ebx
mov dword [esp + 0x18], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [esp + 0x40]
or edx, eax
cmp esi, ecx
jb 0x413069
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
movsx eax, byte [eax + 0x418238]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [esp + 0x54], esi
and edi, edx
shr edx, cl
add edi, eax
mov dword [esp + 0x24], edx
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x14]
jne 0x4130d5
movzx ecx, byte [eax + ebp + 0x2923]
add eax, ebp
jmp 0x4130d9
xor ecx, ecx
add eax, ebp
push edi
push ecx
add eax, 0x2924
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, edi
jmp 0x412e70
jne 0x41337f
push edi
lea eax, [ebp + 0x2924]
push eax
lea eax, [ebp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
add eax, 0x2924
add eax, ebp
push eax
lea eax, [ebp + 0xde0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
add ebp, 0x18
dec dword [ebp]
mov edi, dword [esp + 0x10]
jmp 0x412ca7
mov edx, dword [esp + 0x24]
jmp 0x412302
mov ebp, dword [esp + 0x34]
jmp 0x4122f7
mov ecx, 1
mov dword [ebp], 0x17
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ecx, 2
mov dword [ebp], 0x18
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x19
jmp 0x4134d5
mov ecx, 1
mov dword [ebp], 0x1a
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x1b
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 3
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0xb
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0xe
jmp 0x4134d5
mov ecx, 1
mov dword [ebp], 0x10
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x12
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 5
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 6
jmp 0x4134d5
mov ecx, 1
mov dword [ebp], 7
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x33
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
mov ecx, 2
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x34
jmp 0x4134d5
test byte [esp + 0x2c], 2
mov edx, dword [esp + 0x24]
je case.0x41200e.40
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x26
jmp 0x4134d5
test byte [esp + 0x2c], 1
je 0x4134c1
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4133e2
mov edi, dword [esp + 0x1c]
jmp 0x4133d4
mov ebp, dword [esp + 0x10]
mov ecx, 2
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x35
jmp 0x4134d5
mov ebp, edi
or ecx, 0xffffffff
mov dword [ebp], 0x27
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x28
jmp 0x4134d5
mov ebp, dword [esp + 0x10]
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [ebp], 0xa
jmp 0x4134d5
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x23
jmp 0x4134d5
mov ebp, edi
or ecx, 0xffffffff
mov dword [ebp], 0x11
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, edi
or ecx, 0xffffffff
mov dword [ebp], 0x15
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, edi
or ecx, 0xffffffff
mov dword [ebp], 0x25
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov edi, dword [esp + 0x1c]
mov ecx, ebx
cmp ecx, edi
jae 0x4133b9
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4133c2
test byte [esp + 0x2c], 2
jne 0x4133ef
xor eax, eax
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4133de
cmp ebx, edi
jae 0x4133b9
movzx eax, byte [ebx]
inc ebx
jmp 0x4133c2
mov ebp, dword [esp + 0x10]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x413443
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x20
jmp 0x4134d5
mov ecx, ebx
cmp ecx, dword [esp + 0x1c]
jae 0x41345b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x41346a
mov eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x41342c
movzx edi, byte [eax]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x10]
jmp 0x413437
mov ebp, edi
test byte [esp + 0x2c], 2
jne 0x4134ad
xor edi, edi
mov eax, dword [ebp + 0x10]
shl eax, 8
or eax, edi
inc ecx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp ecx, 4
jae 0x4134c1
test esi, esi
je 0x41348b
cmp esi, 8
jae 0x413480
cmp ebx, dword [esp + 0x1c]
jb 0x413466
test byte [esp + 0x2c], 2
jne 0x413497
xor eax, eax
jmp 0x41346a
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x413455
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
movzx edi, dl
shr edx, 8
sub esi, 8
jmp 0x413437
cmp ebx, dword [esp + 0x1c]
jae 0x41342e
movzx edi, byte [ebx]
inc ebx
jmp 0x413437
mov ebp, dword [esp + 0x10]
mov ecx, 1
mov dword [esp + 0x20], ecx
mov dword [ebp], 0x29
jmp 0x4134d5
mov ecx, 1
mov dword [ebp], 0x2a
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, edi
xor ecx, ecx
mov dword [ebp], 0x22
mov dword [esp + 0x20], ecx
jmp 0x4134d5
mov ebp, edi
or ecx, 0xffffffff
mov eax, dword [esp + 0x34]
sub ebx, dword [esp + 0x30]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 4], esi
mov dword [ebp + 0x38], edx
mov dword [eax], ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
sub ebx, dword [esp + 0x4c]
test byte [esp + 0x2c], 9
mov dword [esp + 0x28], ebx
mov dword [eax], ebx
je 0x413672
test ecx, ecx
js 0x413672
mov esi, dword [ebp + 0x1c]
mov eax, 0x5e6ea9af
mul ebx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
shr esi, 0x10
sub edx, eax
mov dword [esp + 0x3c], edx
test ebx, ebx
je 0x413650
nop
xor edi, edi
cmp edx, 7
jbe 0x4135b3
mov ebp, dword [esp + 0x4c]
mov ebx, 7
sub ebx, ebp
movzx eax, byte [ebp]
add edi, 8
add ecx, eax
movzx eax, byte [ebp + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [ebp + 7]
add ebp, 8
add esi, ecx
add ecx, eax
add esi, ecx
lea eax, [ebx + ebp]
cmp eax, edx
jb 0x413562
mov dword [esp + 0x4c], ebp
xor ebx, ebx
xor ebp, ebp
cmp edi, edx
jae 0x413611
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x4135fc
sub edx, edi
sub edx, 2
shr edx, 1
inc edx
lea edi, [edi + edx*2]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x4c]
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add ebx, ecx
add edi, 2
add ecx, eax
add ebp, ecx
sub edx, 1
jne 0x4135d7
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x3c]
jae 0x41360c
mov edx, dword [esp + 0x4c]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [esp + 0x4c], edx
lea eax, [ebx + ebp]
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 [esp + 0x3c]
add esi, eax
sub dword [esp + 0x28], edx
mov edx, 0x15b0
mov dword [esp + 0x3c], edx
jne 0x413550
mov ebp, dword [esp + 0x10]
shl esi, 0x10
add esi, ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x1c], esi
test ecx, ecx
jne 0x413672
test byte [esp + 0x2c], 1
je 0x413672
cmp esi, dword [ebp + 0x10]
mov eax, 0xfffffffe
cmovne ecx, eax
mov eax, ecx
jmp 0x41368b
mov eax, dword [esp + 0x68]
mov dword [eax], 0
mov eax, 0xfffffffd
mov dword [esi], 0
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004149f9
add esp, 0xe4
ret