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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov esi, ecx
push ebx
call fcn.00474f20
add esp, 4
test al, al
je 0x46c89d
mov edi, dword [ebp + 8]
mov word [esp + 0xd4], 4
mov byte [esp + 0x58], 0xd
mov byte [esp + 0x5a], 1
mov word [esp + 0xc0], 0x1f
xor eax, eax
lea ecx, [esp + 0x58]
cmp byte [edi + 0x28], 2
sete al
push eax
push ecx
push edi
call fcn.0043f370
add esp, 0xc
mov byte [edi + 0x24a], 1
mov word [esi], 0x608
jmp 0x46ccd6
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x120]
push dword [edi + 0xec]
push esi
call dword [eax + 0x10]
add esp, 8
lea ecx, [esp + 0xdc]
lea eax, [edi + 8]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push esi
push eax
push ecx
call fcn.00464470
add esp, 0x14
mov ecx, dword [ebx + 0x1c]
mov eax, dword [edi + 0xe0]
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x3c], edi
test ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 8], ecx
je 0x46c915
setns al
js 0x46cd2b
movzx edi, al
push edi
push ecx
call fcn.0040dc80
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
jne 0x46c91a
jmp 0x46cb61
mov eax, 1
push ecx
push esi
mov dword [esp + 0x20], eax
push eax
call fcn.004f5b80
add esp, 0xc
mov esi, dword [esp + 0x11c]
cmp esi, 0x41
jae 0x46cd32
mov eax, dword [ebp + 8]
cmp dword [eax + 0x228], 0
je 0x46c976
add eax, 0x224
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.00455e40
add esp, 8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x46c976
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
jmp 0x46c98e
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.00495fb0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 4], esi
mov ebx, dword [ecx + 0x28]
mov edi, dword [ecx + 0x24]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x46c9e5
mov ecx, ebx
mov ebx, edi
shl ecx, 4
nop word [eax + eax]
movzx esi, word [ebx + 0xc]
cmp esi, 0x16
je 0x46c9de
cmp esi, 0x26
je 0x46c9d8
add ebx, 0x10
add ecx, 0xfffffff0
jne 0x46c9c0
jmp 0x46c9de
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], ecx
mov ecx, 1
je 0x46ca2a
setns al
js 0x46cd2b
movzx eax, al
mov dword [esp], eax
push eax
push esi
call fcn.0040dc80
add esp, 8
mov ecx, eax
test eax, eax
je 0x46cd36
push esi
lea eax, [esp + 0xe0]
push eax
mov dword [esp + 8], ecx
push ecx
call fcn.004f5b80
add esp, 0xc
lea eax, [esp + 0x58]
push eax
call fcn.00479780
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], edx
cmp ebx, 0x93a80
mov edx, 0x93a80
mov dword [esp + 0x34], eax
cmovb edx, ebx
mov dword [esp + 0x30], edx
cmp byte [ecx + 0x24d], 0
je 0x46caaf
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 8]
test ebx, ebx
je 0x46cb2a
shl ebx, 4
nop word [eax + eax]
movzx eax, word [edi + 0xc]
cmp eax, 0x16
je 0x46cb2a
cmp eax, 0x26
je 0x46cab6
add edi, 0x10
add ebx, 0xfffffff0
jne 0x46ca90
jmp 0x46cb2a
xor ebx, ebx
jmp 0x46cb7e
mov eax, dword [edi]
dec eax
cmp eax, 0xfffffffe
jae 0x46cb2a
test ecx, ecx
mov word [edx], 0x1708
je 0x46cad6
push 1
push ecx
push dword [esp + 0x20]
call fcn.0040dc90
add esp, 0xc
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x46ccde
mov ecx, dword [esp]
xor eax, eax
nop dword [eax + eax]
mov byte [ecx + eax], 0
inc eax
cmp esi, eax
jne 0x46caf0
test esi, esi
js 0x46cd32
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
mov byte [ecx + eax], 0
inc eax
cmp esi, eax
jne 0x46cb10
push 1
push esi
push ecx
call fcn.0040dc90
add esp, 0xc
jmp 0x46ccde
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [eax + 0x20c]
test esi, esi
je 0x46cb7e
mov ecx, dword [eax + 0x210]
test ecx, ecx
je 0x46cb68
setns al
js 0x46cd2b
movzx edi, al
push edi
push ecx
mov ebx, ecx
call fcn.0040dc80
mov ecx, ebx
add esp, 8
test eax, eax
jne 0x46cb6d
push edi
push ecx
jmp 0x46cd3a
mov eax, 1
mov ebx, ecx
push ecx
push esi
mov dword [esp + 0x28], eax
push eax
call fcn.004f5b80
add esp, 0xc
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + 4]
mov eax, dword [edx]
mov ecx, dword [esi + 8]
dec ecx
and ecx, 0xfffffff8
cmp byte [edx + 0x100], 0
lea edi, [ecx + eax + 8]
je 0x46cbc6
movzx eax, byte [edx + 0x111]
movsd xmm0, qword [edx + 0x101]
movsd xmm1, qword [edx + 0x109]
mov byte [esp + 0x55], al
mov al, 1
movsd qword [esp + 0x4d], xmm1
movsd qword [esp + 0x45], xmm0
jmp 0x46cc13
cmp dword [edx + 0x104], 0
je 0x46cbf4
add edx, 0x108
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004d1960
add esp, 8
mov eax, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x5c]
mov ecx, 1
jmp 0x46cc04
mov eax, dword [edx + 0x108]
movss xmm0, dword [edx + 0x10c]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
movlps qword [esp + 0x50], xmm0
xor eax, eax
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
lea eax, [esp + 0x44]
push ecx
push eax
push edi
call dword [esi + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov byte [eax], 0x14
lea eax, [esp + 0xdc]
push eax
call fcn.00452a00
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x46cd12
lea esi, [edi + 8]
jmp 0x46ccf6
add esi, 0x10
dec ebx
je 0x46cd12
cmp dword [esi - 8], 0
jne 0x46ccf0
mov eax, dword [esi - 4]
test eax, eax
je 0x46ccf0
push 1
push eax
push dword [esi]
call fcn.0040dc90
add esp, 0xc
jmp 0x46ccf0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46ccc6
shl eax, 4
push 4
push eax
push edi
call fcn.0040dc90
add esp, 0xc
jmp 0x46ccc6
call fcn.004ccfb0
ud2
ud2
push dword [esp]
push esi
call fcn.005062c0
add esp, 8
ud2