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

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp eax, 2
push edi
mov dword [esp + 0x14], ebp
jne 0x439d09
mov eax, dword [0x53a11c]
cmp word [eax + 0xc], bp
jne 0x439cf4
mov edi, dword [esp + 0x34]
xor eax, eax
mov al, byte [edi + 4]
push eax
call fcn.004304b0
inc eax
push eax
push edi
call fcn.00439b10
test ax, ax
jne 0x439ced
inc esi
cmp esi, 0xa
je 0x439ced
xor ecx, ecx
mov cl, byte [edi + 4]
push ecx
call fcn.004304b0
inc eax
push eax
push edi
call fcn.00439b10
test ax, ax
je 0x439ccf
mov eax, dword [0x53a11c]
jmp 0x439cf8
mov edi, dword [esp + 0x34]
inc word [eax + 0xc]
cmp word [eax + 0xc], 2
jne 0x439d5c
mov word [eax + 0xc], bp
jmp 0x439d5c
cmp eax, 3
jne 0x439d58
mov eax, dword [0x53a11c]
cmp word [eax + 0xc], bp
jne 0x439d49
mov edi, dword [esp + 0x34]
mov esi, 1
push esi
push edi
call fcn.00439b10
test ax, ax
jne 0x439d44
xor edx, edx
inc esi
mov dl, byte [edi + 4]
cmp esi, edx
jg 0x439d44
push esi
push edi
call fcn.00439b10
test ax, ax
je 0x439d2e
mov eax, dword [0x53a11c]
inc word [eax + 0xc]
cmp word [eax + 0xc], 2
jne 0x439d58
mov word [eax + 0xc], bp
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov esi, dword [0x5390a4]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub edx, eax
mov dword [esp + 0x1c], edx
movzx ax, byte [edx + ebp + 1]
inc ebp
add eax, 0x113
inc ebp
xor ebx, ebx
movsx ecx, ax
movzx ax, byte [edx + ebp]
mov bl, byte [edx + ebp + 1]
add eax, 0x64
inc ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
add ebx, ecx
mov ecx, dword [esp + 0x3c]
movsx edi, ax
inc ebp
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov al, byte [edx + ebp]
lea ecx, [ebp + 1]
add eax, ebp
mov dword [esp + 0x24], ebp
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
jg 0x439f5d
mov ebp, dword [esp + 0x10]
jmp 0x439dd1
mov ecx, dword [esp + 0x20]
xor eax, eax
mov al, byte [edx + ecx]
mov edx, dword [esi + 0x14]
cmp eax, 0x64
mov ecx, edx
jl 0x439dff
shl ecx, 4
add ecx, edx
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0xc]
shl edx, 1
sub ecx, edx
xor edx, edx
mov dl, byte [ecx + eax + 0x536]
sub edi, edx
jmp 0x439f3c
shl ecx, 4
add ecx, edx
mov edx, dword [esi + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 1
sub edx, ecx
xor ecx, ecx
mov cl, byte [edx + eax + 0x59a]
sub edi, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, 1
jne 0x439e3a
cmp edi, dword [esp + 0x44]
jge 0x439e3a
fld dword [esp + 0x10]
fsub qword [0x401558]
fstp dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea esi, [eax + eax*4]
mov eax, dword [0x538c1c]
push ecx
push ebp
push 8
mov edx, dword [eax]
push 0xa
shl esi, 1
push 0x1dc
lea ecx, [ebx - 1]
push esi
push ecx
push edi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x439e7c
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea edx, [esp + 0x14]
push edx
push ebp
mov ecx, dword [eax]
push 0xa
push 0xa
push 0x1e3
lea edx, [ebx + 8]
push esi
push edx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x439eb9
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea ecx, [esp + 0x14]
push ecx
push ebp
mov edx, dword [eax]
push 0x11
push 1
push 0x1dc
push esi
lea ecx, [edi - 1]
push ebx
push ecx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x439ef6
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea edx, [esp + 0x14]
push edx
push ebp
mov ecx, dword [eax]
push 0x11
push 3
add esi, 7
push 0x1dc
push esi
lea edx, [edi + 8]
push ebx
push edx
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x439f36
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov esi, dword [0x5390a4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x439dcd
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
inc ebp
xor eax, eax
mov dword [esp + 0x24], ebp
mov al, byte [edx + ebp]
cmp eax, 0x64
jl 0x439f9c
mov ebp, dword [esi + 0x14]
mov ecx, ebp
shl ecx, 4
add ecx, ebp
mov ebp, dword [esi + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 1
sub ebp, ecx
xor ecx, ecx
mov cl, byte [eax + ebp + 0x536]
mov ebp, dword [esp + 0x24]
sub edi, ecx
jmp 0x43a073
mov edx, dword [esi + 0x14]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0xc]
shl edx, 1
sub ecx, edx
xor edx, edx
mov dl, byte [ecx + eax + 0x59a]
mov ecx, dword [esp + 0x40]
sub edi, edx
cmp ecx, 1
mov dword [esp + 0x18], edi
jne 0x439fdc
cmp edi, dword [esp + 0x44]
jge 0x439fdc
fld dword [esp + 0x10]
fsub qword [0x401558]
fstp dword [esp + 0x10]
lea edx, [esp + 0x14]
lea esi, [eax + eax*4]
mov eax, dword [0x538c1c]
push edx
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push 0x11
push 0xa
shl esi, 1
push 0x1cb
push esi
push ebx
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x43a01f
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [esp + 0x14]
mov eax, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x34]
push 0xf
push 0xa
push ecx
mov edx, dword [eax]
lea ecx, [ebx + 1]
push esi
push ecx
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x43a065
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov esi, dword [0x5390a4]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp ebp, dword [esp + 0x28]
jne 0x439f65
mov ecx, dword [esp + 0x34]
xor eax, eax
mov al, byte [ecx + 4]
cmp ebp, eax
jne 0x439d70
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x20
ret 0x14