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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5024e6
mov eax, dword fs:[0]
push eax
sub esp, 0x238
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x10], esi
cmp eax, 1
jne 0x4399e1
push 0x54cfe0
push 0x20
call fcn.004cba2a
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x250], esi
cmp edi, esi
je 0x4397b6
lea esi, [edi + 4]
mov ecx, 1
mov dword [edi], vtable.varobject.0
mov dword [esp + 0x1c], esi
call fcn.004012a0
test eax, eax
je 0x439799
mov dword [eax], esi
jmp 0x43979b
xor eax, eax
mov dword [esi], eax
mov byte [esp + 0x250], 1
call fcn.00462ac4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
jmp 0x4397b8
xor edi, edi
mov esi, edi
mov dword [esp + 0x1c], esi
mov eax, 2
mov dword [esp + 0x250], eax
test edi, edi
je 0x4399aa
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x439977
cmp dword [ebp + 0x10], eax
jb 0x439977
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x439977
mov eax, dword [esi + 4]
cmp dword [eax], 1
jne 0x439802
mov eax, dword [eax + 8]
jmp 0x439804
xor eax, eax
push 0xfde9
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
call fcn.004180d0
mov byte [esp + 0x250], 3
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407f30
mov byte [esp + 0x250], 4
mov eax, dword [eax]
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x20]
push eax
push ebx
call edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x250], 2
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x43986c
push eax
call fcn.004cc15e
add esp, 4
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x20]
mov ecx, dword [esi + 0x10]
mov esi, dword [ebx]
add esi, 0x30
call fcn.0040c5f0
push eax
mov eax, dword [esi]
push ebx
call eax
test eax, eax
jne 0x439977
mov dword [esp + 0x10], eax
mov byte [esp + 0x250], 5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x10]
push ecx
push eax
call edx
test eax, eax
jne 0x43995f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439963
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
xor ebx, ebx
call edx
test eax, eax
jbe 0x43995f
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
mov byte [esp + 0x250], 6
test esi, esi
je 0x43990d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push ebx
push eax
call edx
mov ecx, esi
call fcn.0041a730
jmp 0x43990f
xor eax, eax
push eax
lea esi, [esp + 0x28]
mov byte [esp + 0x254], 5
call fcn.0040ec70
mov byte [esp + 0x250], 7
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov byte [esp + 0x250], 5
mov ecx, esi
mov dword [esp + 0x24], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
inc ebx
call edx
cmp ebx, eax
jb 0x4398d4
mov eax, dword [esp + 0x10]
mov byte [esp + 0x250], 2
test eax, eax
je 0x439977
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x43999b
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [eax + 8], edi
mov dword [eax], 5
jmp 0x4399a1
mov esi, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040ed50
mov dword [esp + 0x250], 0xffffffff
test esi, esi
je 0x4399c4
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
mov ecx, esi
call edx
mov eax, 1
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x439c38
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x439bd4
cmp dword [ebp + 0x10], 3
jb 0x439bd4
mov eax, ecx
mov esi, dword [eax + 0x20]
test esi, esi
je 0x439bd4
mov eax, dword [ebx + 4]
cmp dword [eax], 1
jne 0x439a19
mov eax, dword [eax + 8]
jmp 0x439a1b
xor eax, eax
push 0xfde9
lea ecx, [esp + 0x148]
push eax
lea eax, [esp + 0x148]
mov dword [esp + 0x148], ecx
call fcn.004180d0
mov dword [esp + 0x250], 8
mov edx, dword [esp + 0x140]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407f30
mov byte [esp + 0x250], 9
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
push eax
push esi
call edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x144]
cmp eax, ecx
je 0x439a90
push eax
call fcn.004cc15e
add esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x250], 0xa
call fcn.0045e7f0
test eax, eax
je 0x439ac3
call fcn.0045e7f0
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0x51948c
push eax
call edx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x439bbd
mov eax, dword [ebx + 0x10]
cmp dword [eax], 1
jne 0x439adc
mov eax, dword [eax + 8]
jmp 0x439ade
xor eax, eax
push 0xfde9
lea ecx, [esp + 0x148]
push eax
lea eax, [esp + 0x148]
mov dword [esp + 0x148], ecx
call fcn.004180d0
mov byte [esp + 0x250], 0xb
mov edx, dword [esp + 0x140]
mov esi, dword [edi]
push edx
add esi, 0x74
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov eax, dword [esi]
push str.function
push edi
call eax
mov byte [esp + 0x250], 0xa
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x144]
cmp eax, ecx
je 0x439b47
push eax
call fcn.004cc15e
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, dword [ebx + 0x1c]
mov edi, eax
add esi, 0x78
call fcn.0040c5f0
mov edx, dword [esi]
push eax
push 0x515e64
push edi
call edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
mov byte [esp + 0x250], 0xc
test ecx, ecx
je 0x439ba6
mov eax, 1
call fcn.0040c000
jmp 0x439ba8
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
mov byte [esp + 0x254], 0xa
call fcn.0040ed50
mov edi, dword [esp + 0x10]
mov dword [esp + 0x250], 0xffffffff
test edi, edi
je 0x439bd4
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov esi, dword [ebp + 0x14]
cmp dword [esi + 4], 0
jne 0x439c1b
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x250], 0xd
xor eax, eax
test ecx, ecx
je 0x439c08
call fcn.0040c000
push eax
mov ecx, esi
mov dword [esp + 0x254], 0xffffffff
call fcn.0040ed50
mov eax, 1
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 3
jne 0x43a15a
push 0x54cfe0
push 0x20
call fcn.004cba2a
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x250], 0xe
cmp edi, esi
je 0x439ca1
lea esi, [edi + 4]
mov ecx, 1
mov dword [edi], vtable.varobject.0
mov dword [esp + 0x1c], esi
call fcn.004012a0
test eax, eax
je 0x439c84
mov dword [eax], esi
jmp 0x439c86
xor eax, eax
mov dword [esi], eax
mov byte [esp + 0x250], 0xf
call fcn.00462ac4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
jmp 0x439ca3
xor edi, edi
mov esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x250], 0x10
test edi, edi
je 0x43a123
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x43a0f0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43a0f0
cmp dword [ebp + 0x10], 1
jb 0x43a0f0
mov ecx, dword [ecx + 4]
push eax
call fcn.0040c5f0
push eax
lea esi, [esp + 0x1c]
call fcn.00446ef0
add esp, 8
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x43a0dc
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x250], 0x15
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push ebx
call edx
test eax, eax
jl 0x439e04
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov byte [esp + 0x250], 0x16
test esi, esi
je 0x439d90
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x40]
push 0xfde9
mov dword [esp + 0x40], eax
push ecx
lea eax, [esp + 0x44]
call fcn.00418470
mov byte [esp + 0x250], 0x17
mov ebx, dword [esp + 0x3c]
mov eax, esi
mov dword [esp + 0x10], 1
mov dword [esi], 0
call fcn.0040c040
mov ebx, dword [esp + 0x14]
jmp 0x439d92
xor esi, esi
push esi
lea esi, [esp + 0x28]
mov dword [esp + 0x254], 0x18
call fcn.0040ec70
mov dword [esp + 0x250], 0x19
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
push str.path
mov ecx, edi
call eax
mov byte [esp + 0x250], 0x18
mov ecx, esi
mov dword [esp + 0x24], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov dword [esp + 0x250], 0x15
test byte [esp + 0x10], 1
je 0x439e04
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x439e04
push eax
call fcn.004cc15e
add esp, 4
mov edx, dword [ebx]
mov ecx, dword [edx + 0x10]
lea eax, [esp + 0x1c]
push eax
push ebx
call ecx
test eax, eax
jl 0x439ee9
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov byte [esp + 0x250], 0x1a
test esi, esi
je 0x439e75
mov eax, dword [esp + 0x1c]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00418470
mov byte [esp + 0x250], 0x1b
mov ebx, dword [esp + 0x3c]
or dword [esp + 0x10], 2
mov eax, esi
mov dword [esi], 0
call fcn.0040c040
jmp 0x439e77
xor esi, esi
push esi
mov ebx, 0x1c
lea esi, [esp + 0x28]
mov dword [esp + 0x254], ebx
call fcn.0040ec70
mov dword [esp + 0x250], 0x1d
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
push str.name
mov ecx, edi
call eax
mov byte [esp + 0x250], bl
mov ecx, esi
mov dword [esp + 0x24], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov dword [esp + 0x250], 0x15
test byte [esp + 0x10], 2
je 0x439ee9
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x439ee9
push eax
call fcn.004cc15e
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x24]
lea eax, [esp + 0x34]
push eax
push ebx
call ecx
test eax, eax
jl 0x439fd6
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov byte [esp + 0x250], 0x1e
test esi, esi
je 0x439f62
mov eax, dword [esp + 0x34]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00418470
mov byte [esp + 0x250], 0x1f
mov ebx, dword [esp + 0x3c]
or dword [esp + 0x10], 4
mov eax, esi
mov dword [esi], 0
call fcn.0040c040
mov ebx, dword [esp + 0x14]
jmp 0x439f64
xor esi, esi
push esi
lea esi, [esp + 0x28]
mov dword [esp + 0x254], 0x20
call fcn.0040ec70
mov dword [esp + 0x250], 0x21
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
push 0x5193a0
mov ecx, edi
call eax
mov byte [esp + 0x250], 0x20
mov ecx, esi
mov dword [esp + 0x24], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov dword [esp + 0x250], 0x15
test byte [esp + 0x10], 4
je 0x439fd6
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x439fd6
push eax
call fcn.004cc15e
add esp, 4
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x38]
push eax
push ebx
call ecx
test eax, eax
jl 0x43a0b6
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov byte [esp + 0x250], 0x22
test esi, esi
je 0x43a047
mov eax, dword [esp + 0x38]
push 0xfde9
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
call fcn.00418470
mov byte [esp + 0x250], 0x23
mov ebx, dword [esp + 0x3c]
or dword [esp + 0x10], 8
mov eax, esi
mov dword [esi], 0
call fcn.0040c040
jmp 0x43a049
xor esi, esi
push esi
mov ebx, 0x24
lea esi, [esp + 0x28]
mov dword [esp + 0x254], ebx
call fcn.0040ec70
mov dword [esp + 0x250], 0x25
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
push 0x5193a4
mov ecx, edi
call eax
mov byte [esp + 0x250], bl
mov ecx, esi
mov dword [esp + 0x24], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov dword [esp + 0x250], 0x15
test byte [esp + 0x10], 8
je 0x43a0b6
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x43a0b6
push eax
call fcn.004cc15e
add esp, 4
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x250], 0x10
test ebx, ebx
je 0x43a0f0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
push 0x54cfe0
push 0x10
call fcn.004cba2a
add esp, 8
test eax, eax
je 0x43a114
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [eax + 8], edi
mov dword [eax], 5
jmp 0x43a11a
mov esi, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040ed50
mov dword [esp + 0x250], 0xffffffff
test esi, esi
je 0x43a13d
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
call eax
mov eax, 1
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 4
jne 0x43a202
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x43a1d0
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x43a1d0
cmp dword [ebp + 0x10], 1
jb 0x43a1d0
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
mov dword [esp + 0x250], 0x26
test esi, esi
je 0x43a1ba
mov eax, dword [ebx + 0x20]
mov ecx, dword [edi + 4]
push eax
call fcn.0040c5f0
mov ecx, eax
call fcn.00446d90
add esp, 4
mov ecx, esi
call fcn.0040c000
jmp 0x43a1bc
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
mov dword [esp + 0x254], 0xffffffff
call fcn.0040ed50
mov esi, dword [ebp + 0x14]
cmp dword [esi + 4], 0
jne 0x439c1b
push 0x54cfe0
push 0x10
call fcn.004cba2a
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x250], 0x27
jmp 0x439bfd
xor eax, eax
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18