Function at 0x41d6a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402b86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401538
mov edi, dword [ebp + 0xc]
xor esi, esi
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [edi]
push ecx
add eax, 0xd0
push edx
jo 0x41d8cb
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
call fcn.0041f710
mov ebx, eax
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
add eax, 0xd4
lea edx, [ebp - 0x40]
push ecx
jo 0x41d8cb
push edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
call fcn.0041f710
sub eax, 4
mov dword [ebp - 0x50], 4
jo 0x41d8cb
mov dword [ebp - 0x54], eax
mov eax, ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 0x14], eax
mov edi, 0x200
cmp eax, dword [ebp - 0x54]
jg 0x41d8a6
cmp dword [ebp - 0x28], esi
jne 0x41d8a6
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x38], esi
call fcn.0041f710
cmp eax, esi
mov dword [ebp - 0x20], eax
je 0x41d8a6
add eax, 0x60
lea edx, [ebp - 0x38]
jo 0x41d8cb
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push edx
push eax
mov dword [ebp - 0x38], esi
call fcn.0041f710
cmp eax, esi
mov dword [ebp - 0x30], eax
je 0x41d7b3
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x30]
push edx
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x40], edi
push eax
jmp 0x41d7d4
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
add ecx, 0x6c
lea eax, [ebp - 0x44]
jo 0x41d8cb
mov dword [ebp - 0x40], ecx
push edx
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], edi
push ecx
call fcn.0041f4a0
mov edx, eax
lea ecx, [ebp - 0x2c]
call ebx
mov edx, dword [ebp - 0x2c]
push edx
push 0x407238
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x41d835
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
add eax, 0xac
lea edx, [ebp - 0x40]
push ecx
push edx
jo 0x41d8cb
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
call fcn.0041f710
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], edi
call fcn.0041f4a0
mov edx, eax
lea ecx, [ebp - 0x2c]
call ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x41d8a0
mov eax, dword [ebp + 0x10]
cmp word [eax], si
je 0x41d88e
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
add ecx, 0xd0
lea eax, [ebp - 0x40]
push edx
push eax
jo 0x41d8cb
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], ecx
call fcn.0041f710
test eax, eax
je 0x41d88e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x20]
push ecx
push edx
push eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.0041d6a0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
add eax, ecx
jo 0x41d8cb
mov dword [ebp - 0x14], eax
jmp 0x41d74b
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
push 0x41d8b5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop