Function at 0x410648
Capabilities:
Encode data using base64

Disassembly:
push 0x14c
mov eax, 0x4d0ab9
call fcn.004a9cd0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x98], ecx
lea ebx, [eax - 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x9c], ecx
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
call fcn.0040ef3f
test al, al
jne 0x4106a2
mov eax, 0x80004001
jmp 0x4112e6
mov edx, dword [ebp + 0x20]
xor edi, edi
mov ecx, edi
movzx eax, byte [ecx + edx]
mov dword [ebp + ecx*4 - 0x30], eax
inc ecx
cmp ecx, 7
jb 0x4106a9
mov dword [ebp - 0x84], 0x4f0600
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 4], edi
test esi, esi
je 0x4106e2
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
push 0x4f26c8
push esi
mov dword [ebp - 0x7c], esi
call dword [eax]
lea ecx, [ebp - 0x158]
call fcn.004191eb
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 1
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x48]
add eax, 0x94
push eax
call fcn.00402be8
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00407188
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x40]
lea eax, [ecx + 0x88]
push eax
lea eax, [ecx + 0xa4]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x158]
call fcn.0041956c
mov dword [ebp - 0x40], eax
test eax, eax
je 0x410774
push dword [ebp - 0x54]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x41076c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x40]
jmp 0x4112e6
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xa0], 0
je 0x4107ae
mov ecx, edi
cmp dword [ebp - 0x130], ecx
jbe 0x4107ae
mov eax, dword [ebp - 0x134]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 0x3c]
shr eax, 4
test al, 1
jne 0x410825
inc ecx
mov byte [edx + 0x4c], 1
cmp ecx, dword [ebp - 0x130]
jb 0x41078a
push dword [ebp - 0x54]
call fcn.004a8d17
pop ecx
mov dword [ebp - 0x38], edi
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0040caaa
test eax, eax
je 0x410856
mov ecx, ebx
call fcn.0040caaa
lea edx, [ebp - 0x38]
push edx
push 0x4f26e8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x41092e
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4107fe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x41081d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
jmp 0x4112e6
push dword [ebp - 0x54]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x410698
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x410698
cmp dword [ebp + 0x18], 0
jge 0x410873
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 9
jmp 0x4112d4
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x18]
call fcn.0040ff93
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4108b1
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x41089a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0xb
jmp 0x41075f
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push edx
push 0x4f26b8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41091c
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x410919
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4108f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410902
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0xf
jmp 0x410810
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41092a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0xa4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x41096d
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x410956
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x12
jmp 0x410810
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x40], eax
cmp eax, 2
ja 0x4112b1
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov ecx, ebx
mov byte [ebp - 4], 0x15
call fcn.0040caaa
test eax, eax
je 0x410b20
mov ecx, ebx
call fcn.0040f30f
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4109d9
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4109c2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x17
jmp 0x410810
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
push 0x4effd0
cmp dword [eax + 0x10], edi
je 0x410aba
call fcn.00402b61
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x54]
xor edx, edx
push eax
mov ecx, ebx
call fcn.004103c5
mov byte [ebp - 4], 0x15
push dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.004a8d17
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x410a4f
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410a38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x1a
jmp 0x410810
push 0x4f05f8
lea ecx, [ebp - 0x54]
call fcn.00402b61
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x54]
xor edx, edx
push eax
inc edx
mov ecx, ebx
call fcn.004103c5
push dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.004a8d17
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x410b20
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410aa3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x1d
jmp 0x410810
call fcn.00402b61
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
push ecx
lea ecx, [ebp - 0x54]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, ebx
mov eax, dword [eax]
mov edx, dword [eax]
call fcn.0041019d
push dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.004a8d17
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x410b20
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410b09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x20
jmp 0x410810
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x22
push eax
push dword [ebp - 0x40]
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x158]
call fcn.0042518b
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], 0x4f060c
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x8c], esi
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x54]
call fcn.004256ed
mov byte [ebp - 4], 0x21
push dword [ebp - 0x54]
call fcn.004a8d17
mov ecx, edi
add esp, 0x14
cmp dword [ebp - 0x64], ecx
jbe 0x410bac
mov edx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
cmp byte [edx], 0
mov eax, ecx
lea edx, [edx + 0x14]
lea ecx, [eax + 1]
cmove ecx, eax
sub ebx, 1
jne 0x410b96
mov ebx, dword [ebp - 0x44]
test esi, esi
je 0x410c08
mov eax, dword [esi]
push edi
push ecx
push esi
call dword [eax + 0x24]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x410c08
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410be1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x24
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x410c00
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x44]
jmp 0x4112e6
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0x4f05bc
movups xmmword [ebp - 0xb4], xmm0
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x25
call fcn.004147ee
push 0xb0
call fcn.004a8eb3
pop ecx
mov dword [ebp - 0xa0], eax
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.00423b61
mov esi, eax
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x34], esi
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x410c61
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x158]
mov dword [esi + 0x80], eax
mov edx, esi
lea eax, [ebp - 0x74]
mov ecx, ebx
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x68]
mov dword [esi + 0x94], eax
call fcn.00410582
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x8c], edi
mov ebx, edi
mov dword [esi + 0x7c], eax
mov dword [ebp - 0x90], ebx
cmp dword [ebp - 0x98], 0
mov byte [ebp - 4], 0x28
je 0x410ce5
mov ebx, dword [ebp - 0x130]
lea ecx, [ebp - 0x90]
push ebx
call fcn.004070ce
test ebx, ebx
je 0x410cd9
push ebx
mov ebx, dword [ebp - 0x90]
push edi
push ebx
call fcn.004ab9a0
add esp, 0xc
jmp 0x410cdf
mov ebx, dword [ebp - 0x90]
mov dword [esi + 0xac], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0x29
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x38]
push edx
push 0x4f25a8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x410f23
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0xc8]
test edx, edx
jne 0x410d8f
mov eax, dword [ebp - 0x58]
push edi
push edi
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x410f23
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x410d3a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x2b
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041137e
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410d78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x2d
jmp 0x410bf3
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 0x2e
test edx, edx
je 0x410dcd
mov ebx, dword [ebp - 0x48]
mov esi, edi
mov eax, dword [ebx + 0xc4]
lea ecx, [ebp - 0x54]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.004120e5
inc esi
cmp esi, dword [ebx + 0xc8]
jb 0x410da5
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xd4]
xor ecx, ecx
mov dword [ebp - 0x44], eax
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004a8e36
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x410e25
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 4]
push 0x4098f6
push 0x4098ec
push edx
push 0x10
push ecx
mov dword [eax], edx
mov dword [ebp - 0x3c], ecx
call fcn.004a8e3f
mov edx, dword [ebp - 0x3c]
jmp 0x410e2a
mov edx, edi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x5c], edx
mov ecx, edi
mov byte [ebp - 4], 0x30
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x48]
cmp ecx, dword [eax + 0xd4]
jae 0x410e63
mov eax, dword [eax + 0xd0]
shl ecx, 4
add ecx, edx
mov edx, dword [ebp - 0x40]
push dword [eax + edx*4]
call fcn.004087a7
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x40], ecx
jmp 0x410e36
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
push edx
push dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x410f02
push dword [ebp - 0x54]
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x31
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x410e98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x32
test esi, esi
je 0x410ead
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041137e
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410eda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x34
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x410c00
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
jmp 0x410c00
mov dword [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x410f16
push ecx
call fcn.0040b277
mov byte [ebp - 4], 0x29
push dword [ebp - 0x54]
call fcn.004a8d17
pop ecx
mov ebx, dword [ebp - 0x48]
lea ecx, [ebx + 0xc4]
call fcn.00401b91
lea ecx, [ebx + 0xd0]
call fcn.004122f8
cmp dword [ebp - 0x9c], 0
je 0x411154
push 0x58
call fcn.004a8eb3
pop ecx
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.0040a255
mov ebx, eax
mov dword [ebp - 0x5c], ebx
test ebx, ebx
je 0x410f6a
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 0x3a
call fcn.00406906
test al, al
jne 0x41109a
mov byte [ebp - 4], 0x3b
test ebx, ebx
je 0x410f92
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x410fa3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x3d
test esi, esi
je 0x410fbe
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041137e
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410feb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x3f
jmp 0x4112d4
mov edx, dword [ebp - 0x88]
push ecx
mov ecx, ebx
call fcn.0040c0b9
mov dword [ebp - 0x5c], eax
pop ecx
test eax, eax
je 0x411142
mov byte [ebp - 4], 0x40
test ebx, ebx
je 0x4110c2
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
mov byte [ebp - 4], 0x41
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4110d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x42
test esi, esi
je 0x4110ee
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041137e
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x43
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41111b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x44
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x41113a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x5c]
jmp 0x4112e6
mov byte [ebp - 4], 0x45
test ebx, ebx
je 0x411150
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x38]
push esi
push dword [ebp - 0x64]
push dword [ebp - 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x411241
cmp dword [ebp - 0x98], eax
je 0x411241
mov edx, dword [ebp - 0x64]
mov eax, edi
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x4111f2
mov ecx, edi
mov esi, dword [ebp - 0x68]
mov esi, dword [esi + ecx + 4]
mov dword [ebp - 0x5c], esi
test esi, esi
js 0x4111e2
mov edi, dword [ebp - 0x68]
cmp byte [edi + ecx], 0
je 0x4111e2
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x88], eax
mov eax, dword [eax + 0x3c]
shr eax, 4
test al, 1
jne 0x4111df
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x88]
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x4111df
mov eax, dword [ebp - 0x5c]
mov byte [ebx + eax], 1
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x3c]
inc eax
add ecx, 0x14
mov dword [ebp - 0x3c], eax
cmp eax, edx
jb 0x411192
mov esi, dword [ebp - 0x34]
xor edi, edi
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x411247
mov esi, dword [ebp - 0x98]
cmp byte [ebx + edi], 0
je 0x411237
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x158]
call fcn.00419153
push eax
mov ecx, esi
mov byte [ebp - 4], 0x46
call fcn.00401bdc
mov byte [ebp - 4], 0x29
push dword [ebp - 0x54]
call fcn.004a8d17
mov eax, dword [ebp - 0x130]
pop ecx
inc edi
cmp edi, eax
jb 0x411202
mov esi, dword [ebp - 0x34]
jmp 0x411247
mov ebx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x47
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x411258
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call fcn.004a8d17
pop ecx
mov byte [ebp - 4], 0x48
test esi, esi
je 0x41126d
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041137e
push dword [ebp - 0x68]
call fcn.004a8d17
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00412203
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41129a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x4a
jmp 0x410bf3
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4112c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x158]
call fcn.0041132e
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x4112e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, 0x80004005
call fcn.004a9c1d
ret 0x24