Function at 0x411e80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa9e555
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0xae9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xdc], esi
test esi, esi
je 0x411ee3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
cmp eax, 0xffffffff
jne 0x411f00
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x9c]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x411f28
mov byte [ebp - 4], 2
test esi, esi
je 0x411f12
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor ecx, ecx
xor edx, edx
or eax, 0xffffffff
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0x10], ecx
jbe 0x412127
mov edi, dword [ebp - 0x50]
xorps xmm1, xmm1
mov dword [ebp - 0x18], edi
movaps xmm2, xmm1
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x411f5d
mov edi, edx
mov dword [ebp - 0x2c], edx
jmp 0x411f66
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + edx*4]
mov dword [ebp - 0x2c], edi
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x174]
mov edx, dword [ebp - 0x14]
cmp dword [esi + edi*4], 0xffffffff
mov esi, dword [ebp + 0x18]
je 0x4120f1
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x174]
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi + edi*4]
cmp edx, eax
jne 0x411f96
cmp edi, ecx
jae 0x411fa2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x170]
mov ecx, dword [eax + edx*4]
mov eax, edi
sub eax, ecx
inc eax
cmp ecx, edi
ja 0x412008
cmp eax, 4
jb 0x412008
and eax, 3
mov edx, edi
mov edi, dword [ebp + 8]
sub edx, eax
mov dword [ebp - 0x58], edx
lea eax, [ecx + 3]
mov edx, ecx
shl eax, 4
shl edx, 4
add eax, dword [edi + 0x98]
nop
mov edi, dword [ebp + 8]
lea edx, [edx + 0x40]
add ecx, 4
lea eax, [eax + 0x40]
mov esi, dword [edi + 0x98]
mov edi, dword [ebp - 0x2c]
movq xmm0, qword [edx + esi - 0x40]
movhpd xmm0, qword [edx + esi - 0x30]
paddq xmm1, xmm0
movq xmm0, qword [eax - 0x50]
movhpd xmm0, qword [eax - 0x40]
paddq xmm2, xmm0
cmp ecx, dword [ebp - 0x58]
jbe 0x411fd0
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x54], xmm0
cmp ecx, edi
ja 0x4120d9
mov eax, edi
sub eax, ecx
inc eax
cmp eax, 2
jb 0x412092
mov esi, dword [ebp - 0x50]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x54]
dec eax
mov edx, ecx
shr eax, 1
shl edx, 4
inc eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x64]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x34], eax
jmp 0x412054
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x98]
add esi, dword [edx + edi]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x1c]
adc esi, dword [edx + edi + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x30]
add esi, dword [edx + edi + 0x10]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x20]
adc esi, dword [edx + edi + 0x14]
lea edx, [edx + 0x20]
sub dword [ebp - 0x34], 1
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
jne 0x412051
mov edx, dword [ebp - 0x1c]
jmp 0x4120a7
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
cmp ecx, edi
ja 0x4120ca
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
shl ecx, 4
mov eax, dword [eax + 0x98]
add esi, dword [ecx + eax]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x18]
adc esi, dword [ecx + eax + 4]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x20]
add dword [ebp - 0x24], eax
adc dword [ebp - 0x18], edx
mov esi, dword [ebp + 8]
lea ecx, [edi + 1]
mov dword [ebp - 0x34], ecx
mov edx, dword [esi + 0x174]
mov esi, dword [ebp + 0x18]
mov eax, dword [edx + edi*4]
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebp + 0x10]
jb 0x411f50
mov edi, dword [ebp - 0x24]
paddq xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movd ecx, xmm1
psrldq xmm1, 4
movd eax, xmm1
add edi, ecx
mov ecx, dword [ebp - 0x18]
adc ecx, eax
jmp 0x41212d
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov eax, dword [esi]
push ecx
push edi
push esi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
je 0x41215b
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 3
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x30
call fcn.00a0d38c
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x41217b
mov ecx, eax
call fcn.0041d540
mov edi, eax
jmp 0x41217d
xor edi, edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], edi
test edi, edi
je 0x412191
mov eax, dword [edi]
push edi
call dword [eax + 4]
push 0
push esi
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0041d5a0
push 1
lea ecx, [ebp - 0xc8]
call fcn.00410340
mov dword [ebp - 0x28], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push 0xaa5f80
push esi
mov byte [ebp - 4], 7
call dword [eax]
push 0x38
call fcn.00a0d38c
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4121fb
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CFolderOutStream.0
mov dword [esi + 8], 0
mov word [esi + 0xc], 0x100
mov dword [esi + 0x30], 0
jmp 0x412200
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0x60], esi
test esi, esi
je 0x412213
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0x40
mov byte [ebp - 4], 8
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x412236
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x14], 0
mov dword [esi + 0x30], eax
setne al
mov dword [ebp - 0x24], 0
mov byte [esi + 0xc], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a0], 0
setne al
mov byte [esi + 0xd], al
nop dword [eax]
mov ecx, edi
call fcn.0041d680
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41231d
mov byte [ebp - 4], 9
test esi, esi
je 0x412280
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x412291
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4122a2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0xc
test edi, edi
je 0x4122f5
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x412306
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0x10]
jb 0x4123d7
mov byte [ebp - 4], 0x3b
test esi, esi
je 0x412337
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x412348
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x3d
test ecx, ecx
je 0x412359
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x3e
test edi, edi
je 0x4123ac
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x3f
test eax, eax
je 0x411f12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp - 0xcc], 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x5c], xmm0
jne 0x4123f4
mov edx, eax
mov dword [ebp - 0x2c], eax
jmp 0x4123fd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x174]
mov ecx, dword [eax + edx*4]
mov eax, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
cmp ecx, 0xffffffff
je 0x4124fc
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x70]
mov eax, dword [ebp - 0x20]
mov eax, dword [ecx + eax*4 + 4]
mov ecx, dword [ecx + edi*4]
mov edi, dword [edx + eax*8]
sub edi, dword [edx + ecx*8]
mov eax, dword [edx + eax*8 + 4]
sbb eax, dword [edx + ecx*8 + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
inc edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x30]
mov eax, dword [eax + 0x170]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
jae 0x4124ad
nop dword [eax]
cmp dword [ebp - 0xd0], 0xffffffff
jne 0x41247d
mov ecx, eax
jmp 0x412483
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov edi, dword [eax + 0x174]
mov eax, dword [ebp - 0x18]
cmp dword [edi + ecx*4], esi
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
jne 0x4124ad
cmp ecx, edx
jb 0x4124ad
inc eax
lea edx, [ecx + 1]
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
jb 0x412470
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp ecx, edx
jae 0x4124ec
mov edi, dword [ebp + 8]
shl ecx, 4
add ecx, dword [edi + 0x98]
sub edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
nop dword [eax]
mov eax, dword [ebp - 0x6c]
add eax, dword [ecx]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
adc eax, dword [ecx + 4]
lea ecx, [ecx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
sub edx, 1
jne 0x4124d0
mov edx, dword [ebp - 0x2c]
cmp dword [ebp - 0xd4], 0xffffffff
jne 0x41250a
xor ecx, ecx
jmp 0x412516
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], ecx
jmp 0x4124ef
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
lea ecx, [edi + ecx*4]
mov edi, dword [ebp - 0x30]
mov dword [esi + 0x20], ecx
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], eax
mov byte [esi + 0xe], 0
mov byte [esi + 0x34], 0
call fcn.00412ea0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x4125ed
mov byte [ebp - 4], 0xe
test esi, esi
je 0x412550
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x412561
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x412572
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x11
test edi, edi
je 0x4125c5
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4125d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0x24], 0
je 0x41294c
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4126ae
mov byte [ebp - 4], 0x13
test esi, esi
je 0x41260f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x412620
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x412631
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x16
test edi, edi
je 0x412684
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x412695
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x4126ce
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0xaa5f00
push eax
call dword [ecx]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0
call fcn.0040a120
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
mov byte [ebp + 0x17], 0
push dword [ecx + 0x2c]
push dword [ecx + 0x28]
push dword [ecx + 0x10]
push 1
push eax
lea eax, [ebp - 0x41]
push eax
lea eax, [ebp - 0x42]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp + 0x17]
push eax
push 0
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x20]
lea eax, [ecx + 0x40]
push eax
push dword [ecx + 0x154]
push dword [ecx + 0x150]
push dword [ecx + 0x38]
lea ecx, [ebp - 0xc8]
call fcn.00410cf0
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, 1
je 0x412969
cmp ecx, 0x80004001
je 0x412969
mov dl, byte [ebp + 0x17]
test dl, dl
jne 0x41296c
test ecx, ecx
je 0x412851
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x412788
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4127a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x29
test esi, esi
je 0x4127b0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4127c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x2b
test ecx, ecx
je 0x4127d2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x2c
test edi, edi
je 0x412825
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4125d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 2
mov ecx, esi
call fcn.00412cc0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41290a
test ecx, ecx
je 0x41288c
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4128a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2f
test esi, esi
je 0x4128b4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4128c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xc8]
call fcn.00411dc0
mov byte [ebp - 4], 0x31
test edi, edi
je 0x4128de
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4125d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je 0x41292e
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412948
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x6c]
add dword [edi + 0x28], eax
mov eax, dword [ebp - 0x68]
adc dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x58]
add dword [edi + 0x20], eax
mov eax, dword [ebp - 0x4c]
adc dword [edi + 0x24], eax
jmp 0x412260
mov dl, byte [ebp + 0x17]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x48], eax
mov eax, 2
mov dword [ebp - 0x14], eax
cmp ecx, 1
je 0x4129a1
cmp ecx, 0x80004001
jne 0x41298e
mov eax, 1
jmp 0x41299e
cmp dword [ebp - 0x48], 0
jne 0x4129a1
test dl, dl
mov ecx, 6
cmovne eax, ecx
mov dword [ebp - 0x14], eax
push eax
mov ecx, esi
call fcn.00412cc0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x412aa0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4129db
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4129f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x412a03
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x412a14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x412a25
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x412a78
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x412a89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp - 0x48], 0
jne 0x412bbe
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x412bbe
push dword [ebp - 0x14]
mov ecx, dword [eax]
push dword [ebp - 0x20]
push 2
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412bbe
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x412af5
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x412b0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
test esi, esi
je 0x412b1d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x412b2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x24
test ecx, ecx
je 0x412b3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.00a0d3d6
push dword [ebp - 0x90]
call fcn.00a0d3d6
push dword [ebp - 0x9c]
call fcn.00a0d3d6
push dword [ebp - 0xac]
call fcn.00a0d3d6
push dword [ebp - 0xb8]
call fcn.00a0d3d6
push dword [ebp - 0xc4]
call fcn.00a0d3d6
add esp, 0x18
mov byte [ebp - 4], 0x25
test edi, edi
je 0x412b92
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x4125d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x412be5
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00a60430
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x3c], 0
push ecx
call fcn.00a0d3d6
add esp, 4
mov byte [ebp - 4], 0x27
jmp 0x41293b