Function at 0x5567f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405996
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405790
mov esi, 0xa
push 1
push esi
push 1
push 0x42255c
xor ebx, ebx
push 0x564c8c
push 0x18
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [0x564c8c]
add esp, 0x1c
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 3
sub edi, ecx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x1a]
mov byte [edi + 0x1a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x14]
mov byte [edi + 0x1b], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x1c]
mov byte [edi + 0x1c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3a]
mov byte [edi + 0x32], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3e]
mov byte [edi + 0x33], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x28]
mov byte [edi + 0x34], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x18]
mov byte [edi + 0x4a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x20]
mov byte [edi + 0x4b], dl
mov edx, dword [eax + 0x14]
lea edx, [edx + edx*2]
shl edx, 3
mov edi, dword [eax + 0xc]
sub edi, edx
mov dl, byte [ecx + 0x34]
mov byte [edi + 0x4c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2a]
mov byte [edi + 0x62], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x38]
mov byte [edi + 0x63], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x40]
mov byte [edi + 0x64], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x30]
mov byte [edi + 0x7a], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xf]
mov byte [edi + 0x7b], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x22]
mov byte [edi + 0x7c], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x3c]
mov byte [edi + 0x92], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x24]
mov byte [edi + 0x93], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x16]
mov byte [edi + 0x94], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x32]
mov byte [edi + 0xaa], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x26]
mov byte [edi + 0xab], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2c]
mov byte [edi + 0xac], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xd]
mov byte [edi + 0xc2], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xe]
mov byte [edi + 0xc3], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0xc]
mov byte [edi + 0xc4], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 5]
mov byte [edi + 0xda], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x42]
mov byte [edi + 0xdb], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x44]
mov byte [edi + 0xdc], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x2e]
mov byte [edi + 0xf2], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 0x1e]
mov byte [edi + 0xf3], dl
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
lea edx, [edx + edx*2]
shl edx, 3
sub edi, edx
mov dl, byte [ecx + 4]
mov byte [edi + 0xf4], dl
movsx ecx, word [ecx + 0x10]
sub ecx, 0x9aa
je 0x556b13
dec ecx
je 0x556af8
dec ecx
jne 0x556b27
mov dword [0x564c9c], esi
mov dword [0x564c98], 0x6e0
jmp 0x556b27
mov dword [0x564c9c], esi
mov dword [0x564c98], 0x6a2
mov word [0x564cbc], 0xffff
jmp 0x556b27
mov dword [0x564c9c], 5
mov dword [0x564c98], 0x664
mov ecx, dword [0x562ad4]
lea edx, [ecx + ecx*4]
shl edx, 0xa
add edx, ecx
mov ecx, dword [0x562ec8]
cmp byte [ecx + edx*8 + 0x3fd], 0
jbe 0x556bdb
mov edx, dword [0x564c9c]
mov esi, 1
mov dword [ebp - 0x44], edx
cmp esi, dword [ebp - 0x44]
jg 0x556ba6
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*8 + 2]
push ecx
call fcn.0047b290
lea edx, [ebp - 0x24]
mov edi, eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
test di, di
jne 0x556b9e
mov eax, 1
add esi, eax
mov eax, dword [0x564c8c]
jmp 0x556b57
mov eax, dword [0x564c8c]
or ebx, 0xffffffff
test bx, bx
jne 0x556bdb
mov edi, dword [0x564c9c]
mov esi, 1
mov edx, esi
cmp edx, edi
jg 0x556bdb
mov ebx, dword [eax + 0x14]
mov ecx, edx
sub ecx, ebx
mov ebx, dword [eax + 0xc]
lea ecx, [ecx + ecx*2]
cmp byte [ebx + ecx*8 + 2], 0
je 0x556bd4
add edx, esi
jmp 0x556bb8
mov dword [ebp - 0x18], 0xffffffff
push 0x2381
call fcn.004ea460
push 0x2377
mov dword [0x564cb0], eax
call fcn.004ea460
mov edx, dword [0x564c9c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov esi, 1
mov dword [0x564cb4], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x54]
jg 0x556d77
mov eax, dword [0x564c8c]
lea ecx, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0xc]
lea esi, [eax + edx*8]
mov al, byte [esi + 2]
test al, al
lea edi, [esi + 2]
jne 0x556ce5
cmp word [ebp - 0x18], 0
je 0x556ccd
mov eax, dword [0x562ad4]
mov edx, dword [0x562ec8]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
lea eax, [edx + ecx*8 + 0x3fd]
push eax
call fcn.00464150
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp word [0x564cbc], 0
mov word [esi], 0x2273
je 0x556ca2
mov dword [esi + 8], 1
jmp 0x556ca8
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov edx, dword [0x564cb0]
mov eax, dword [esi + 8]
cmp edx, eax
jl 0x556cc1
mov dword [esi + 0xc], 6
jmp 0x556d59
mov dword [esi + 0xc], 3
jmp 0x556d59
mov edx, 0x42d60c
lea ecx, [esi + 0x10]
call ebx
mov word [esi], 0x2272
mov dword [esi + 0xc], 2
jmp 0x556d59
push edi
call fcn.00464150
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [esi + 0x10]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0
push edi
mov dword [esi + 0xc], 9
call fcn.00464740
add eax, 0x76d
xor ecx, ecx
mov cl, byte [edi]
mov word [esi], ax
xor eax, eax
mov al, byte [esi + 3]
push eax
push ecx
call fcn.00464e10
mov ecx, dword [0x564cb4]
xor edx, edx
cmp ecx, eax
push edi
setl dl
dec edx
mov dword [esi + 8], eax
and edx, 3
add edx, 4
mov dword [esi + 0xc], edx
call fcn.0047b290
test ax, ax
je 0x556d59
mov dword [esi + 0xc], 4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov ecx, dword [ebp - 0x14]
mov eax, 1
add ecx, eax
mov dword [ebp - 0x14], ecx
mov esi, ecx
jmp 0x556c10
mov eax, dword [0x564c9c]
lea ecx, [eax + eax*4]
lea eax, [ecx*8 - 0x24]
mov dword [0x564ca0], eax
add eax, 0x59
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fmul qword [0x4014c8]
fsubr qword [0x401688]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [0x564ca4], eax
push 0x556dd8
wait
jmp 0x556dcd
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret