Function at 0x498bd0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e44d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0xc8], esi
test esi, esi
je 0x498c1e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ecx
cmp edi, 0xffffffff
jne 0x498c3f
mov edi, dword [ebx + 0x9c]
mov dword [ebp + 0x10], edi
test edi, edi
jne 0x498c67
mov byte [ebp - 4], 3
test esi, esi
je 0x498c51
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 eax, eax
or edi, 0xffffffff
xor edx, edx
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x10], eax
jbe 0x498d6c
mov ebx, dword [ebx + 0x174]
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x44], 0xffffffff
jne 0x498c90
mov ecx, eax
mov dword [ebp - 0x1c], eax
jmp 0x498c99
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebx + ecx*4]
cmp ebx, 0xffffffff
je 0x498d59
cmp ebx, edi
jne 0x498cad
cmp ecx, edx
jae 0x498cb9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x170]
mov edx, dword [eax + ebx*4]
xor edi, edi
mov dword [ebp - 0x28], 0
xor ebx, ebx
mov dword [ebp - 0x24], 0
cmp edx, ecx
ja 0x498d4b
mov eax, ecx
sub eax, edx
inc eax
cmp eax, 2
jb 0x498d19
mov esi, dword [ebp + 8]
sub ecx, edx
mov eax, edx
dec ecx
shl eax, 4
shr ecx, 1
add eax, dword [esi + 0x98]
inc ecx
lea edx, [edx + ecx*2]
mov esi, dword [ebp - 0x28]
add esi, dword [eax]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x24]
adc esi, dword [eax + 4]
add edi, dword [eax + 0x10]
mov dword [ebp - 0x24], esi
adc ebx, dword [eax + 0x14]
lea eax, [eax + 0x20]
mov esi, dword [ebp + 0x18]
sub ecx, 1
jne 0x498cf4
mov ecx, dword [ebp - 0x1c]
cmp edx, ecx
ja 0x498d3f
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [eax + 0x98]
add esi, dword [edx + eax]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x14]
adc esi, dword [edx + eax + 4]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x18]
add edi, dword [ebp - 0x28]
adc ebx, dword [ebp - 0x24]
add dword [ebp - 0x18], edi
adc dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x3c]
lea edx, [ecx + 1]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebx + ecx*4]
jmp 0x498d5c
mov ebx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp + 0x10]
jb 0x498c83
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
push ecx
push dword [ebp - 0x18]
push esi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
je 0x498d9c
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 4
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 0x38
call fcn.004bcee7
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x498dbc
mov ecx, eax
call fcn.004a4cc0
mov edi, eax
jmp 0x498dbe
xor edi, edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x58], edi
test edi, edi
je 0x498dd2
mov eax, dword [edi]
push edi
call dword [eax + 4]
push 0
push esi
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004a4d20
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xbc]
movzx eax, byte [ebx + 0x1a0]
push eax
call fcn.00496c40
mov dword [ebp - 0x20], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push 0x5154a8
push esi
mov byte [ebp - 4], 0xa
call dword [eax]
push 0x38
mov byte [ebp - 4], 9
call fcn.004bcee7
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
test esi, esi
je 0x498e49
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 0x498e4e
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0xc4], esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x54], esi
test esi, esi
je 0x498e65
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [ebx + 0x40]
mov byte [ebp - 4], 0xc
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 0x498e85
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
setne al
mov byte [esi + 0xc], al
cmp dword [ebx + 0x1a4], 0
mov dword [ebp - 0x18], 0
setne al
mov byte [esi + 0xd], al
lea esp, [esp]
mov ecx, edi
call fcn.004a4e30
mov ebx, eax
test ebx, ebx
je 0x498f68
mov byte [ebp - 4], 0xd
test esi, esi
je 0x498ecf
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x498ee0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x498ef1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x10
test edi, edi
je 0x498f41
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x498f52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
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 edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x10]
jb 0x49901f
mov byte [ebp - 4], 0x3c
test esi, esi
je 0x498f82
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x3d
test eax, eax
je 0x498f93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x3e
test ecx, ecx
je 0x498fa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x3f
test edi, edi
je 0x498ff4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x40
test eax, eax
je 0x498c51
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 - 0x44], 0xffffffff
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0
jne 0x499048
mov ecx, edx
mov dword [ebp - 0x14], edx
jmp 0x499051
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ebx, 1
mov eax, dword [eax + 0x174]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x499124
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [eax + ebx*4]
shl eax, 3
mov edi, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
sub edi, dword [eax + edx]
mov dword [ebp - 0x3c], edi
sbb ecx, dword [eax + edx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x50], ecx
mov eax, dword [eax + 0x170]
mov ecx, dword [eax + ebx*4]
mov ebx, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x14], ecx
cmp ebx, dword [ebp + 0x10]
jae 0x4990ee
cmp dword [ebp - 0x44], 0xffffffff
jne 0x4990c1
mov eax, ebx
jmp 0x4990c7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*4]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov edi, dword [esi + 0x174]
mov esi, dword [ebp - 0x40]
cmp dword [edi + eax*4], ecx
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
jne 0x4990ee
cmp eax, edx
jb 0x4990ee
inc ebx
lea edx, [eax + 1]
cmp ebx, dword [ebp + 0x10]
jb 0x4990b7
sub ebx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x499121
mov eax, dword [ebp + 8]
shl ecx, 4
add ecx, dword [eax + 0x98]
sub edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x4c]
lea ecx, [ecx + 0x10]
add edi, dword [ecx - 0x10]
mov eax, dword [ecx - 0xc]
adc dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x24]
sub edx, 1
jne 0x499104
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x44], 0xffffffff
jne 0x49912e
xor eax, eax
jmp 0x499134
mov eax, dword [ebp + 0xc]
lea eax, [eax + edx*4]
mov dword [esi + 0x28], ecx
mov ecx, esi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0xe], 0
mov byte [esi + 0x34], 0
call fcn.004999c0
add dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x499202
mov byte [ebp - 4], 0x12
test esi, esi
je 0x499168
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x499179
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x49918a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x15
test edi, edi
je 0x4991da
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4991eb
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 0x4994a5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49922c
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x5154f8
push eax
mov byte [ebp - 4], 0x18
call dword [ecx]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x19
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
call fcn.004a8700
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
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 - 0x35]
push eax
lea eax, [ebp - 0x36]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp + 0x17]
push eax
push 0
push edi
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x28]
lea eax, [ecx + 0x40]
push eax
push dword [ecx + 0x154]
push dword [ecx + 0x150]
push dword [ecx + 0x38]
lea ecx, [ebp - 0xbc]
call fcn.00497430
mov ebx, eax
cmp ebx, 1
je 0x4994c2
cmp ebx, 0x80004001
je 0x4994c2
mov cl, byte [ebp + 0x17]
test cl, cl
jne 0x4994c5
test ebx, ebx
je 0x499386
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4992e3
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4992fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x29
test esi, esi
je 0x49930b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x49931c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x2b
test ecx, ecx
je 0x49932d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x2c
test edi, edi
je 0x49937d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x2d
jmp 0x498f45
push 2
mov ecx, esi
call fcn.004997d0
mov ecx, dword [ebp - 0x34]
mov ebx, eax
test ebx, ebx
je 0x499463
test ecx, ecx
je 0x4993c0
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4993da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2f
test esi, esi
je 0x4993e8
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4993f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x31
test ecx, ecx
je 0x49940a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x32
test edi, edi
je 0x49945a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x33
jmp 0x498f45
test ecx, ecx
je 0x499487
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4994a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4c]
add dword [edi + 0x28], eax
mov eax, dword [ebp - 0x48]
adc dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x3c]
add dword [edi + 0x20], eax
mov eax, dword [ebp - 0x50]
adc dword [edi + 0x24], eax
jmp 0x498eb0
mov cl, byte [ebp + 0x17]
mov edx, dword [esi + 0x24]
mov eax, 2
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x14], eax
cmp ebx, 1
je 0x4994fa
cmp ebx, 0x80004001
jne 0x4994ea
mov eax, 1
jmp 0x4994f7
test edx, edx
jne 0x4994fa
test cl, cl
je 0x4994fa
mov eax, 6
mov dword [ebp - 0x14], eax
push eax
mov ecx, esi
call fcn.004997d0
mov ebx, eax
test ebx, ebx
je 0x4995d6
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x499533
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x49954d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x49955b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x49956c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x49957d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x4995cd
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x20
jmp 0x498f45
cmp dword [ebp - 0xc0], 0
jne 0x4996d0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4996d0
push dword [ebp - 0x14]
mov ecx, dword [eax]
push dword [ebp - 0x28]
push 2
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
je 0x4996d0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x49962d
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x499647
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
test esi, esi
je 0x499655
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x499666
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x24
test ecx, ecx
je 0x499677
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.004b8926
push dword [ebp - 0x84]
call fcn.004b8926
push dword [ebp - 0x90]
call fcn.004b8926
push dword [ebp - 0xa0]
call fcn.004b8926
push dword [ebp - 0xac]
call fcn.004b8926
push dword [ebp - 0xb8]
call fcn.004b8926
add esp, 0x18
mov byte [ebp - 4], 0x25
test edi, edi
je 0x4996c7
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x26
jmp 0x498f45
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4996f7
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x30], 0
push ecx
call fcn.004b8926
add esp, 4
mov byte [ebp - 4], 0x27
jmp 0x499494