Function at 0x4c2580
Capabilities:
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, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403820
mov eax, dword [0x538c1c]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x18], esi
mov dword [0x53a8b4], esi
mov word [0x53a8c0], si
call dword [ecx + 0x50]
cmp eax, esi
fnclex
jge 0x4c25ee
mov edx, dword [0x538c1c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x50
push 0x420690
push edx
push eax
call ebx
jmp 0x4c25f4
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea edx, [ebp - 0x24]
push edx
push 0x3f800000
mov ecx, dword [eax]
push 0x1ea
push 0x2ad
push 0x776
push esi
push 0x37
push 0x39
push 7
push eax
call dword [ecx + 0x78]
cmp eax, esi
fnclex
jge 0x4c2635
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call ebx
cmp dword [0x53a978], esi
jle 0x4c265c
push 0x53a8c8
call fcn.004c1c00
mov dword [0x53a8b4], 0x63
push 0x4c2b29
wait
jmp 0x4c2b1e
cmp word [0x53a8be], si
jne 0x4c2974
movsx edx, word [0x539818]
push 0x58
push 0x190
push 0x53981c
push edx
call fcn.00437620
test ax, ax
je 0x4c2691
mov dword [0x53a8b4], 0x62
movsx eax, word [0x53a8bc]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov esi, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x38]
jg 0x4c2869
mov ecx, dword [0x53a8c4]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*4]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0xc]
mov cx, word [eax + edx*4 + 0x3a]
lea esi, [eax + edx*4]
mov eax, dword [0x538ae4]
lea edx, [ecx + 0xa]
movsx edx, dx
cmp eax, edx
jle 0x4c2737
mov ebx, dword [0x53a994]
movsx edx, cx
lea edx, [edx + ebx - 0xa]
cmp eax, edx
jge 0x4c2737
mov ax, word [esi + 0x3c]
lea edx, [eax + 0xa]
movsx ebx, dx
mov edx, dword [0x538ae8]
cmp edx, ebx
jle 0x4c2737
mov ebx, dword [0x53a998]
movsx eax, ax
lea eax, [eax + ebx - 0xa]
cmp edx, eax
jge 0x4c2737
mov edx, dword [ebp - 0x14]
mov word [0x53a8c0], 0x1ed
mov dword [0x53a8b4], edx
jmp 0x4c2747
mov word [0x53a8c0], 0x1dc
mov dword [ebp - 0x18], 1
lea ebx, [ebp - 0x24]
mov eax, dword [0x538c1c]
push ebx
mov ebx, dword [0x53a998]
push 0x3f800000
push ebx
mov ebx, dword [0x53a994]
mov edx, dword [eax]
push ebx
mov ebx, dword [0x53a990]
push ebx
mov ebx, dword [ebp - 0x18]
movsx ecx, cx
mov ebx, dword [ebx*4 + 0x53a99c]
push ebx
movsx ebx, word [esi + 0x3c]
push ebx
push ecx
push 7
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4c27a1
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
movsx ecx, word [0x53a8c0]
mov eax, dword [esi + 0x44]
push 0x53a9b4
mov ebx, dword [0x53a9a4]
push eax
push ecx
mov cx, word [esi + 0x3c]
lea edx, [esi + 0x48]
lea eax, [esi + 0x40]
push edx
push eax
movsx eax, word [esi + 0x3a]
add cx, 0xc
add eax, ebx
movsx edx, cx
push edx
push eax
push esi
call fcn.0043a8c0
mov ecx, dword [0x538c1c]
lea edx, [ebp - 0x24]
fld dword [esi + 0x1c]
mov ebx, dword [ecx]
push edx
push 0x3f800000
call edi
fld dword [esi + 0x18]
push eax
call edi
fld dword [esi + 0x14]
push eax
call edi
fld dword [esi + 0x10]
push eax
call edi
mov dx, word [esi + 0x30]
push eax
mov ax, word [esi + 0x32]
add dx, word [esi + 0x3a]
add ax, word [esi + 0x3c]
movsx ecx, ax
movsx eax, dx
mov edx, dword [0x538c1c]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
push edx
call dword [ebx + 0x78]
test eax, eax
fnclex
jge 0x4c2847
mov ecx, dword [0x538c1c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x78
push 0x420690
push ecx
push eax
call ebx
jmp 0x4c284d
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov esi, dword [ebp - 0x14]
mov eax, 1
add esi, eax
mov dword [ebp - 0x14], esi
jmp 0x4c26a9
cmp word [0x53a974], 0
jne 0x4c2b0b
mov ax, word [0x539818]
cmp ax, word [0x539812]
jge 0x4c28f7
mov eax, dword [0x538ae4]
mov ecx, 0x320
cmp eax, 0x275
jle 0x4c28bc
cmp eax, 0x2a0
jge 0x4c28bc
mov eax, dword [0x538ae8]
cmp eax, 0x47
jle 0x4c28bc
cmp eax, 0x7c
jge 0x4c28bc
mov ecx, 0x349
mov dword [0x53a8b4], 0x59
mov eax, dword [0x538c1c]
lea esi, [ebp - 0x24]
push esi
push 0x3f800000
mov edx, dword [eax]
push 0x33
push 0x29
push 0
push ecx
push 0x48
push 0x276
push 2
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4c28f7
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call ebx
mov dx, word [0x539818]
cmp dx, word [0x539814]
jle 0x4c2b0b
mov eax, dword [0x538ae4]
mov ecx, 0x320
cmp eax, 0x80
jle 0x4c2941
cmp eax, 0xab
jge 0x4c2941
mov eax, dword [0x538ae8]
cmp eax, 0x47
jle 0x4c2941
cmp eax, 0x7c
jge 0x4c2941
mov ecx, 0x349
mov dword [0x53a8b4], 0x58
mov eax, dword [0x538c1c]
lea esi, [ebp - 0x24]
push esi
push 0x3f800000
mov edx, dword [eax]
push 0x33
push 0x29
push 0x33
push ecx
push 0x48
push 0x81
push 2
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4c2b0b
jmp 0x4c2afa
mov edx, dword [0x53a8c4]
lea eax, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x20]
movsx eax, word [0x53a8be]
sub eax, dword [ecx + 0x14]
lea edx, [eax + eax*4]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4]
push ecx
call fcn.004c1c00
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [0x538ae4]
cmp eax, 0x275
jle 0x4c29e3
cmp eax, 0x2a0
jge 0x4c29e3
mov eax, dword [0x538ae8]
cmp eax, 0x47
jle 0x4c29e3
cmp eax, 0x7c
jge 0x4c29e3
mov ecx, 0x349
mov dword [0x53a8b4], 0x57
jmp 0x4c29e8
mov ecx, 0x320
mov eax, dword [0x538c1c]
lea edi, [ebp - 0x24]
push edi
push 0x3f800000
mov edx, dword [eax]
push 0x33
push 0x29
push esi
push ecx
push 0x48
push 0x276
push 2
push eax
call dword [edx + 0x78]
cmp eax, esi
fnclex
jge 0x4c2a22
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call ebx
mov eax, dword [0x538ae4]
cmp eax, 0x80
jle 0x4c2a55
cmp eax, 0xab
jge 0x4c2a55
mov eax, dword [0x538ae8]
cmp eax, 0x47
jle 0x4c2a55
cmp eax, 0x7c
jge 0x4c2a55
mov ecx, 0x349
mov dword [0x53a8b4], 0x56
jmp 0x4c2a5a
mov ecx, 0x320
mov eax, dword [0x538c1c]
lea edi, [ebp - 0x24]
push edi
push 0x3f800000
mov edx, dword [eax]
push 0x33
push 0x29
push 0x33
push ecx
push 0x48
push 0x81
push 2
push eax
call dword [edx + 0x78]
cmp eax, esi
fnclex
jge 0x4c2a95
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call ebx
mov eax, dword [0x538ae4]
cmp eax, 0x177
jle 0x4c2ac8
cmp eax, 0x1a9
jge 0x4c2ac8
mov eax, dword [0x538ae8]
cmp eax, 0x4c
jle 0x4c2ac8
cmp eax, 0x76
jge 0x4c2ac8
mov ecx, 0x134
mov dword [0x53a8b4], 0x55
jmp 0x4c2acd
mov ecx, 0x10b
mov eax, dword [0x538c1c]
lea edi, [ebp - 0x24]
push edi
push 0x3f800000
mov edx, dword [eax]
push 0x29
push 0x33
push ecx
push 0x320
push 0x4d
push 0x177
push 2
push eax
call dword [edx + 0x78]
cmp eax, esi
fnclex
jge 0x4c2b0b
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call ebx
wait
push 0x4c2b29
jmp 0x4c2b1e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
ret