Function at 0x4d25f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403e58
movsx ecx, word [0x539cee]
mov eax, dword [ebp + 8]
xor edi, edi
cmp ecx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], edi
mov esi, 0x539cc4
je 0x4d30c7
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaErase]
push 0x539cd0
push 0x421988
mov word [0x53987c], di
mov word [0x539cee], ax
call ebx
push 0x539cdc
push 0x41e6dc
call ebx
push 0x539cd8
push 0x421988
call ebx
push 0x539cd4
push 0x41e580
call ebx
push 0x539ccc
push 0x421988
call ebx
push 0x539cc8
push 0x421988
call ebx
push esi
push 0x421988
call ebx
movsx edx, word [0x539770]
mov word [0x539ce0], di
mov word [0x539ce2], di
mov word [0x539ce4], di
mov word [0x539ce8], di
mov word [0x539cec], di
mov word [0x539ce6], di
mov word [0x539cea], di
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov dword [ebp - 0x90], edx
mov edx, dword [0x53976c]
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x90]
cmp ecx, eax
jg 0x4d295c
mov eax, dword [edx + 0x14]
mov ebx, dword [ebp + 8]
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10c], eax
movsx ecx, word [eax + 0x5c]
cmp ecx, ebx
je 0x4d282d
xor ecx, ecx
mov cl, byte [eax + 0x4c]
mov dword [ebp - 0x98], ecx
mov ecx, 1
cmp ecx, dword [ebp - 0x98]
jg 0x4d2799
mov eax, dword [eax + 0x48]
mov ebx, ecx
sub ebx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
movsx eax, word [eax + ebx*2]
cmp eax, dword [ebp + 8]
je 0x4d282d
mov eax, 1
add ecx, eax
mov eax, dword [ebp - 0x10c]
jmp 0x4d276a
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0xc]
lea ebx, [eax + ecx*4]
xor ecx, ecx
mov eax, 1
mov cl, byte [ebx + 0x54]
mov dword [ebp - 0xa0], ecx
cmp eax, dword [ebp - 0xa0]
jg 0x4d27fb
mov ecx, dword [ebx + 0x50]
mov edi, eax
sub edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
movsx ecx, word [ecx + edi*2]
cmp ecx, dword [ebp + 8]
je 0x4d27ec
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, 1
add eax, ecx
jmp 0x4d27c1
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov dword [ebp - 0x2c], 0xffffffff
jmp 0x4d2834
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
movsx ebx, word [ecx + eax*4 + 0xc8]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 8]
cmp ebx, ecx
je 0x4d282d
movsx eax, word [eax + 0xca]
cmp eax, ecx
jne 0x4d2834
mov dword [ebp - 0x2c], 0xffffffff
cmp word [ebp - 0x2c], 0
je 0x4d294a
lea ecx, [ebp - 0x58]
push edx
push ecx
call edi
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4 + 4]
push edx
call fcn.00486200
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x5c]
call ebx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x5c], 0
call ebx
movsx ecx, word [esi + 0x26]
mov dword [ebp - 0xa8], ecx
mov ebx, 1
cmp ebx, dword [ebp - 0xa8]
jg 0x4d28d6
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x24]
push edx
mov ecx, ebx
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
mov eax, dword [edx + ecx*8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4d28cb
mov eax, 1
add ebx, eax
jmp 0x4d289b
xor edx, edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, dword [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4d293d
inc word [esi + 0x26]
mov ax, word [esi + 0x26]
movsx edx, ax
push 1
push edx
lea ebx, [esi + 0x10]
push 1
push 0x41e580
push ebx
push 8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [ebx]
add esp, 0x1c
movsx ecx, word [esi + 0x26]
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 + 0x26]
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 edx, dword [0x53976c]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d271f
movsx ecx, word [0x539848]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [0x539840]
mov ebx, 1
cmp ebx, dword [ebp - 0xb0]
jg 0x4d3038
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
movsx edx, word [eax + edx*8 + 8]
mov dword [ebp - 0xb8], edx
mov edx, 1
mov dword [ebp - 0x48], edx
cmp edx, dword [ebp - 0xb8]
jg 0x4d301b
mov edi, dword [ecx + 0x14]
mov eax, ebx
sub eax, edi
mov edi, eax
shl edi, 5
add edi, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*8 + 0xc]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, edi
shl edx, 7
lea edi, [edx + eax]
mov al, byte [edx + eax + 6]
test al, al
jne 0x4d2cdf
cmp word [ebp - 0x50], 0
jne 0x4d2cdf
movsx edx, word [edi + 0x3a]
mov eax, dword [ebp + 8]
cmp edx, eax
je 0x4d2acc
movsx edx, word [edi + 0x3c]
cmp edx, eax
je 0x4d2acc
movsx edx, word [edi + 0x3e]
cmp edx, eax
je 0x4d2acc
xor eax, eax
mov edx, 1
mov al, byte [edi + 0x54]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x20], edx
cmp edx, eax
jg 0x4d2a58
mov eax, dword [edi + 0x50]
sub edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + edx*8]
mov dl, byte [eax + 6]
test dl, dl
jne 0x4d2a4c
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x4d2acc
mov edx, dword [ebp - 0x20]
mov eax, 1
add edx, eax
jmp 0x4d2a21
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, dword [ebp - 0x48]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, edi
shl edx, 7
lea edi, [edx + eax]
xor edx, edx
mov dword [ebp - 0x110], edi
mov dl, byte [edi + 0x7c]
mov edi, 1
mov dword [ebp - 0xc8], edx
cmp edi, dword [ebp - 0xc8]
jg 0x4d2ad3
mov eax, dword [ebp - 0x110]
mov edx, dword [eax + 0x78]
mov eax, edi
sub eax, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
lea eax, [eax + eax*8]
cmp word [edx + eax*4 + 0x12], 0xfffd
lea eax, [edx + eax*4]
jne 0x4d2ac3
mov edx, dword [ebp + 8]
cmp dword [eax + 0xc], edx
je 0x4d2acc
mov eax, 1
add edi, eax
jmp 0x4d2a94
mov dword [ebp - 0x50], 0xffffffff
cmp word [ebp - 0x50], 0
je 0x4d2cdf
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
cmp word [eax + edx*8 + 0x18], 0
je 0x4d2b5a
inc word [esi + 0x24]
mov ax, word [esi + 0x24]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 0x14]
push 1
push 0x421988
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [edi]
add esp, 0x1c
lea eax, [ebp - 0x58]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
push 0
movsx eax, word [esi + 0x24]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
push ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d21a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
jmp 0x4d2cd9
inc word [esi + 0x28]
mov ax, word [esi + 0x28]
movsx ecx, ax
push 1
push ecx
lea edi, [esi + 0x18]
push 1
push 0x41e6dc
push edi
push 0xc
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov edx, dword [0x539840]
add esp, 0x1c
lea eax, [ebp - 0x58]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
mov eax, ebx
push 0
push 3
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x7c], 0x4008
lea ecx, [eax + edx*8 + 0x14]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
push eax
mov dword [ebp - 0x74], ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [edi]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x114], edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x114]
mov edx, eax
movsx eax, word [esi + 0x28]
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 - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x539840]
lea eax, [ebp - 0x58]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
mov eax, ebx
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*8 + 4]
push ecx
call fcn.0045de50
mov edx, eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
movsx eax, word [esi + 0x28]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x5c]
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 - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [edi]
lea eax, [ebp - 0x58]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
movsx eax, word [esi + 0x28]
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.00437e70
lea edx, [ebp - 0x58]
mov dword [ebp - 0x84], eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0x84]
mov edi, dword [edi]
mov edx, dword [edi + 0x14]
lea ecx, [eax + 0xb]
movsx eax, word [esi + 0x28]
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [edi + 0xc]
mov word [eax + edx*4 + 8], cx
mov ecx, dword [0x539840]
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, dword [ebp - 0x48]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, edi
shl edx, 7
cmp byte [edx + eax + 6], 1
jne 0x4d2d8f
cmp word [ebp - 0x2c], 0
jne 0x4d2d8f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
push ecx
push edx
push ebx
call fcn.004d06e0
test ax, ax
je 0x4d2d89
inc word [esi + 0x1c]
mov ax, word [esi + 0x1c]
movsx eax, ax
push 1
push eax
push 1
push 0x421988
push esi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov ecx, dword [esi]
add esp, 0x1c
lea edx, [ebp - 0x58]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
push 0
movsx eax, word [esi + 0x1c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
push ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d21a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov dword [ebp - 0x2c], 0xffffffff
mov ecx, dword [0x539840]
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edi, dword [ebp - 0x48]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, edi
sub edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 7
cmp byte [edx + eax + 6], 5
jne 0x4d2e4a
mov ecx, dword [ebp + 8]
push ecx
push edi
push ebx
call fcn.004d03e0
test ax, ax
je 0x4d2e44
cmp word [ebp - 0x14], 0
jne 0x4d2e44
inc word [esi + 0x20]
mov ax, word [esi + 0x20]
movsx edx, ax
push 1
push edx
lea edi, [esi + 8]
push 1
push 0x421988
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [edi]
add esp, 0x1c
lea ecx, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
push 0
movsx eax, word [esi + 0x20]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
push ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d21a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [0x539840]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4d2e4a
mov ecx, dword [0x539840]
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, edi
sub edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 7
cmp byte [edx + eax + 6], 6
jne 0x4d2f02
mov ecx, dword [ebp + 8]
push ecx
push edi
push ebx
call fcn.004d04e0
test ax, ax
je 0x4d2efc
cmp word [ebp - 0x1c], 0
jne 0x4d2efc
inc word [esi + 0x22]
mov ax, word [esi + 0x22]
movsx edx, ax
push 1
push edx
lea edi, [esi + 0xc]
push 1
push 0x421988
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [edi]
add esp, 0x1c
lea ecx, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x58]
push 0
movsx eax, word [esi + 0x22]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edx
push ebx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d21a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [0x539840]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x4d2f02
mov ecx, dword [0x539840]
mov edx, dword [ecx + 0x14]
mov eax, ebx
sub eax, edx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, edi
sub edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 7
cmp byte [edx + eax + 6], 3
jne 0x4d3003
mov ecx, dword [ebp + 8]
push ecx
push edi
push ebx
call fcn.004d02d0
test ax, ax
je 0x4d2ffd
cmp word [ebp - 0x28], 0
jne 0x4d2ffd
inc word [esi + 0x1e]
mov ax, word [esi + 0x1e]
movsx edx, ax
push 1
push edx
lea edi, [esi + 4]
push 1
push 0x421988
push edi
push 0x2c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [edi]
add esp, 0x1c
lea ecx, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [0x539840]
mov eax, ebx
sub eax, dword [ecx + 0x14]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
shl ecx, 7
mov eax, 8
mov ecx, dword [ecx + edx + 0x60]
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 + 0x1e]
inc cl
push ecx
mov ecx, dword [ebp - 0x58]
push ebx
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.004d21a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [0x539840]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x28], 0xffffffff
jmp 0x4d3003
mov ecx, dword [0x539840]
mov eax, 1
add edi, eax
mov dword [ebp - 0x48], edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov edx, dword [ebp - 0x48]
jmp 0x4d29a4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
add ebx, eax
jmp 0x4d2974
mov ax, word [esi + 0x26]
test ax, ax
jle 0x4d3050
movsx ecx, ax
push ecx
lea edx, [esi + 0x10]
push 1
push edx
call fcn.004d0190
mov ax, word [esi + 0x1c]
test ax, ax
jle 0x4d3065
movsx eax, ax
push eax
push 1
push esi
call fcn.004d0030
mov ax, word [esi + 0x1e]
test ax, ax
jle 0x4d307d
movsx ecx, ax
push ecx
lea edx, [esi + 4]
push 1
push edx
call fcn.004d0030
mov ax, word [esi + 0x20]
test ax, ax
jle 0x4d3095
movsx eax, ax
push eax
lea ecx, [esi + 8]
push 1
push ecx
call fcn.004d0030
mov ax, word [esi + 0x24]
test ax, ax
jle 0x4d30ad
movsx edx, ax
push edx
lea eax, [esi + 0x14]
push 1
push eax
call fcn.004d0030
mov ax, word [esi + 0x28]
test ax, ax
jle 0x4d30cd
movsx ecx, ax
push ecx
lea edx, [esi + 0x18]
push 1
push edx
call fcn.004cfee0
jmp 0x4d30cd
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp word [esi + 0x26], 0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
jle 0x4d319f
mov eax, dword [0x538edc]
lea ecx, [ebp - 0x58]
push eax
push ecx
call edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push edx
mov ecx, 5
mov edx, dword [eax + 0x14]
push 0x100
sub ecx, edx
mov edx, dword [eax + 0xc]
lea eax, [edx + ecx*8]
push eax
push 7
call fcn.004381b0
lea ecx, [ebp - 0x58]
push ecx
call ebx
movsx edx, word [esi + 0x26]
mov dword [ebp - 0x54], 0x159
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jg 0x4d319b
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
lea eax, [ebp - 0x50]
lea ecx, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
lea eax, [edx + ecx*8]
push eax
call fcn.00438ee0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x80], eax
push ecx
call ebx
cmp word [ebp - 0x80], 0
je 0x4d318c
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
movsx ecx, word [eax + edx*8 + 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d312c
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x1c], 0
jle 0x4d3261
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 6
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x1c]
mov dword [ebp - 0x54], 0x129
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d325d
mov edx, dword [esi]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x2c]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
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.00438ee0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call ebx
cmp word [ebp - 0x80], 0
je 0x4d324e
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d31f9
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x1e], 0
jle 0x4d3325
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 7
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x1e]
mov dword [ebp - 0x54], 0x141
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d3321
mov edx, dword [esi + 4]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x28]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
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.00438ee0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call ebx
cmp word [ebp - 0x80], 0
je 0x4d3312
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d32bb
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x20], 0
jle 0x4d33e8
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 0xa
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x20]
mov dword [ebp - 0x54], 0x152
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d33e4
mov edx, dword [esi + 8]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
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.00438ee0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call ebx
cmp word [ebp - 0x80], 0
je 0x4d33d5
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d337f
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x22], 0
jle 0x4d34ab
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 0xc
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x22]
mov dword [ebp - 0x54], 0x15d
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d34a7
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
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.00438ee0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call ebx
cmp word [ebp - 0x80], 0
je 0x4d3498
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d3442
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x24], 0
jle 0x4d3575
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 8
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x24]
mov dword [ebp - 0x54], 0x12f
mov dword [ebp - 0x50], 0
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d3571
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x50]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
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.00438ee0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call ebx
cmp word [ebp - 0x80], 0
je 0x4d3562
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d350c
add dword [ebp + 0xc], 0xc
cmp word [esi + 0x28], 0
jle 0x4d3638
mov edx, dword [0x538edc]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
push ecx
mov edx, 9
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub edx, ecx
push 0x100
lea ecx, [eax + edx*8]
push ecx
push 7
call fcn.004381b0
lea edx, [ebp - 0x58]
push edx
call ebx
movsx eax, word [esi + 0x28]
mov dword [ebp - 0x54], 0x14d
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4d3638
mov edx, dword [esi + 0x18]
lea eax, [ebp - 0x58]
push edx
push eax
call edi
lea ecx, [ebp - 0x50]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ebp - 0x18]
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4]
push ecx
call fcn.00438ee0
lea edx, [ebp - 0x58]
mov dword [ebp - 0x80], eax
push edx
call ebx
cmp word [ebp - 0x80], 0
je 0x4d3629
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x18]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d35d6
mov eax, dword [ebp - 0x38]
test eax, eax
jle 0x4d366d
mov ecx, dword [esi]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x58]
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.004d0a20
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x4d36a3
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
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.004d0a20
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4d36c1
mov ecx, eax
push ecx
call fcn.004d1d40
mov edx, dword [ebp - 0x4c]
add edx, 0x2710
mov dword [0x539cb0], edx
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x4d36f7
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x58]
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x34]
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.004d0a20
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x3c]
test eax, eax
jle 0x4d3728
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x3c]
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.004d0920
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x4d375e
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x58]
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.004d0a20
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x4d3794
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x58]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, edi
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
push edx
call fcn.004d0a20
lea eax, [ebp - 0x58]
push eax
call ebx
push 0x4d37c2
jmp 0x4d37b8
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret