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

Disassembly:
sub esp, 0x40
mov eax, dword [0x539838]
push ebx
xor ebx, ebx
push ebp
cmp word [0x538a6c], bx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x1e0
je 0x445ecb
movsx ecx, word [esp + 0x60]
push ecx
jmp 0x445ed6
mov edx, dword [esp + 0x5c]
and edx, 0xff
push edx
call fcn.00444fe0
mov al, byte [esp + 0x5c]
mov edx, dword [esp + 0x54]
dec al
mov ecx, dword [edx + 4]
mov byte [esp + 0x5c], al
mov eax, dword [esp + 0x5c]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
and eax, 0xff
sub eax, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x40], eax
movsx ecx, word [eax + 2]
movsx eax, word [eax]
cmp eax, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
jg 0x44691b
mov ecx, dword [edx]
mov ebp, dword [0x5390a4]
lea edi, [eax + eax]
mov dword [esp + 0x28], 0x1ef
mov esi, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x538c50]
mov dword [esp + 0x2c], edx
shl esi, 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x34], esi
jmp 0x445f5b
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x24], ebx
sub eax, esi
mov al, byte [eax + edx + 1]
cmp al, 9
jne 0x445f80
mov dword [esp + 0x60], 0x15
mov dword [esp + 0x20], 0x2d7
jmp 0x4460e3
cmp al, 0xa
jne 0x445fbb
sub edi, esi
xor eax, eax
mov dword [esp + 0x20], 0x2ec
mov al, byte [edi + edx]
mov edx, dword [ebp + 0x14]
mov esi, eax
mov eax, edx
shl eax, 4
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
shl edx, 1
sub esi, edx
xor edx, edx
mov dl, byte [esi + eax + 0x8ca]
mov dword [esp + 0x60], edx
jmp 0x4460d7
cmp al, 0x61
jne 0x446164
mov eax, edi
mov ebx, dword [esp + 0x54]
sub eax, esi
mov dword [esp + 0x20], 0x301
movzx ax, byte [eax + edx]
sub eax, 0x10
movsx eax, ax
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [ebx + 0xc]
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jg 0x4460a9
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 8]
mov ebp, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ebx, ebp
mov eax, dword [edx + ebx*8]
lea esi, [edx + ebx*8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, dword [esi]
mov dword [0x538c30], eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov edx, dword [0x538c30]
mov ebp, dword [0x5390a4]
mov dword [0x538c2c], eax
mov dword [esp + 0x60], 0
lea edi, [edx - 1]
test edi, edi
jl 0x44609e
mov edx, dword [0x538c38]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x38], eax
mov eax, ecx
shl eax, 4
add eax, ecx
shl edx, 1
lea ecx, [eax + eax*2]
shl ecx, 1
inc edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x38]
mov eax, esi
sub eax, edx
add esi, 2
mov ax, word [eax + edi]
sub ax, 0x20
movsx edi, ax
sub edi, ecx
xor eax, eax
mov al, byte [edi + ebx + 0x798]
mov edi, dword [esp + 0x60]
add edi, eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x24], eax
jne 0x446068
mov ecx, dword [0x538c50]
or ebx, 0xffffffff
jmp 0x4460d7
sub edi, esi
xor eax, eax
mov al, byte [edi + edx]
mov edx, dword [ebp + 0x14]
mov esi, eax
mov eax, edx
shl eax, 4
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
shl edx, 1
sub esi, edx
xor edx, edx
mov dl, byte [esi + eax + 0x798]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x4468fb
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
lea edx, [esi + edi]
cmp edx, 0x319
jle 0x446119
mov edx, dword [esp + 0x14]
mov esi, dword [0x539838]
mov eax, 0x17
mov dword [esp + 0x10], esi
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x28], edx
cmp dword [esp + 0x28], 0x253
jg 0x44691b
lea eax, [ebx + 3]
cmp eax, 3
ja case.default.0x446133
jmp dword [eax*4 + 0x446928]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov edx, dword [0x538c1c]
sub eax, ecx
lea ecx, [esp + 0x1c]
mov esi, dword [edx]
push ecx
mov ecx, dword [esp + 0x24]
push 0x3f800000
push 0x15
push 0x15
push ecx
jmp 0x4466e9
cmp al, 0x62
jne 0x4461fd
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x18], 1
mov bl, byte [eax + 0x14]
cmp ebx, 1
mov dword [esp + 0x3c], ebx
jl 0x4461eb
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x60], eax
mov eax, edi
sub eax, esi
mov esi, 0x24
movzx dx, byte [eax + edx]
lea eax, [ebx + ebx*8]
lea edi, [edx + 0x20]
shl eax, 2
mov ebx, dword [esp + 0x60]
mov edx, esi
sub edx, eax
movzx dx, byte [edx + ebx + 0x14]
cmp dx, di
je 0x4461e3
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
inc edx
add esi, 0x24
cmp edx, ebx
mov dword [esp + 0x18], edx
jle 0x4461aa
mov dword [esp + 0x60], 0x15
mov ebx, 0xfffffffe
jmp 0x4460e3
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x60], 0x15
mov ebx, 0xfffffffe
jmp 0x4460e3
cmp al, 0x63
jne 0x4463d5
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x18], 1
mov al, byte [edx + 0x14]
cmp eax, 1
mov dword [esp + 0x3c], eax
jl 0x4463b3
mov esi, dword [esp + 0x34]
mov eax, edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
sub eax, esi
mov esi, dword [esp + 0x2c]
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0xc]
mov al, byte [eax + esi]
mov esi, 0x24
lea edx, [edi + edi*8]
mov byte [esp + 0x60], al
mov dword [esp + 0x38], esi
shl edx, 2
mov al, byte [esp + 0x60]
sub esi, edx
cmp byte [esi + ebx + 0x14], al
mov eax, dword [esp + 0x18]
je 0x44627d
mov esi, dword [esp + 0x38]
inc eax
add esi, 0x24
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
jle 0x446252
jmp 0x4463b3
sub eax, edi
lea ecx, [eax + eax*8]
lea esi, [ebx + ecx*4]
mov dword [esp + 0x48], esi
movzx cx, byte [esi]
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax + eax*2 + 0x2fc]
movsx ebx, dx
cmp ebx, 0x2fc
mov dword [esp + 0x24], ebx
jne 0x4462b6
mov dword [esp + 0x20], 0x15e
jmp 0x4462cc
movzx ax, byte [esi + 1]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4 + 0x113]
movsx ecx, ax
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov dword [0x538c30], eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov ecx, dword [0x538c30]
mov ebp, dword [0x5390a4]
mov dword [0x538c2c], eax
mov dword [esp + 0x60], 6
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x3c], eax
jl 0x446376
mov edx, dword [0x538c38]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x38], eax
mov eax, ecx
shl eax, 4
add eax, ecx
shl edx, 1
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x3c]
shl ecx, 1
inc eax
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x38]
mov eax, esi
sub eax, edx
add esi, 2
mov ax, word [eax + ebx]
xor ebx, ebx
sub ax, 0x20
movsx eax, ax
sub eax, ecx
mov bl, byte [eax + edi + 0x59a]
mov eax, dword [esp + 0x60]
add eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x446338
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
cmp byte [esi], 0
jne 0x446380
mov ebx, 0xfffffffd
cmp word [esi + 0x12], 0
jle 0x4463a1
mov cx, word [esi + 0xc]
push ecx
call fcn.0049fab0
test ax, ax
je 0x44639b
mov ebx, 0xfffffffd
mov ebp, dword [0x5390a4]
mov eax, dword [esp + 0x60]
mov ecx, dword [0x538c50]
test eax, eax
jne 0x4460d7
mov dword [esp + 0x60], 0x15
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x20], 0x2d7
mov ebx, 0x2fc
jmp 0x4460e3
cmp al, 0x64
jne 0x446412
mov edx, dword [esp + 0x40]
movsx eax, word [edx]
cmp dword [esp + 0x30], eax
jle 0x4468fb
mov edx, dword [0x539838]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
mov eax, 0x17
add esi, eax
add edx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
jmp 0x4468fb
mov eax, edi
xor ebx, ebx
sub eax, esi
mov bl, byte [eax + edx]
mov edx, dword [ebp + 0x14]
mov eax, edx
shl eax, 4
add eax, edx
mov edx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
shl eax, 1
sub ebx, eax
xor eax, eax
mov al, byte [ebx + edx + 0x798]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov eax, edi
sub eax, esi
movzx dx, byte [eax + ebx + 1]
lea eax, [edx*8]
sub eax, edx
lea edx, [eax + eax*2 + 0x21a]
movsx eax, dx
mov dword [esp + 0x20], eax
mov eax, edi
sub eax, esi
cmp byte [eax + ebx], 4
jne 0x4460d3
mov edx, dword [esp + 0x40]
movsx eax, word [edx + 2]
cmp dword [esp + 0x30], eax
jge 0x4460d3
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
sub eax, edx
mov edx, ebx
cmp byte [eax + edx + 2], 4
jne 0x4460d3
lea eax, [ecx + ecx*4]
mov esi, dword [0x5390b8]
mov edi, 1
lea edx, [ecx + eax*8]
shl edx, 6
add edx, ecx
lea eax, [ecx + edx*4]
xor edx, edx
mov dl, byte [esi + eax*4 + 0x10]
mov eax, edx
cmp eax, edi
mov dword [esp + 0x60], eax
jl 0x44657b
mov ebx, dword [esp + 0x10]
lea eax, [ecx + ecx*4]
lea edx, [ecx + eax*8]
shl edx, 6
add edx, ecx
lea eax, [ecx + edx*4]
mov ecx, dword [0x5390b8]
mov eax, dword [ecx + eax*4 + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
sub edx, ecx
xor eax, eax
mov ecx, dword [0x538c1c]
mov al, byte [edx + edi]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push 0x3f800000
push 0x15
push 0x15
push eax
lea eax, [esi*8]
mov edx, dword [ecx]
sub eax, esi
lea eax, [eax + eax*2]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebx
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x44653f
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ebp, dword [0x5390a4]
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
xor ecx, ecx
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
shl edx, 1
sub eax, edx
mov cl, byte [eax + esi + 0x798]
mov eax, dword [esp + 0x60]
add ebx, ecx
mov ecx, dword [0x538c50]
inc edi
mov dword [esp + 0x10], ebx
cmp edi, eax
jle 0x4464c9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
inc edx
add eax, 2
mov dword [esp + 0x30], edx
mov dword [esp + 0x5c], eax
jmp 0x4468fb
mov eax, dword [0x538c30]
xor ebx, ebx
xor edi, edi
lea ebp, [eax - 1]
test ebp, ebp
jl 0x446645
mov eax, dword [0x538c38]
mov ecx, edi
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
mov ax, word [edx + ecx*2]
mov ecx, dword [0x538c1c]
sub ax, 0x20
movsx esi, ax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
lea eax, [esi*8]
sub eax, esi
push 0x3f800000
push 0x15
push 0x15
lea eax, [eax + eax*2]
push 0x301
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
add eax, ebx
push eax
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x446617
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
xor edx, edx
lea eax, [eax + eax*2]
shl eax, 1
sub ecx, eax
mov dl, byte [ecx + esi + 0x798]
add ebx, edx
inc edi
cmp edi, ebp
jle 0x4465a8
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [0x538c1c]
lea edx, [esp + 0x1c]
push edx
push 0x3f800000
mov ecx, dword [eax]
push 4
push 2
push 0x216
push 0x4d4
lea edx, [esi - 2]
push edi
push edx
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x446692
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x1c]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x64]
push 0x3f800000
push 4
lea ebx, [ecx + 2]
mov edx, dword [eax]
push ebx
mov ebx, 0x7c9
sub ebx, ecx
push 0x216
push ebx
push edi
push esi
push 5
push eax
call dword [edx + 0x78]
jmp 0x446712
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov edx, dword [0x538c1c]
sub eax, ecx
lea ecx, [esp + 0x1c]
mov esi, dword [edx]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push 0x15
push 0x15
push 0x2d7
mov ecx, dword [esp + 0x40]
movzx cx, byte [eax + ecx]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
movsx ecx, ax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 5
push edx
call dword [esi + 0x78]
test eax, eax
fnclex
jge 0x44672d
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [0x538c50]
mov ebp, dword [0x5390a4]
jmp case.0x446133.3
mov eax, dword [0x538c1c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x3f800000
push 0x15
push 5
push ebx
push 0
push edx
push esi
push 2
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x446785
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x1c]
mov eax, dword [0x538c1c]
push ecx
push 0x3f800000
lea ecx, [edi - 5]
push 0x15
push ecx
mov ecx, 0x195
mov edx, dword [eax]
sub ecx, edi
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
add esi, 5
push ecx
push esi
push 2
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4467cf
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [esp + 0x18], 0xa
jge 0x44672d
mov eax, dword [0x538c30]
xor ebx, ebx
dec eax
mov dword [esp + 0x24], 3
test eax, eax
mov dword [esp + 0x48], eax
jl 0x44672d
mov eax, dword [0x538c38]
mov ecx, ebx
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov ax, word [edx + ecx*2]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
sub ax, 0x20
movsx edi, ax
lea ebp, [ecx + edx]
lea ecx, [esp + 0x1c]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x18]
lea esi, [edi + edi*4]
push 0x3f800000
mov edx, dword [eax]
push 0x11
push 0xa
shl esi, 1
push 0x1dc
add ecx, 3
push esi
push ecx
lea ecx, [ebp - 1]
push ecx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x446868
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x1c]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x24]
push 0x3f800000
push 0xf
mov edx, dword [eax]
push 0xa
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 4
push esi
push ecx
push ebp
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4468ad
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ebp, dword [0x5390a4]
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
shl eax, 1
sub ecx, eax
mov eax, dword [esp + 0x48]
mov dl, byte [ecx + edi + 0x59a]
add esi, edx
inc ebx
cmp ebx, eax
mov dword [esp + 0x24], esi
jle 0x4467f6
mov ecx, dword [0x538c50]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
inc eax
add esi, 2
cmp eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], esi
jle 0x445f4d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x10