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

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, 0x24
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403840
mov edx, dword [0x564ac0]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov esi, 0x1e
mov eax, 1
cmp eax, esi
jg 0x4ca673
mov ebx, dword [edx + 0x14]
mov edi, eax
sub edi, ebx
mov ebx, dword [edx + 0xc]
cmp word [ebx + edi*2], 0
je 0x4ca66a
inc ecx
mov edi, 1
add eax, edi
jmp 0x4ca654
mov edi, dword [ebp + 8]
lea eax, [edi + 0x88]
push eax
push 0x428514
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x428534
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x4b
call fcn.004e57a0
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x1c]
push edx
push eax
push 3
call dword [fcn.00401250]
mov ecx, dword [0x564ac0]
add esp, 0x10
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
lea edx, [eax + eax]
sub esi, edx
mov edx, 1
cmp word [esi + 2], 0
je 0x4ca6f7
mov word [edi + 0x1a], dx
mov esi, 2
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca709
mov word [edi + 0x14], dx
mov esi, 3
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca71b
mov byte [edi + 6], 1
mov esi, 4
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca72d
mov word [edi + 0x1c], dx
mov esi, 5
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca73f
mov word [edi + 0x3a], dx
mov esi, 6
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca751
mov word [edi + 0x3e], dx
mov esi, 7
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca763
mov word [edi + 0x28], dx
mov esi, 8
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca775
mov word [edi + 0x18], dx
mov esi, 9
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca787
mov word [edi + 0x20], dx
mov esi, 0xa
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca799
mov word [edi + 0x2a], dx
mov esi, 0xb
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca7ab
mov word [edi + 0x40], dx
mov esi, 0xc
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca7bd
mov word [edi + 0x30], dx
mov esi, 0xd
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca7cf
mov word [edi + 0x22], dx
mov esi, 0xe
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca7e1
mov word [edi + 0x3c], dx
mov esi, 0xf
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca7f3
mov word [edi + 0x24], dx
mov esi, 0x10
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca805
mov word [edi + 0x16], dx
mov esi, 0x11
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca817
mov word [edi + 0x32], dx
mov esi, 0x12
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca829
mov word [edi + 0x26], dx
mov esi, 0x13
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca83b
mov word [edi + 0x2c], dx
mov esi, 0x14
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca84d
mov byte [edi + 0xd], 1
mov esi, 0x15
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca85f
mov byte [edi + 0xe], 1
mov esi, 0x16
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca871
mov byte [edi + 0xc], 1
mov esi, 0x17
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca883
mov byte [edi + 5], 1
mov esi, 0x18
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca895
mov word [edi + 0x1e], dx
mov esi, 0x19
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca8a7
mov byte [edi + 4], 1
mov esi, 0x1a
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca8b9
mov word [edi + 0x76], dx
mov esi, 0x1b
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca8cb
mov word [edi + 0x78], dx
mov esi, 0x1c
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca8dd
mov word [edi + 0x7a], dx
mov esi, 0x1d
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca8ef
mov word [edi + 0x7c], dx
mov esi, 0x1e
sub esi, eax
cmp word [ecx + esi*2], 0
je 0x4ca901
mov word [edi + 0x74], dx
push 0x4ca921
jmp 0x4ca920
ret