Function at 0x54eda0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40caf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x40c6f0
mov ecx, dword [0x55e314]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
mov edx, 0x439cc4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], edi
call esi
mov eax, dword [0x55e314]
mov edx, 0x439594
lea ecx, [eax + 4]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439ce0
add ecx, 8
call esi
mov eax, dword [0x55e314]
mov edx, 0x439cfc
lea ecx, [eax + 0xc]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439d18
add ecx, 0x10
call esi
mov eax, dword [0x55e314]
mov edx, 0x430efc
lea ecx, [eax + 0x14]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x423500
add ecx, 0x18
call esi
mov eax, dword [0x55e314]
mov edx, 0x439d30
lea ecx, [eax + 0x1c]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439d3c
add ecx, 0x20
call esi
mov eax, dword [0x55e314]
mov edx, 0x439d54
lea ecx, [eax + 0x24]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439d6c
add ecx, 0x28
call esi
mov eax, dword [0x55e314]
mov edx, 0x439d80
lea ecx, [eax + 0x2c]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439d94
add ecx, 0x30
call esi
mov eax, dword [0x55e314]
mov edx, 0x439dac
lea ecx, [eax + 0x34]
call esi
mov ecx, dword [0x55e314]
mov edx, 0x439dc4
add ecx, 0x38
call esi
mov eax, dword [0x55e314]
mov edx, 0x439dd8
lea ecx, [eax + 0x3c]
call esi
mov edx, 0x439df0
mov ecx, dword [0x55e314]
add ecx, 0x40
call esi
mov eax, dword [0x55e314]
mov edx, 0x439e0c
lea ecx, [eax + 0x44]
call esi
mov ecx, dword [0x55e168]
push ecx
push 0x80000001
call fcn.0049c110
test ax, ax
jne 0x54ef3c
mov edx, dword [0x55e168]
push edx
push 0x80000001
call fcn.0049c6e0
push 1
push 4
call fcn.0054df50
push 1
push 5
call fcn.0054df50
push 6
call fcn.0054e0c0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call ebx
push 7
call fcn.0054e0c0
mov edx, eax
lea ecx, [ebp - 0x1c]
call ebx
mov edx, dword [ebp - 0x14]
mov ecx, 0x55e264
call esi
mov edx, dword [ebp - 0x1c]
mov ecx, 0x55e268
call esi
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
push eax
push 0x42928c
call ebx
mov ecx, dword [ebp - 0x14]
mov edx, eax
neg edx
sbb edx, edx
push ecx
inc edx
push 0x42928c
mov dword [ebp - 0x70], edx
call ebx
mov edx, dword [ebp - 0x70]
neg eax
sbb eax, eax
inc eax
or edx, eax
jne 0x54f14c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00552040
test ax, ax
je 0x54f14c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00552e70
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x50], 0x4275bc
mov dword [ebp - 0x58], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov edx, dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], edi
call ebx
lea ecx, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea edx, [ebp - 0x48]
push edx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x38]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
shl ecx, 2
sub edx, ecx
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
sub eax, 7
je 0x54f095
dec eax
je 0x54f06e
dec eax
je 0x54f095
jmp 0x54f09c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
shl ecx, 2
sub edx, ecx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
xor ecx, ecx
cmp eax, 5
setle cl
neg ecx
mov dword [ebp - 0x20], ecx
jmp 0x54f09c
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 2
sub eax, edx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
shl edx, 2
sub eax, edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
mov edx, dword [ebp - 0x14]
push eax
push edx
call fcn.00552750
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
push eax
call fcn.004a3660
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0054e950
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
mov dword [ebp - 0x60], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
cmp word [ebp - 0x60], di
je 0x54f143
mov eax, dword [ebp - 0x14]
push eax
call fcn.00552170
test ax, ax
je 0x54f125
push edi
push edi
call fcn.0054e330
cmp word [ebp - 0x20], di
push edi
je 0x54f144
push 0xffffffffffffffff
call fcn.0054e330
test ax, ax
jne 0x54f143
mov word [0x55e240], 0xffff
jmp 0x54f152
push edi
push edi
call fcn.0054e330
jmp 0x54f152
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push edi
push 5
call fcn.0054df80
push edi
push 4
mov dword [0x55e260], eax
call fcn.0054df80
push 0xffffffffffffffff
push 0xc
mov dword [0x55e25c], eax
call fcn.0054df80
push 0xffffffffffffffff
push 0xd
mov dword [0x55e278], eax
call fcn.0054df80
push 0xffffffffffffffff
push 0xb
mov dword [0x55e27c], eax
call fcn.0054df80
push 0xffffffffffffffff
push 0xa
mov dword [0x55e274], eax
call fcn.0054df80
push edi
push 0xe
mov dword [0x55e270], eax
call fcn.0054df80
cmp word [0x55e240], di
mov dword [0x55e280], eax
je 0x54f261
push edi
push edi
call fcn.0054df80
push edi
push 1
mov dword [0x55e244], eax
call fcn.0054df80
push edi
push 3
mov dword [0x55e248], eax
call fcn.0054df80
push edi
push 2
mov dword [0x55e258], eax
call fcn.0054df80
push 9
mov dword [0x55e24c], eax
call fcn.0054e0c0
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
push eax
call fcn.004a3660
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
mov edx, eax
mov ecx, 0x55e254
call esi
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push edi
push 8
call fcn.0054df80
push edi
push 0xf
mov dword [0x55e26c], eax
call fcn.0054df80
push edi
push 0x10
mov dword [0x55e284], eax
call fcn.0054df80
push edi
push 0x11
mov dword [0x55e288], eax
call fcn.0054df80
mov dword [0x55e28c], eax
call fcn.0054f430
mov eax, dword [0x55e28c]
cmp eax, edi
jg 0x54f274
mov eax, 0x8b911
mov dword [0x55e28c], eax
push eax
call fcn.0054f2e0
mov eax, dword [0x55e26c]
push eax
call fcn.0054f830
push 0x54f2cd
jmp 0x54f2b0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea edx, [ebp - 0x18]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x1c]
call esi
ret