Function at 0x43ded0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 8], 0xffffffff
mov eax, dword [esi]
add eax, ecx
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
lea edx, [eax + ebx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp + 0x20]
and edx, 4
mov dword [ebp - 0x2c], edx
je 0x43df21
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x43df37
sub eax, dword [ebp + 0x14]
add eax, ebx
mov dword [ebp - 0x10], eax
lea edx, [eax - 1]
mov dword [ebp - 0x30], edx
test edx, eax
jne 0x43f519
cmp ebx, dword [ebp + 0x14]
jb 0x43f519
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], ebx
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x34], edi
mov edi, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0xc]
cmp eax, 0x35
ja case.0x43df7c.4
movzx eax, byte [eax + 0x43f5b8]
jmp dword [eax*4 + 0x43f534]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], edx
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x10], 1
test al, 1
je 0x43e89f
jmp 0x43dfcb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov ebx, edi
cmp ebx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jb 0x43dff7
test al, 2
mov dword [ebp - 0x1c], 1
mov eax, 0xfffffffc
mov dword [ecx], 1
cmovne eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, eax
jmp 0x43f2b8
movzx eax, byte [edi]
inc edi
mov dword [ebp - 0xc], edi
mov dword [ecx + 8], eax
jmp 0x43e006
mov ecx, dword [ebp + 8]
cmp edi, dword [ebp - 0x20]
jb 0x43e02f
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
mov dword [ebp - 0x1c], 1
cmovne eax, dword [ebp - 0x1c]
mov dword [ecx], 2
mov ecx, eax
mov dword [ebp - 8], eax
jmp 0x43f2b8
movzx ebx, byte [edi]
xor edx, edx
mov eax, dword [ecx + 8]
inc edi
shl eax, 8
add eax, ebx
mov dword [ebp - 0x1c], 0x1f
div dword [ebp - 0x1c]
mov dword [ebp - 0xc], edi
test edx, edx
mov dword [ecx + 0xc], ebx
mov edx, dword [ecx + 8]
jne 0x43e065
test bl, 0x20
jne 0x43e065
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x43e065
xor ebx, ebx
jmp 0x43e06a
mov ebx, 1
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ebx
jne 0x43e09d
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x43e090
cmp dword [ebp - 0x10], eax
jb 0x43e090
xor eax, eax
jmp 0x43e095
mov eax, 1
mov ecx, dword [ebp + 8]
or ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x43e0ac
mov edx, dword [ebp - 4]
jmp 0x43e89f
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [ecx], 0x24
jmp 0x43f2ff
cmp edi, dword [ebp - 0x20]
jae 0x43f155
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x34]
or edx, eax
add esi, 8
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x43df7c.18
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
mov dword [ebp - 0x18], esi
and eax, edx
shr edx, cl
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [edx + 0x521fd4]
add ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
cmp edx, 0x10
jne 0x43e121
movzx edx, byte [eax + ebx + 0x2923]
add eax, ebx
jmp 0x43e125
xor edx, edx
add eax, ebx
push ecx
push edx
add eax, 0x2924
push eax
call fcn.004eb750
mov ecx, dword [ebp + 8]
add esp, 0xc
add ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x2c]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x28], ebx
cmp ebx, eax
jae 0x43e297
cmp esi, 0xf
jae 0x43e21e
mov eax, dword [ebp - 0x20]
sub eax, edi
cmp eax, 2
jge 0x43e1f7
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x43e190
sar eax, 9
test eax, eax
je case.0x43df7c.16
cmp esi, eax
jae 0x43e21e
jmp case.0x43df7c.16
cmp esi, 0xa
jbe case.0x43df7c.16
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
lea ecx, [ecx]
inc dword [ebp - 0x18]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x24a0]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x43e21e
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 1]
cmp esi, eax
jae 0x43e1a0
cmp edi, dword [ebp - 0x20]
jae 0x43eef0
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp + 8]
or edx, eax
add esi, 8
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x43e169
jmp 0x43e21e
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0xc]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0xc], edi
shl eax, cl
mov ecx, dword [ebp + 8]
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x24], eax
test eax, eax
js 0x43e243
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x24], eax
jmp 0x43e274
mov edi, dword [ebp + 8]
mov ecx, 0xa
mov ebx, dword [ebp - 0x24]
mov edi, edi
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x24a0]
test ebx, ebx
js 0x43e250
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], esi
cmp eax, 0x10
jae 0x43eecf
mov ecx, dword [ebp + 8]
mov byte [ebx + ecx + 0x2924], al
inc ebx
jmp 0x43e13e
jne 0x43f1bf
mov eax, dword [ecx + 0x2c]
push eax
lea eax, [ecx + 0x2924]
push eax
lea eax, [ecx + 0x40]
push eax
call fcn.004eb010
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
push dword [ecx + 0x30]
add eax, 0x2924
add eax, ecx
push eax
lea eax, [ecx + 0xde0]
push eax
call fcn.004eb010
mov ecx, dword [ebp + 8]
add esp, 0x18
dec dword [ecx + 0x18]
mov eax, dword [ecx + 0x18]
test eax, eax
jns 0x43ec67
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 4
jl 0x43e413
mov eax, dword [ebp - 0x3c]
sub eax, ecx
cmp eax, 2
jl 0x43e410
cmp esi, 0xf
jae 0x43e31e
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ecx + eax*2 + 0x160]
test ebx, ebx
js 0x43e33b
mov ecx, ebx
sar ecx, 9
jmp 0x43e364
mov ecx, 0xa
mov dword [ebp - 0x10], ecx
mov eax, edx
not ebx
shr eax, cl
mov ecx, dword [ebp + 8]
and eax, 1
add eax, ebx
movsx ebx, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
test ebx, ebx
js 0x43e343
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
test ebx, 0x100
jne 0x43e553
cmp esi, 0xf
jae 0x43e38e
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x43e3ae
mov ecx, eax
sar ecx, 9
jmp 0x43e3dd
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
test eax, eax
js 0x43e3b6
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov byte [ecx], bl
lea edi, [ecx + 1]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0xc]
test eax, 0x100
jne 0x43e54b
mov edi, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov byte [edi], al
mov edi, dword [ebp - 0xc]
jmp 0x43e2e8
mov eax, dword [ebp - 0x1c]
cmp esi, 0xf
jae 0x43e4d9
cmp eax, 2
jge 0x43e4b5
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x43e44f
sar eax, 9
test eax, eax
je case.0x43df7c.23
cmp esi, eax
jae 0x43e4d9
jmp case.0x43df7c.23
cmp esi, 0xa
jbe case.0x43df7c.23
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
lea esp, [esp]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jns 0x43e4d9
lea eax, [ecx + 1]
cmp esi, eax
jae 0x43e460
cmp edi, dword [ebp - 0x20]
jae 0x43ef0f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x43e425
jmp 0x43e4d9
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0xc]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0xc], edi
shl eax, cl
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ebx + eax*2 + 0x160]
test ebx, ebx
js 0x43e4fc
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x43e525
mov ecx, 0xa
mov dword [ebp - 0x10], ecx
mov eax, edx
not ebx
shr eax, cl
mov ecx, dword [ebp + 8]
and eax, 1
add eax, ebx
movsx ebx, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
test ebx, ebx
js 0x43e504
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp ebx, 0x100
jae 0x43e553
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jae 0x43ef2e
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0x14], ecx
jmp 0x43e2e8
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0x14], ecx
and ebx, 0x1ff
mov dword [ebp - 0x28], ebx
cmp ebx, 0x100
je 0x43e892
lea eax, [ebx*4 - 0x404]
mov ecx, dword [eax + 0x521e40]
mov ebx, dword [eax + 0x521dc0]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x43e5bc
cmp esi, ecx
jae 0x43e5a9
cmp edi, dword [ebp - 0x20]
jae 0x43f136
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x34]
or edx, eax
add esi, 8
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x43df7c.25
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [ebp - 4], edx
add ebx, eax
cmp esi, 0xf
jae 0x43e688
mov eax, dword [ebp - 0x20]
sub eax, edi
cmp eax, 2
jge 0x43e664
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x43e5fd
sar eax, 9
test eax, eax
je case.0x43df7c.26
cmp esi, eax
jae 0x43e68b
jmp case.0x43df7c.26
cmp esi, 0xa
jbe case.0x43df7c.26
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
lea ebx, [ebx]
inc dword [ebp - 0x18]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x1700]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x43e68b
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 1]
cmp esi, eax
jae 0x43e610
cmp edi, dword [ebp - 0x20]
jae 0x43f0e0
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x43e5d3
jmp 0x43e688
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0xc]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0xc], edi
shl eax, cl
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x43e6ad
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x43e6dc
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x10]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x1700]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
test eax, eax
js 0x43e6b5
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x521f40]
mov eax, dword [eax*4 + 0x521ec0]
mov dword [ebp - 4], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x43e73a
cmp esi, ecx
jae 0x43e723
nop
cmp edi, dword [ebp - 0x20]
jae 0x43f0ff
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x34]
or edx, eax
add esi, 8
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x43df7c.27
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
cmp eax, ecx
jbe 0x43e754
test byte [ebp + 0x20], 4
jne case.0x43df7c.37
mov edi, dword [ebp - 0xc]
sub ecx, eax
and ecx, dword [ebp - 0x30]
add ecx, dword [ebp + 0x14]
cmp dword [ebp - 0x14], ecx
mov eax, ecx
mov dword [ebp - 0x10], ecx
cmova eax, dword [ebp - 0x14]
add eax, ebx
cmp eax, dword [ebp - 0x3c]
jbe 0x43e7a6
mov ecx, dword [ebp - 0x14]
mov eax, ebx
dec ebx
test eax, eax
je 0x43e2e8
cmp ecx, dword [ebp - 0x3c]
jae 0x43f11e
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
inc dword [ebp - 0x40]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x14], ecx
jmp 0x43e775
cmp ebx, 9
jb 0x43e81e
cmp ebx, dword [ebp - 0x24]
ja 0x43e823
mov eax, ebx
and eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x1c], eax
lea ebx, [ebx]
mov edi, dword [ebp - 0x14]
mov eax, dword [ecx]
add dword [ebp - 0x14], 8
mov dword [edi], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edi + 4], eax
cmp ecx, dword [ebp - 0x1c]
jb 0x43e7c0
mov edi, dword [ebp - 0xc]
and ebx, 7
mov dword [ebp - 0x10], ecx
cmp ebx, 3
jae 0x43e81e
test ebx, ebx
je 0x43e2e5
mov edx, dword [ebp - 0x14]
mov al, byte [ecx]
mov byte [edx], al
mov edx, dword [ebp - 4]
cmp ebx, 1
jbe 0x43e811
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x14], ecx
jmp 0x43e2e8
mov ecx, dword [ebp - 0x14]
add ecx, ebx
mov dword [ebp - 0x14], ecx
jmp 0x43e2e8
cmp ebx, 2
jbe 0x43e868
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 0x10]
mov eax, edx
mov edx, dword [ebp - 0x14]
shr eax, 1
inc eax
mov dword [ebp - 0x18], eax
jmp 0x43e840
movzx eax, byte [ecx]
sub ebx, 3
mov byte [edx], al
movzx eax, byte [ecx + 1]
mov byte [edx + 1], al
movzx eax, byte [ecx + 2]
add ecx, 3
mov byte [edx + 2], al
add edx, 3
sub dword [ebp - 0x18], 1
jne 0x43e840
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 4]
test ebx, ebx
je 0x43e2e5
mov edi, dword [ebp - 0x14]
mov al, byte [ecx]
mov byte [edi], al
mov edi, dword [ebp - 0xc]
cmp ebx, 1
jbe 0x43e811
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x14], ecx
jmp 0x43e2e8
mov ecx, dword [ebp + 8]
test byte [ecx + 0x14], 1
jne 0x43f059
cmp esi, 3
jae 0x43e8c8
cmp edi, dword [ebp - 0x20]
jae 0x43ef46
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 3
jb case.0x43df7c.3
mov ecx, dword [ebp + 8]
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [ecx + 0x14], eax
shr eax, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], esi
mov dword [ecx + 0x18], eax
jne 0x43eaa2
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x43e915
cmp edi, dword [ebp - 0x20]
jae 0x43ef65
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0xc], edi
and eax, 7
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x43df7c.5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
cmp ebx, 4
jae 0x43e984
test esi, esi
je case.0x43df7c.7
cmp esi, 8
jae 0x43e952
cmp edi, dword [ebp - 0x20]
jae 0x43ef84
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x43df7c.6
mov eax, dword [ebp + 8]
sub esi, 8
mov byte [ebx + eax + 0x2920], dl
shr edx, 8
inc ebx
mov dword [ebp - 4], edx
jmp 0x43e923
cmp edi, dword [ebp - 0x20]
jae 0x43efa3
mov ecx, dword [ebp + 8]
mov al, byte [edi]
inc edi
mov dword [ebp - 0xc], edi
mov byte [ebx + ecx + 0x2920], al
inc ebx
jmp 0x43e923
mov ecx, dword [ebp + 8]
movzx ebx, byte [ecx + 0x2921]
movzx eax, byte [ecx + 0x2920]
movzx ecx, byte [ecx + 0x2923]
shl ebx, 8
or ebx, eax
shl ecx, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
movzx eax, byte [eax + 0x2922]
or ecx, eax
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x43df7c.39
mov ecx, dword [ebp - 0x14]
test ebx, ebx
je 0x43ea9a
test esi, esi
je case.0x43df7c.9
cmp esi, 8
jae 0x43e9f6
cmp edi, dword [ebp - 0x20]
jae 0x43efc2
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x43df7c.51
mov ecx, dword [ebp - 0x14]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edx
jmp 0x43ea0d
mov eax, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x3c]
jae 0x43efe1
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], ebx
jmp 0x43e9c4
test ebx, ebx
je 0x43ea9a
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
jb 0x43ea48
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 2
mov dword [eax], 9
jmp 0x43f2ff
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
cmp edi, eax
jae 0x43eff9
sub eax, edi
sub edx, ecx
mov dword [ebp - 0x18], eax
mov eax, edx
cmp edx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
cmp eax, ebx
jae 0x43ea73
cmp edx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x43ea78
mov edx, ebx
mov dword [ebp - 0x10], ebx
push edx
push edi
push ecx
call fcn.004eb010
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add edi, eax
add ecx, eax
mov dword [ebp - 0xc], edi
sub ebx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], ebx
jmp 0x43ea22
mov edx, dword [ebp - 4]
jmp 0x43e892
cmp eax, 3
je 0x43f1d7
cmp eax, 1
jne 0x43eb6b
mov dword [ecx + 0x2c], 0x120
lea edi, [ecx + 0x40]
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0xde0], 0x5050505
mov dword [ecx + 0xde4], 0x5050505
mov dword [ecx + 0xde8], 0x5050505
mov dword [ecx + 0xdec], 0x5050505
mov dword [ecx + 0xdf0], 0x5050505
push 0x90
mov dword [ecx + 0xdf4], 0x5050505
push 8
mov dword [ecx + 0xdf8], 0x5050505
push edi
mov dword [ecx + 0xdfc], 0x5050505
call fcn.004eb750
push 0x70
add edi, 0x90
push 9
push edi
call fcn.004eb750
mov eax, 0x18
add edi, 0x70
push eax
push 7
push edi
call fcn.004eb750
mov ecx, dword [ebp + 8]
mov eax, 0x18
add esp, 0x24
mov dword [edi + eax], 0x8080808
mov dword [edi + eax + 4], 0x8080808
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
jmp 0x43e2d7
xor ebx, ebx
cmp ebx, 3
jae 0x43ebe7
movsx eax, byte [ebx + 0x521fe0]
cmp esi, eax
jae 0x43eba4
cmp edi, dword [ebp - 0x20]
jae 0x43f01b
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
movsx eax, byte [ebx + 0x521fe0]
add esi, 8
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x43df7c.11
mov cl, byte [ebx + 0x521fe0]
mov edx, 1
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
shl edx, cl
dec edx
and edx, edi
mov dword [eax + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x521fe0]
mov eax, dword [ebx*4 + 0x521fd4]
sub esi, ecx
shr edi, cl
add eax, edx
mov ecx, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
mov dword [ecx + ebx*4 + 0x2c], eax
inc ebx
jmp 0x43eb6d
push 0x120
lea eax, [ecx + 0x1b80]
push 0
push eax
call fcn.004eb750
mov edx, dword [ebp - 4]
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ecx + 0x34]
jae 0x43ec5b
cmp esi, 3
jae 0x43ec33
cmp edi, dword [ebp - 0x20]
jae 0x43f03a
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 3
jb case.0x43df7c.14
movzx eax, byte [ebx + 0x521fc0]
mov ecx, edx
mov edi, dword [ebp + 8]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 4], edx
inc ebx
mov dword [ebp - 0x18], esi
mov byte [eax + edi + 0x1b80], cl
mov edi, dword [ebp - 0xc]
jmp 0x43ec02
mov dword [ecx + 0x34], 0x13
jmp 0x43e2d7
imul eax, eax, 0xda0
add ecx, 0x40
push 0x40
push 0
add eax, ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004eb750
mov eax, dword [ebp - 8]
push 0x800
add eax, 0x120
push 0
push eax
call fcn.004eb750
mov eax, dword [ebp - 8]
push 0x480
add eax, 0x920
push 0
push eax
call fcn.004eb750
mov ecx, dword [ebp + 8]
add esp, 0x24
xor edx, edx
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + eax*4 + 0x2c]
test ecx, ecx
je 0x43ecd5
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx]
inc edx
inc dword [ebp + eax*4 - 0xc4]
cmp edx, ecx
jb 0x43ecc2
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ecx]
mov eax, dword [ebp + edx - 0xc4]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0xc0]
add dword [ebp - 0x10], eax
mov dword [ebp + edx - 0x80], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0xbc]
add ecx, ecx
add dword [ebp - 0x2c], eax
mov dword [ebp + edx - 0x7c], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0x78], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x43ecf0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
add ecx, eax
cmp dword [ebp - 0x38], 0x10000
je 0x43ed53
cmp ecx, 1
ja case.0x43df7c.35
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x2c], 0
mov eax, dword [ecx + 0x18]
cmp dword [ecx + eax*4 + 0x2c], 0
jbe 0x43eebf
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
jmp 0x43ed80
mov eax, dword [ebp - 0x2c]
xor edx, edx
movzx eax, byte [ebx + eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43eea2
mov edi, dword [ebp + eax*4 - 0x84]
mov ecx, dword [ebp - 0x10]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0x84], eax
lea ebx, [ebx]
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x43edb0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xa
ja 0x43ee17
mov edi, dword [ebp - 0x30]
mov eax, ecx
shl eax, 9
or eax, dword [ebp - 0x2c]
movzx eax, ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edi
cmp edx, 0x400
jae 0x43ee9c
mov eax, dword [ebp - 8]
mov ebx, 1
shl ebx, cl
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edi
lea eax, [eax + edx*2]
add eax, 0x120
lea edi, [ebx + ebx]
mov word [eax], cx
add edx, ebx
add eax, edi
cmp edx, 0x400
jb 0x43ee03
jmp 0x43ee9c
mov ebx, dword [ebp - 8]
mov eax, edx
and eax, 0x3ff
lea edi, [ebx + eax*2]
movsx eax, word [edi + 0x120]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x43ee40
mov word [edi + 0x120], si
mov edi, esi
sub esi, 2
jmp 0x43ee43
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
shr edx, 9
mov dword [ebp - 0x30], eax
cmp ecx, 0xb
jbe 0x43ee87
lea ebx, [ecx - 0xb]
mov dword [ebp - 0x30], eax
shr edx, 1
mov eax, edx
and eax, 1
sub eax, edi
mov edi, dword [ebp - 8]
movzx ecx, word [edi + eax*2 + 0x91e]
test cx, cx
jne 0x43ee7f
mov word [edi + eax*2 + 0x91e], si
mov edi, esi
sub esi, 2
jmp 0x43ee82
movsx edi, cx
sub ebx, 1
jne 0x43ee57
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
shr edx, 1
and edx, 1
sub edx, edi
mov word [ecx + edx*2 + 0x91e], ax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x18]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ecx + eax*4 + 0x2c]
jb 0x43ed80
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0xc]
cmp eax, 2
jne 0x43e2d4
xor ebx, ebx
jmp 0x43e13b
jne 0x43eed9
test ebx, ebx
je case.0x43df7c.17
movsx ecx, byte [eax + 0x521da8]
mov dword [ebp - 0x34], ecx
cmp esi, ecx
jae 0x43e0e4
jmp case.0x43df7c.18
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x10
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x17
jmp 0x43f2b5
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 2
mov dword [eax], 0x18
jmp 0x43f2ff
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 5
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 6
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 7
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x33
jmp 0x43f2b5
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 2
mov dword [eax], 0x34
jmp 0x43f2ff
test byte [ebp + 0x20], 2
mov eax, 1
mov edx, dword [ebp - 4]
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x26
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0xb
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0xe
jmp 0x43f2b5
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x43f087
cmp edi, dword [ebp - 0x20]
jae 0x43f204
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0xc], edi
and eax, 7
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x43df7c.32
mov eax, dword [ebp + 0xc]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp edi, eax
jbe 0x43f0b0
lea ebx, [ebx]
cmp esi, 8
jb 0x43f0ad
dec edi
sub esi, 8
cmp edi, eax
ja 0x43f0a0
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edx, edx
mov ecx, esi
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
dec edx
and edi, edx
test byte [ebp + 0x20], 1
mov dword [ebp - 4], edi
je 0x43f2ef
mov edx, edi
xor ebx, ebx
mov edi, dword [ebp - 0xc]
jmp 0x43f242
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x1a
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x1b
jmp 0x43f2b5
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 2
mov dword [eax], 0x35
jmp 0x43f2ff
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x19
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x12
jmp 0x43f2b5
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [eax], 0x27
jmp 0x43f2ff
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [eax], 0x23
jmp 0x43f2ff
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [eax], 0x11
jmp 0x43f2ff
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [ecx], 0x15
jmp 0x43f2ff
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [ecx], 0xa
jmp 0x43f2ff
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xffffffff
mov dword [eax], 0x25
jmp 0x43f2ff
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x20
jmp 0x43f2b5
cmp edi, dword [ebp - 0x20]
jae 0x43f29b
movzx eax, byte [edi]
inc edi
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
shl eax, 8
or eax, dword [ebp - 0x1c]
inc ebx
mov dword [ecx + 0x10], eax
cmp ebx, 4
jae case.0x43df7c.34
test esi, esi
je case.0x43df7c.42
cmp esi, 8
jae 0x43f271
cmp edi, dword [ebp - 0x20]
jae 0x43f27f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xc], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x43df7c.41
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 4], edx
jmp 0x43f22f
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x29
jmp 0x43f2b5
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x2a
mov dword [ebp - 8], ecx
mov eax, ecx
mov dword [ebp - 0x38], eax
cmp ecx, 1
je case.0x43df7c.4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], edi
mov edi, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x40], eax
cmp ecx, 0xfffffffc
je 0x43f322
jmp 0x43f2ff
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [eax], 0x22
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
cmp edx, eax
jbe 0x43f325
lea esp, [esp]
cmp esi, 8
jb 0x43f325
dec edx
sub esi, 8
cmp edx, eax
ja 0x43f310
jmp 0x43f325
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 4], esi
xor ecx, ecx
bts ecx, esi
cmp esi, 0x20
mov esi, dword [ebp + 8]
cmovae eax, ecx
sub edx, dword [ebp + 0xc]
xor ecx, eax
mov eax, dword [ebp - 0x24]
dec ecx
mov dword [esi + 0x20], eax
and ecx, edi
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x18]
test byte [ebp + 0x20], 9
mov dword [esi + 0x24], ebx
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [eax], ecx
je 0x43f50d
cmp dword [ebp - 8], 0
jl 0x43f50d
mov ebx, dword [esi + 0x1c]
mov eax, 0x5e6ea9af
mul ecx
movzx edi, bx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ecx
shr ebx, 0x10
mov dword [ebp - 0x10], ebx
sub edx, eax
mov dword [ebp + 0xc], edx
test ecx, ecx
je 0x43f4e4
mov esi, edx
nop
xor edx, edx
mov dword [ebp + 0x1c], edx
cmp esi, 7
jbe 0x43f439
mov eax, 7
sub eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, eax
mov eax, dword [ebp + 0x18]
add edx, 8
movzx eax, byte [eax]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 1]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 2]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 3]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 4]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 5]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 6]
add edi, eax
mov eax, dword [ebp + 0x18]
add ebx, edi
movzx eax, byte [eax + 7]
add edi, eax
mov eax, dword [ebp + 0x18]
add eax, 8
add ebx, edi
mov dword [ebp + 0x18], eax
add eax, ecx
cmp eax, esi
jb 0x43f3c7
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0x1c], edx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
xor esi, esi
xor edx, edx
cmp dword [ebp + 0x1c], eax
jae 0x43f4a6
sub eax, dword [ebp + 0x1c]
cmp eax, 2
jb 0x43f494
mov eax, dword [ebp + 0x1c]
mov ecx, esi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx]
add edi, eax
movzx eax, byte [ebx + 1]
add esi, edi
add ebx, 2
add edi, eax
add ecx, edi
sub edx, 1
jne 0x43f466
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0x18], ebx
mov ebx, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x43f4a1
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
add edi, eax
add ebx, edi
inc dword [ebp + 0x18]
lea eax, [edx + esi]
add ebx, eax
mov eax, 0x80078071
mov esi, 0x15b0
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ebx, eax
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0xc], esi
jne 0x43f3b0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
shl ebx, 0x10
add ebx, edi
mov dword [esi + 0x1c], ebx
test ecx, ecx
jne 0x43f510
test byte [ebp + 0x20], 1
je 0x43f510
cmp ebx, dword [esi + 0x10]
mov eax, 0xfffffffe
pop edi
cmovne ecx, eax
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], 0
mov eax, 0xfffffffd
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret