Function at 0x4d7150
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403e48
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], eax
movsx eax, word [0x545bc8]
cmp eax, edi
mov esi, 0x545b98
je 0x4d7abd
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaErase]
push 0x545bb4
push 0x41e1ac
mov word [0x545710], 0
mov word [0x545bc8], di
call ebx
push 0x545ba4
push 0x421450
call ebx
push 0x545bb0
push 0x41e258
call ebx
push 0x545bac
push 0x421450
call ebx
push 0x545ba8
push 0x41e1ac
call ebx
push 0x545ba0
push 0x421450
call ebx
push 0x545b9c
push 0x421450
call ebx
push esi
push 0x421450
call ebx
movsx ecx, word [0x545600]
mov ebx, dword [0x5455fc]
mov dword [ebp - 0x9c], ecx
xor eax, eax
mov ecx, 1
mov word [0x545bb8], ax
mov word [0x545bba], ax
mov word [0x545bbc], ax
mov word [0x545bc0], ax
mov word [0x545bc6], ax
mov word [0x545bbe], ax
mov word [0x545bc4], ax
mov word [0x545bc2], ax
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x9c]
jg 0x4d74c5
mov edx, dword [ebx + 0x14]
mov eax, ecx
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0xc]
shl edx, 6
add edx, eax
movsx ecx, word [edx + 0x76]
cmp ecx, edi
je 0x4d739a
xor eax, eax
mov ecx, 1
mov al, byte [edx + 5]
mov dword [ebp - 0xa4], eax
cmp ecx, dword [ebp - 0xa4]
jg 0x4d72fb
mov eax, dword [edx + 0xa8]
mov edi, ecx
sub edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
movsx eax, word [eax + edi*2]
mov edi, dword [ebp + 8]
cmp eax, edi
je 0x4d739a
mov eax, 1
add ecx, eax
jmp 0x4d72cd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
sub eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 6
add edx, ecx
xor eax, eax
mov al, byte [edx + 6]
mov dword [ebp - 0xac], eax
mov eax, 1
cmp eax, dword [ebp - 0xac]
jg 0x4d7348
mov ecx, dword [edx + 0xac]
mov edi, eax
sub edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
movsx ecx, word [ecx + edi*2]
mov edi, dword [ebp + 8]
cmp ecx, edi
je 0x4d739a
mov ecx, 1
add eax, ecx
jmp 0x4d731e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x14]
sub eax, ecx
mov ecx, dword [ebx + 0xc]
lea edx, [eax + eax*2]
shl edx, 6
add ecx, edx
movsx edx, word [ecx + 0x2c]
cmp edx, edi
je 0x4d739a
movsx ecx, word [ecx + 0x2e]
cmp ecx, edi
je 0x4d739a
mov ecx, 1
mov edx, 3
cmp ecx, edx
jg 0x4d73a1
mov edx, dword [ebx + 0xc]
lea edi, [eax + eax*2]
shl edi, 5
add edi, ecx
movsx edx, word [edx + edi*2 + 0x96]
cmp edx, dword [ebp + 8]
je 0x4d739a
mov edx, 1
add ecx, edx
jmp 0x4d7370
mov dword [ebp - 0x2c], 0xffffffff
cmp word [ebp - 0x2c], 0
je 0x4d74b0
lea eax, [ebp - 0x60]
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x18]
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
shl edx, 6
lea ecx, [edx + eax + 0xa4]
push ecx
call fcn.00488ec0
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x64]
call edi
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x64], 0
call edi
movsx edi, word [esi + 0x2c]
mov ebx, 1
cmp ebx, edi
jg 0x4d743c
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, ebx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
mov ecx, dword [eax + edx*8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4d7431
mov eax, 1
add ebx, eax
jmp 0x4d7405
xor edx, edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [ebp - 0x24]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4d74a3
inc word [esi + 0x2c]
mov ax, word [esi + 0x2c]
movsx eax, ax
push 1
push eax
lea ebx, [esi + 0x10]
push 1
push 0x41e1ac
push ebx
push 8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [ebx]
add esp, 0x1c
movsx ecx, word [esi + 0x2c]
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
mov ax, word [ebp - 0x18]
mov word [edx + ecx*8 + 4], ax
mov ebx, dword [ebx]
movsx ecx, word [esi + 0x2c]
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + ecx*8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ebx, dword [0x5455fc]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d7293
movsx ecx, word [0x5456dc]
mov dword [ebp - 0xc4], ecx
mov ebx, 1
cmp ebx, dword [ebp - 0xc4]
jg 0x4d7a0b
mov ecx, dword [0x5456d4]
mov eax, ebx
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
movsx edx, word [eax + edx*4 + 2]
mov dword [ebp - 0xcc], edx
mov edx, 1
mov dword [ebp - 0x4c], edx
cmp edx, dword [ebp - 0xcc]
jg 0x4d79ee
mov edi, dword [ecx + 0x14]
mov eax, ebx
sub eax, edi
mov edi, eax
shl edi, 6
add edi, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edi*4 + 0x100]
lea eax, [eax + edi*4]
mov dword [ebp - 0x128], eax
mov eax, edx
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edi
lea edi, [eax*8]
sub edi, eax
shl edi, 4
add ecx, edi
mov al, byte [ecx]
test al, al
jne 0x4d7806
cmp word [ebp - 0x58], 0
jne 0x4d79d6
movsx edx, word [ecx + 0x48]
mov eax, dword [ebp + 8]
cmp edx, eax
je 0x4d761b
movsx edx, word [ecx + 0x4a]
cmp edx, eax
je 0x4d761b
movsx edx, word [ecx + 0x4c]
cmp edx, eax
je 0x4d761b
xor eax, eax
mov edx, 1
mov al, byte [ecx + 0x29]
mov dword [ebp - 0xd4], eax
cmp edx, dword [ebp - 0xd4]
jg 0x4d75cb
mov eax, dword [ecx + 0x58]
mov edi, edx
sub edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
cmp byte [eax + edi*8], 0
lea eax, [eax + edi*8]
jne 0x4d75c2
mov eax, dword [eax + 4]
mov edi, dword [ebp + 8]
cmp eax, edi
je 0x4d761b
mov eax, 1
add edx, eax
jmp 0x4d759c
xor edx, edx
mov eax, 1
mov dl, byte [ecx + 8]
mov dword [ebp - 0xdc], edx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x20], eax
cmp eax, edx
jg 0x4d7622
mov edx, dword [ecx + 0x10]
sub eax, dword [edx + 0x14]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [edx + 0xc]
cmp word [eax + edi*4 + 6], 0xfffd
lea eax, [eax + edi*4]
jne 0x4d760f
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
cmp edx, eax
je 0x4d761b
mov eax, dword [ebp - 0x20]
mov edx, 1
add eax, edx
jmp 0x4d75db
mov dword [ebp - 0x58], 0xffffffff
cmp word [ebp - 0x58], 0
je 0x4d79d6
mov eax, dword [ebp - 0x128]
cmp word [eax + 0x20], 0
je 0x4d7679
inc word [esi + 0x28]
mov ax, word [esi + 0x28]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 0x14]
push 1
push 0x421450
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [edi]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
movsx eax, word [esi + 0x28]
push 0
push ebx
jmp 0x4d79b2
inc word [esi + 0x2e]
mov ax, word [esi + 0x2e]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 0x18]
push 1
push 0x41e258
push edi
push 0xc
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [0x5456d4]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x60]
mov eax, ebx
push 0
push 3
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x84], 0x4008
lea ecx, [eax + edx*4 + 0xf4]
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x74]
push edx
push eax
mov dword [ebp - 0x7c], ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [edi]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x12c], edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x12c]
mov edx, eax
movsx eax, word [esi + 0x2e]
sub eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x5456d4]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x60]
mov eax, ebx
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4 + 4]
push ecx
call fcn.0045da60
mov edx, eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x2e]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x64]
sub eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4 + 4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [edi]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x60]
movsx eax, word [esi + 0x2e]
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4 + 4]
push ecx
push 6
call fcn.004369b0
lea edx, [ebp - 0x60]
mov dword [ebp - 0x8c], eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0x8c]
mov edi, dword [edi]
mov edx, dword [edi + 0x14]
lea ecx, [eax + 0xb]
movsx eax, word [esi + 0x2e]
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [edi + 0xc]
mov word [eax + edx*4 + 8], cx
jmp 0x4d79d6
cmp al, 1
jne 0x4d785e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push edx
push ebx
call fcn.004d51d0
test ax, ax
je 0x4d79d6
inc word [esi + 0x20]
mov ax, word [esi + 0x20]
movsx ecx, ax
push 1
push ecx
push 1
push 0x421450
push esi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [esi]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
movsx eax, word [esi + 0x20]
push 0
push ebx
jmp 0x4d79b2
cmp al, 3
jne 0x4d7908
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
push eax
push edx
push ebx
call fcn.004d4d50
test ax, ax
je 0x4d79d6
inc word [esi + 0x22]
mov ax, word [esi + 0x22]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 4]
push 1
push 0x421450
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [edi]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [0x5456d4]
mov eax, ebx
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 6
add edx, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edx*4 + 0x100]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ecx + 0x14]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xc]
shl edx, 4
mov ecx, dword [edx + eax + 0x6c]
mov eax, 8
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, dword [ecx + 0xc]
mov cl, byte [eax + edx*2]
movsx eax, word [esi + 0x22]
inc cl
push ecx
push ebx
jmp 0x4d79b2
cmp al, 5
jne 0x4d7960
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
push ebx
call fcn.004d4e80
test ax, ax
je 0x4d79d6
inc word [esi + 0x24]
mov ax, word [esi + 0x24]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 8]
push 1
push 0x421450
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [edi]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
movsx eax, word [esi + 0x24]
push 0
push ebx
jmp 0x4d79b2
cmp al, 6
jne 0x4d79d6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edx
push ebx
call fcn.004d4fa0
test ax, ax
je 0x4d79d6
inc word [esi + 0x26]
mov ax, word [esi + 0x26]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 0xc]
push 1
push 0x421450
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [edi]
add esp, 0x1c
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
movsx eax, word [esi + 0x26]
push 0
push ebx
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d6d00
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [0x5456d4]
mov eax, 1
add edx, eax
mov dword [ebp - 0x4c], edx
jmp 0x4d750b
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
add ebx, eax
jmp 0x4d74d7
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x2a]
lea ebx, [esi + 0x1c]
push edi
push ebx
push ecx
call fcn.00540900
mov ax, word [esi + 0x2c]
test ax, ax
jle 0x4d7a34
movsx edx, ax
push edx
lea eax, [esi + 0x10]
push 1
push eax
call fcn.004d4810
mov ax, word [esi + 0x20]
test ax, ax
jle 0x4d7a49
movsx ecx, ax
push ecx
push 1
push esi
call fcn.004d46b0
mov ax, word [esi + 0x22]
test ax, ax
jle 0x4d7a61
movsx edx, ax
push edx
lea eax, [esi + 4]
push 1
push eax
call fcn.004d46b0
mov ax, word [esi + 0x24]
test ax, ax
jle 0x4d7a79
movsx ecx, ax
push ecx
lea edx, [esi + 8]
push 1
push edx
call fcn.004d46b0
mov ax, word [esi + 0x28]
test ax, ax
jle 0x4d7a91
movsx eax, ax
push eax
lea ecx, [esi + 0x14]
push 1
push ecx
call fcn.004d46b0
mov ax, word [esi + 0x2e]
test ax, ax
jle 0x4d7aa9
movsx edx, ax
push edx
lea eax, [esi + 0x18]
push 1
push eax
call fcn.004d4560
mov ax, word [edi]
test ax, ax
jle 0x4d7abd
movsx ecx, ax
push ecx
push 1
push ebx
call fcn.004d4810
cmp word [esi + 0x2c], 0
jle 0x4d7b94
mov edx, dword [0x544e54]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edx, 5
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, edi
push ecx
push ebx
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.00436cf0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx ecx, word [esi + 0x2c]
lea eax, [ebx + 0x59]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xe4], ecx
mov edi, 1
cmp edi, dword [ebp - 0xe4]
jg 0x4d7b8e
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea ecx, [ebp - 0x34]
lea edx, [ebp + 0x10]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
mov eax, dword [ebp - 0x60]
mov ecx, edi
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
lea eax, [edx + ecx*8]
push eax
call fcn.00437a20
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x88], eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7b85
mov eax, dword [esi + 0x10]
mov edx, edi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
movsx ecx, word [eax + edx*8 + 4]
mov dword [ebp - 0x50], ecx
mov eax, 1
add edi, eax
jmp 0x4d7b1e
add dword [ebp + 0x10], 0xc
jmp 0x4d7b97
mov ebx, dword [ebp + 0xc]
cmp word [esi + 0x20], 0
jle 0x4d7c5c
mov edx, dword [0x544e54]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x10]
mov edx, 6
push ecx
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, edi
push ebx
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.00436cf0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx ecx, word [esi + 0x20]
lea eax, [ebx + 0x29]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xec], ecx
mov edi, 1
cmp edi, dword [ebp - 0xec]
jg 0x4d7c58
mov edx, dword [esi]
lea eax, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea ecx, [ebp - 0x34]
lea edx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, edi
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7c4f
mov dword [ebp - 0x3c], edi
mov eax, 1
add edi, eax
jmp 0x4d7bf5
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x22], 0
jle 0x4d7d23
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 7
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x22]
lea edx, [ebx + 0x41]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0xf4], eax
mov edi, 1
cmp edi, dword [ebp - 0xf4]
jg 0x4d7d1f
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov eax, edi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4 + 8]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7d16
mov dword [ebp - 0x48], edi
mov eax, 1
add edi, eax
jmp 0x4d7cba
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x24], 0
jle 0x4d7de9
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 0xa
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x24]
lea edx, [ebx + 0x52]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0xfc], eax
mov edi, 1
cmp edi, dword [ebp - 0xfc]
jg 0x4d7de5
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov eax, edi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7ddc
mov dword [ebp - 0x30], edi
mov eax, 1
add edi, eax
jmp 0x4d7d81
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x26], 0
jle 0x4d7eaf
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 0xc
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x26]
lea edx, [ebx + 0x5d]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x104], eax
mov edi, 1
cmp edi, dword [ebp - 0x104]
jg 0x4d7eab
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov eax, edi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7ea2
mov dword [ebp - 0x44], edi
mov eax, 1
add edi, eax
jmp 0x4d7e47
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x28], 0
jle 0x4d7f75
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 8
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x28]
lea edx, [ebx + 0x2f]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x10c], eax
mov edi, 1
cmp edi, dword [ebp - 0x10c]
jg 0x4d7f71
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov eax, edi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d7f68
mov dword [ebp - 0x38], edi
mov eax, 1
add edi, eax
jmp 0x4d7f0d
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x2e], 0
jle 0x4d8038
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 9
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x2e]
lea edx, [ebx + 0x4d]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x114], eax
mov edi, 1
cmp edi, dword [ebp - 0x114]
jg 0x4d8034
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov eax, edi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
push edx
call fcn.00437a20
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d802b
mov dword [ebp - 0x40], edi
mov eax, 1
add edi, eax
jmp 0x4d7fd3
add dword [ebp + 0x10], 0xc
cmp word [esi + 0x2a], 0
jle 0x4d80f6
mov ecx, dword [0x544e54]
lea edx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp + 0x10]
mov ecx, 0xd
push eax
mov eax, dword [ebp - 0x60]
push ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.00436cf0
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x2a]
lea edx, [ebx + 0x51]
mov dword [ebp - 0x34], ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x11c], eax
mov edi, 1
cmp edi, dword [ebp - 0x11c]
jg 0x4d80fc
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x60]
push ecx
push edx
call ebx
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push ecx
push edx
mov edx, dword [eax + 0x14]
mov ecx, edi
sub ecx, edx
mov edx, dword [eax + 0xc]
lea eax, [edx + ecx*8]
push eax
call fcn.00437a20
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x88], eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
cmp word [ebp - 0x88], 0
je 0x4d80ed
mov dword [ebp - 0x54], edi
mov eax, 1
add edi, eax
jmp 0x4d809c
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
test eax, eax
jle 0x4d8137
mov edx, dword [esi]
lea eax, [ebp - 0x60]
push edx
push eax
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5540
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [ebp - 0x48]
test eax, eax
jle 0x4d816d
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x60]
push ecx
push edx
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
push 0
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5540
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [ebp - 0x50]
test eax, eax
jle 0x4d818b
mov ecx, eax
push ecx
call fcn.004d68a0
mov edx, dword [ebp - 0x50]
add edx, 0x2710
mov dword [0x545b84], edx
mov eax, dword [ebp - 0x38]
test eax, eax
jle 0x4d81c1
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x60]
push eax
push ecx
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5540
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x4d81f2
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x60]
push ecx
push edx
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5440
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x4d8228
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x60]
push ecx
push edx
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5540
lea eax, [ebp - 0x60]
push eax
call edi
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x4d825e
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x60]
push ecx
push edx
call ebx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x44]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d5540
lea eax, [ebp - 0x60]
push eax
call edi
cmp word [ebp - 0x54], 0
jle 0x4d8287
mov esi, dword [esi + 0x1c]
push 0
movsx ecx, word [ebp - 0x54]
mov edx, dword [esi + 0x14]
push 0
sub ecx, edx
mov edx, dword [esi + 0xc]
push 0
push 0
mov ax, word [edx + ecx*8 + 4]
push eax
call fcn.004d85e0
push 0x4d82b5
jmp 0x4d82ab
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret