Function at 0x40f1ab
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0xa8694b
call fcn.00a6fc7c
sub esp, 0xd4
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
je 0x40f1d6
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
jmp 0x40f1d9
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0xc]
cmp esi, 9
jge 0x40f1ea
lea eax, [esi*4 + 0xbdd704]
jmp 0x40f201
lea eax, [esi - 9]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00716df6
mov dword [ebp - 0x14], 1
push eax
lea ecx, [ebp - 0x38]
call fcn.00409f7e
test byte [ebp - 0x14], 1
mov dword [ebp - 4], ebx
je 0x40f21e
lea ecx, [ebp - 0xa0]
call fcn.00402fa4
mov eax, dword [ebp - 0x2c]
shl eax, 8
or eax, esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
lea ecx, [edi + 0x22c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ecx
call fcn.00419d56
test eax, eax
je 0x40f25b
mov esi, dword [ebp - 0x20]
call dword [fcn.00be18d4]
mov dword [esi + 0x2c], eax
jmp 0x40f84e
push 0x38
mov ecx, 0xbe1de0
call fcn.00402d66
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x40f27b
mov ecx, eax
call fcn.004100ef
jmp 0x40f27d
xor eax, eax
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041503a
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c]
mov dword [ecx + 0x10], esi
push eax
mov ecx, edi
call fcn.004101f1
cmp dword [ebp - 0x58], ebx
mov byte [ebp - 4], 3
je 0x40f341
push ebx
push ebx
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00405351
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00414fcd
mov ecx, eax
add ecx, 0xc
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004032b2
cmp eax, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp + 8], ebx
je 0x40f319
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
call fcn.004053ee
cmp eax, ebx
jge 0x40f319
cmp eax, 0x80004002
je 0x40f319
push eax
call fcn.00a6ef01
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 7
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f334
push eax
call fcn.00a6ef01
cmp dword [ebp + 8], ebx
jne 0x40f352
lea ecx, [ebp + 8]
call fcn.004027e9
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0041636e
jmp 0x410076
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.oleaut32.dll_VariantInit]
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 8
mov edi, 0x80004003
jne 0x40f370
push edi
call fcn.00a6ef01
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.00403baa
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00403606
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004027b1
mov dword [ebp - 0x98], ebx
cmp dword [ebp - 0x14], ebx
jne 0x40f3a6
push edi
call fcn.00a6ef01
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x98]
push edx
lea edx, [ebp - 0x78]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40f72a
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040654e
add esp, 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.00409f7e
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0041511b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.0041b272
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.004027b1
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x40f6f6
lea eax, [ebp - 0x30]
push eax
call fcn.00404ba3
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x1571
push eax
mov byte [ebp - 4], 0x12
call fcn.007a48d0
mov ecx, eax
call fcn.00406368
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.004032b2
cmp eax, ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x18], ebx
je 0x40f4b5
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041efa6
cmp eax, ebx
jge 0x40f4b5
cmp eax, 0x80004002
je 0x40f4b5
push eax
call fcn.00a6ef01
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x16
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f4d0
push eax
call fcn.00a6ef01
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x1578
push eax
call fcn.007a48d0
mov ecx, eax
call fcn.00406368
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x16
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.004032b2
cmp eax, ebx
mov dword [ebp - 0x90], eax
mov dword [ebp + 0xc], ebx
je 0x40f53c
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041efa6
cmp eax, ebx
jge 0x40f53c
cmp eax, 0x80004002
je 0x40f53c
push eax
call fcn.00a6ef01
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f557
push eax
call fcn.00a6ef01
push 0x44
mov ecx, 0xbe1de0
call fcn.00402d66
mov dword [ebp - 0x28], eax
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x40f579
mov ecx, eax
call fcn.00410122
mov esi, eax
jmp 0x40f57b
xor esi, esi
push dword [ebp - 0x1c]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x1a
call fcn.00405326
push 0xb4
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x155d
push eax
call fcn.007a48d0
mov ecx, eax
call fcn.00406368
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.00414a49
mov ecx, eax
call fcn.00404ba3
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
push eax
mov byte [ebp - 4], 0x1f
call fcn.00415344
mov dword [esi + 0x40], eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x1e
call fcn.004029b7
add esp, 0xc
cmp eax, ebx
jge 0x40f604
push eax
call fcn.00a6ef01
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1a
call fcn.004027e9
push ebx
lea ecx, [ebp - 0x18]
call fcn.00414a1d
test al, al
jne 0x40f69d
push ebx
lea ecx, [ebp + 0xc]
call fcn.00414a1d
test al, al
jne 0x40f69d
cmp dword [ebp + 0xc], ebx
jne 0x40f643
push edi
call fcn.00a6ef01
cmp dword [ebp + 0xc], ebx
jne 0x40f643
push edi
call fcn.00a6ef01
cmp dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
jne 0x40f654
push edi
call fcn.00a6ef01
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x40f664
push edi
call fcn.00a6ef01
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
call fcn.00404b2e
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00404b07
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00404b2e
push eax
mov ecx, edi
call fcn.00404b07
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004109ec
add esp, 0x14
mov edi, 0x80004003
jmp 0x40f6ad
push ebx
push ebx
push ebx
lea eax, [esi + 0x10]
push ebx
push eax
call fcn.004109ec
add esp, 0x14
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], esi
call fcn.0041673f
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x18]
mov byte [ebp - 4], 0x20
call fcn.00417599
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00416706
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.00416751
lea ecx, [ebp + 0xc]
call fcn.00415cc4
lea ecx, [ebp - 0x18]
call fcn.00415cc4
lea ecx, [ebp - 0x30]
call fcn.004027e9
lea ecx, [ebp - 0x1c]
call fcn.00415cd1
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xc
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f719
push eax
call fcn.00a6ef01
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00402fa4
jmp 0x40f39b
push ebx
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push 0x3d7
push eax
call fcn.007a48d0
mov ecx, eax
call fcn.00406368
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
push eax
mov byte [ebp - 4], 0x22
call fcn.00415344
mov esi, eax
neg esi
lea eax, [ebp - 0xb0]
sbb esi, esi
push eax
neg esi
mov byte [ebp - 4], 0xb
call fcn.004029b7
add esp, 0xc
cmp eax, ebx
jge 0x40f78c
push eax
call fcn.00a6ef01
cmp esi, ebx
mov eax, dword [ebp - 0x20]
je 0x40f7d4
mov edi, dword [eax + 0x28]
cmp edi, ebx
je 0x40f7d4
cmp edi, dword [eax + 0x24]
je 0x40f7b7
cmp edi, dword [eax + 0x28]
je 0x40f7b7
lea ecx, [eax + 0x18]
call fcn.00417599
push edi
mov ecx, eax
call fcn.00416706
mov eax, dword [ebp - 0x20]
mov ecx, edi
add edi, 0xfffffff0
neg ecx
sbb ecx, ecx
and ecx, edi
mov ecx, dword [ecx + 8]
mov edx, ecx
add ecx, 0x10
neg edx
sbb edx, edx
and edx, ecx
mov edi, edx
jne 0x40f79a
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x218]
call fcn.00419bcc
mov esi, eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00416384
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x34], esi
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00419daa
mov dword [esi + 0x30], eax
mov esi, dword [ebp - 0x20]
call dword [fcn.00be18d4]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x2c], eax
call fcn.004027f6
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 7
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f83a
push eax
call fcn.00a6ef01
lea ecx, [ebp + 8]
call fcn.004027e9
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0041636e
mov dword [ebp - 0x40], ebx
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], 0x23
je 0x410057
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.005fcea6
pop ecx
pop ecx
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x24
mov esi, 0xbe7330
je 0x40fcec
cmp word [eax], bx
je 0x40fcec
push esi
lea ecx, [ebp - 0x88]
call fcn.0040318f
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x25
call fcn.0040318f
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x26
call fcn.00414b5f
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0040339f
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406548
mov ecx, eax
call fcn.00402680
mov ecx, eax
call fcn.00404a75
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x28
call fcn.0041511b
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x29
call fcn.0041b1ed
lea ecx, [ebp + 0xc]
call fcn.004027b1
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x2d
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f923
push eax
call fcn.00a6ef01
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x2c
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f93b
push eax
call fcn.00a6ef01
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f956
push eax
call fcn.00a6ef01
cmp dword [ebp + 0x10], ebx
je 0x40fa6a
push 0x20
pop eax
call fcn.00a70270
mov eax, esp
push eax
push dword [ebp - 0x2c]
call fcn.004150a7
add esp, 4
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402c82
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x2b
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x30
call fcn.0041511b
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x31
call fcn.0041eee6
cmp eax, ebx
jge 0x40f9c8
cmp eax, 0x80004002
je 0x40f9c8
push eax
call fcn.00a6ef01
lea ecx, [ebp - 0x34]
call fcn.004027b1
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40f9eb
push eax
call fcn.00a6ef01
cmp dword [ebp + 0x10], ebx
je 0x40fa6a
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00409f7e
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x2b
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x33
call fcn.0041511b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x34
call fcn.0041eee6
cmp eax, ebx
jge 0x40fa47
cmp eax, 0x80004002
je 0x40fa47
push eax
call fcn.00a6ef01
lea ecx, [ebp - 0x34]
call fcn.004027b1
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x2b
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x40fa6a
push eax
call fcn.00a6ef01
lea ecx, [ebp + 0x10]
call fcn.004027e9
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x23
cmp eax, ebx
je 0x40fa87
add eax, 0xfffffff4
push eax
call fcn.00403382
pop ecx
cmp dword [ebp - 0x40], ebx
je 0x410057
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
cmp eax, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], eax
je 0x41006e
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, eax
add eax, 0xfffffff0
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edx + 4]
mov edx, eax
add eax, 0x10
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], eax
call fcn.00415cde
push 0x20
pop eax
mov byte [ebp - 4], 0x35
call fcn.00a70270
mov eax, esp
push eax
push dword [ebp - 0x2c]
call fcn.004150a7
add esp, 4
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402c82
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x35
call fcn.0040263b
mov ecx, eax
call fcn.00403ac7
xor esi, esi
cmp word [ebp - 0x64], si
mov byte [ebp - 4], 0x37
je 0x41002e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041511b
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x38
call fcn.0041b272
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x3a
call fcn.004027b1
cmp dword [ebp + 0x10], esi
je 0x410026
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], esi
je 0x40fb73
mov eax, dword [eax + 0x20]
shr eax, 1
cmp dword [ebp - 0x2c], eax
jne 0x40fb73
or dword [ebp - 0x48], 0xffffffff
cmp dword [ebp + 8], esi
mov ebx, 0x80004003
jne 0x40fb83
push ebx
call fcn.00a6ef01
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.004100a1
mov esi, eax
mov ecx, edi
neg esi
call fcn.004100a1
neg eax
cmp eax, esi
mov dword [ebp - 0x1c], eax
jl 0x40fba5
mov dword [ebp - 0x1c], esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x40fbbd
push ebx
call fcn.00a6ef01
cmp dword [ebp + 0x10], edi
jne 0x40fbbd
push ebx
call fcn.00a6ef01
cmp dword [ebp + 8], edi
mov esi, dword [ebp + 0x10]
jne 0x40fbcb
push ebx
call fcn.00a6ef01
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 0x28], eax
jne 0x40fbdb
push ebx
call fcn.00a6ef01
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.004100a1
mov edx, eax
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.0040c250
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
sub esi, eax
call fcn.0040c250
mov ecx, dword [ebp - 0x28]
mov edi, eax
call fcn.004100a1
sub edi, eax
cmp esi, edi
mov dword [ebp - 0x3c], edi
jl 0x40fc16
mov dword [ebp - 0x3c], esi
cmp dword [ebp + 0x10], 0
jne 0x40fc22
push ebx
call fcn.00a6ef01
cmp dword [ebp + 8], 0
jne 0x40fc2e
push ebx
call fcn.00a6ef01
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.004100c8
mov esi, eax
mov ecx, edi
neg esi
call fcn.004100c8
neg eax
cmp eax, esi
mov dword [ebp - 0x18], eax
jl 0x40fc50
mov dword [ebp - 0x18], esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x40fc68
push ebx
call fcn.00a6ef01
cmp dword [ebp + 0x10], edi
jne 0x40fc68
push ebx
call fcn.00a6ef01
cmp dword [ebp + 8], edi
mov esi, dword [ebp + 0x10]
jne 0x40fc76
push ebx
call fcn.00a6ef01
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 0x28], eax
jne 0x40fc86
push ebx
call fcn.00a6ef01
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.004100c8
mov edx, eax
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.0040c2e7
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
sub esi, eax
call fcn.0040c2e7
mov ecx, dword [ebp - 0x28]
mov edi, eax
call fcn.004100c8
sub edi, eax
cmp esi, edi
mov dword [ebp - 0x14], edi
jl 0x40fcc1
mov dword [ebp - 0x14], esi
and dword [ebp + 0xc], 0
lea eax, [ebp - 0x4c]
push 0x31b
push eax
mov byte [ebp - 4], 0x3b
call fcn.007a48d0
mov ecx, eax
call fcn.00406368
mov eax, dword [eax]
test eax, eax
mov byte [ebp - 4], 0x3c
je 0x40fcf5
mov eax, dword [eax]
jmp 0x40fcf7
mov byte [ebp - 4], 0x23
jmp 0x40fa79
xor eax, eax
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00403819
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x3b
call fcn.00402fa4
mov esi, 0xbe7330
push esi
lea ecx, [ebp - 0x88]
call fcn.0040318f
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x3d
call fcn.0040318f
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 4], 0x3e
jne 0x40fd44
push ebx
call fcn.00a6ef01
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push eax
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x2c]
test eax, eax
jge 0x40fd88
push 0xba0338
push dword [ebp - 0x10]
push eax
call fcn.00a6ef0f
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x3d
call fcn.004029b7
xor esi, esi
cmp eax, esi
pop ecx
jge 0x40fda2
push eax
call fcn.00a6ef01
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x3b
call fcn.004029b7
cmp eax, esi
pop ecx
jge 0x40fdbd
push eax
call fcn.00a6ef01
push 3
push 0xff
lea ecx, [ebp - 0xd0]
call fcn.004031b5
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 0x3f
jne 0x40fde9
push ebx
call fcn.00a6ef01
cmp dword [ebp + 8], esi
jne 0x40fde9
push ebx
call fcn.00a6ef01
cmp dword [ebp + 0xc], esi
mov edi, dword [ebp + 8]
jne 0x40fdf7
push ebx
call fcn.00a6ef01
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
call fcn.004100c8
mov ebx, eax
add ebx, dword [ebp - 0x18]
mov ecx, edi
neg ebx
call fcn.004100a1
mov ecx, dword [esi]
add eax, dword [ebp - 0x1c]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x10]
lea esi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
neg eax
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0x40fe4c
push 0xba0338
push dword [ebp - 0x14]
push eax
call fcn.00a6ef0f
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x3b
call fcn.004029b7
xor ebx, ebx
cmp eax, ebx
pop ecx
jge 0x40fe69
push eax
call fcn.00a6ef01
push 3
push 0xff
lea ecx, [ebp - 0xe0]
call fcn.004031b5
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], 0x40
mov esi, 0x80004003
jne 0x40fe9a
push esi
call fcn.00a6ef01
cmp dword [ebp + 0x10], ebx
jne 0x40fe9a
push esi
call fcn.00a6ef01
cmp dword [ebp + 0xc], ebx
mov edi, dword [ebp + 0x10]
jne 0x40fea8
push esi
call fcn.00a6ef01
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
call fcn.004100c8
mov ebx, eax
add ebx, dword [ebp - 0x18]
mov ecx, edi
neg ebx
call fcn.004100a1
mov ecx, dword [esi]
add eax, dword [ebp - 0x1c]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x10]
lea esi, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
neg eax
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
mov esi, 0xba0338
jge 0x40fefe
push esi
push dword [ebp - 0x14]
push eax
call fcn.00a6ef0f
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x3b
call fcn.004029b7
test eax, eax
pop ecx
jge 0x40ff19
push eax
call fcn.00a6ef01
cmp dword [ebp + 0xc], 0
jne 0x40ff29
push 0x80004003
call fcn.00a6ef01
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
neg eax
push eax
push edi
call dword [ecx + 0x70]
test eax, eax
jge 0x40ff44
push esi
push edi
push eax
call fcn.00a6ef0f
cmp dword [ebp + 0xc], 0
jne 0x40ff54
push 0x80004003
call fcn.00a6ef01
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
neg eax
push eax
push edi
call dword [ecx + 0x78]
test eax, eax
jge 0x40ff6f
push esi
push edi
push eax
call fcn.00a6ef0f
push 0x44
mov ecx, 0xbe1de0
call fcn.00402d66
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0x41
je 0x40ff91
mov ecx, eax
call fcn.00410122
mov ebx, eax
jmp 0x40ff93
xor ebx, ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0x3b
call fcn.00405326
mov eax, dword [ebp - 0x44]
push 0xc
lea esi, [eax + 0x10]
pop ecx
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x40]
lea ecx, [ebp - 0x54]
mov dword [ebx + 0x40], eax
mov dword [ebp - 0x50], ebx
call fcn.0041673f
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x42
call fcn.00417599
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00416706
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x3b
call fcn.00416751
lea ecx, [ebp + 0xc]
call fcn.00415cd1
lea ecx, [ebp + 0x10]
call fcn.00415cd1
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x35
call fcn.004029b7
test eax, eax
pop ecx
jge 0x41000c
push eax
call fcn.00a6ef01
lea ecx, [ebp + 8]
call fcn.00415cd1
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0
jne 0x40faab
jmp 0x41006e
lea ecx, [ebp + 0x10]
call fcn.00415cd1
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x35
call fcn.004029b7
cmp eax, esi
pop ecx
jge 0x410046
push eax
call fcn.00a6ef01
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x23
call fcn.00415cd1
cmp dword [ebp - 0x30], esi
je 0x41006e
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x20]
call fcn.004175d7
mov ecx, dword [ebp + 0x14]
add esi, 0x18
push esi
call fcn.00415e76
lea ecx, [ebp - 0x40]
call fcn.004027e9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004163bd
lea ecx, [ebp - 0x38]
call fcn.00402fa4
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10