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

Disassembly:
sub esp, 0x68
mov ecx, dword [esp + 0x6c]
push ebx
xor ebx, ebx
push esi
cmp ecx, ebx
mov dword [esp + 8], ebx
je 0x465680
mov eax, dword [ecx]
mov esi, dword [esp + 0x78]
and eax, 0x100
jne 0x465042
cmp esi, ebx
jne 0x465042
mov dword [esp + 0x78], 1
jmp 0x46504a
cmp esi, ebx
mov dword [esp + 0x78], ebx
jne 0x46505e
cmp eax, ebx
je 0x465053
mov esi, dword [ecx + 0xc]
jmp 0x465056
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x465680
push ebp
push edi
mov eax, dword [esi]
test ah, 0x10
jne 0x465626
and eax, 0xe00
cmp eax, 0x400
jne 0x46516f
cmp dword [esp + 0x10], ebx
je 0x465099
lea eax, [esi + 0x10]
push esi
push eax
call dword [esp + 0x90]
add esp, 8
mov dword [esp + 0x10], ebx
jmp 0x465626
lea ebx, [esi + 0x10]
mov ebp, dword [esp + 0x84]
mov ecx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x60], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esi + 0x30]
mov dword [esp + 0x64], eax
mov edx, dword [ecx]
mov dword [esp + 0x68], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x58]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x38]
push ecx
push edx
push ebp
mov dword [esp + 0x80], eax
call fcn.0045eaa0
mov edi, eax
add esp, 0xc
cmp edi, 1
jne 0x465538
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x465131
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
lea ebx, [esi + 0x20]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x465540
mov ecx, dword [ebx]
mov dword [esp + 0x38], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x465540
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x30]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x84]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x1c]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x38]
push ecx
push edx
push ebp
mov dword [esp + 0x34], eax
call fcn.0045e870
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x465236
lea ebx, [esi + 0x10]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x4651fa
mov eax, dword [ebx]
mov edi, 1
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
jmp 0x46529a
lea ebx, [esi + 0x20]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x465236
mov ecx, dword [ebx]
mov edi, 1
mov dword [esp + 0x38], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x46529a
cmp edi, 2
jne 0x465291
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0049f030
add esp, 8
test eax, eax
jne 0x465274
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
mov edi, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x46529a
lea ecx, [esp + 0x48]
push esi
push ecx
call fcn.0049f030
add esp, 8
test eax, eax
jne 0x4653ab
mov edi, 1
jmp 0x46529a
cmp edi, 1
jne 0x46547b
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0049f030
add esp, 8
test eax, eax
jne 0x4652b3
xor edi, edi
jmp 0x46547b
lea ebx, [esi + 0x10]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x465329
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
push eax
push ecx
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465309
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
jmp 0x465329
mov ecx, dword [ebx]
mov edi, 2
mov dword [esp + 0x48], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x54], ecx
lea ebx, [esi + 0x20]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x46547b
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push edx
push eax
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465386
mov edx, dword [ebx]
mov dword [esp + 0x38], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x44], edx
jmp 0x46547b
mov eax, dword [ebx]
mov edi, 2
mov dword [esp + 0x48], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [ebx + 8]
mov dword [esp + 0x50], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
jmp 0x46547b
lea ebx, [esi + 0x10]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x465413
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.00418a80
fstp qword [esp + 0x1c]
lea edx, [esp + 0x50]
push ebx
push edx
call fcn.00418a80
fcomp qword [esp + 0x24]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4653f1
xor eax, eax
jmp 0x4653f6
mov eax, 1
mov ecx, dword [ebx]
shl eax, 4
lea eax, [esp + eax + 0x38]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
lea ebx, [esi + 0x20]
push ebp
push ebx
call fcn.00418ba0
fcomp qword [0x584ab0]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x46547b
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00418a80
fstp qword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ebx
push ecx
call fcn.00418a80
fcomp qword [esp + 0x24]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x465459
xor eax, eax
jmp 0x46545e
mov eax, 1
shl eax, 4
lea edx, [esp + eax + 0x38]
mov eax, dword [ebx]
mov dword [edx], eax
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x465538
lea ebx, [esi + 0x10]
push esi
push ebx
call dword [esp + 0x90]
add esp, 8
cmp edi, 1
mov dword [esp + 0x10], 0
jne 0x4654c7
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push edx
push eax
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465540
jmp 0x465626
cmp edi, 2
jne 0x465538
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push edx
push eax
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465512
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x54]
mov edi, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x465540
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
push eax
push ecx
lea edx, [esp + 0x50]
push ebx
push edx
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465540
mov edi, 1
jmp 0x465540
test edi, edi
jle 0x465626
lea ebp, [esp + 0x38]
push esi
push ebp
call fcn.0049f030
add esp, 8
test eax, eax
je 0x46561c
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
lea ebx, [esi + 0x20]
push eax
push ecx
push ebx
push ebp
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x4655b3
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x4655a4
mov edx, dword [esp + 0x84]
mov eax, dword [esi + 0xc]
push edx
push eax
push esi
call fcn.00465690
add esp, 0xc
cmp eax, 1
jne 0x46559f
mov dword [esp + 0x10], eax
jmp 0x46561c
cmp eax, 2
jne 0x46561c
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x46561c
push esi
push ebx
jmp 0x465612
mov ecx, dword [0x584ab4]
mov edx, dword [0x584ab0]
lea ebx, [esi + 0x10]
push ecx
push edx
push ebx
push ebp
call fcn.00418a10
add esp, 0x10
test eax, eax
je 0x465605
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x4655f6
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 8]
push eax
push esi
push ecx
call fcn.00465690
add esp, 0xc
test eax, eax
je 0x46561c
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x46561c
push esi
push ebx
jmp 0x465612
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x46561c
push esi
push ebp
call dword [esp + 0x90]
add esp, 8
add ebp, 0x10
dec edi
jne 0x465544
mov eax, dword [esp + 0x7c]
mov esi, dword [esi + 0xc]
cmp esi, dword [eax + 0xc]
jne 0x465641
mov ecx, dword [esp + 0x80]
xor ebx, ebx
cmp ecx, ebx
je 0x46565d
jmp 0x46564e
mov ecx, dword [esp + 0x80]
xor ebx, ebx
cmp ecx, ebx
je 0x465655
mov dword [esp + 0x80], ebx
cmp esi, ebx
jne 0x465060
mov ecx, dword [esp + 0x10]
pop edi
cmp ecx, ebx
pop ebp
je 0x465680
mov ecx, dword [eax]
test ch, 1
je 0x465680
mov eax, dword [eax + 0x10]
push eax
add eax, 0x20
push eax
call dword [esp + 0x88]
add esp, 8
pop esi
pop ebx
add esp, 0x68
ret