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

Disassembly:
push 0xffffffffffffffff
push 0x4ead6e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x502c60]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x60], 0x44fa2c
mov dword [esp + 0xc0], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
test eax, eax
je 0x46b8c8
push eax
lea ecx, [esp + 0x64]
call fcn.0049e970
mov eax, edi
shr eax, 0x1f
test al, 1
jne 0x46bac9
jmp 0x46b8e0
mov dword [esp + 0x1c], 0x44f360
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0x44fa2c
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x44], 0x44fa2c
mov dword [esp + 0x24], 0
mov eax, dword [ebx + 0x38]
mov edx, eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0x20], edi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x46b958
cmp dword [ecx + 0x14], edi
jae 0x46b94e
mov ecx, dword [ecx + 8]
jmp 0x46b952
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x46b944
cmp edx, eax
je 0x46b96b
cmp edi, dword [edx + 0x14]
jb 0x46b96b
mov dword [esp + 0x18], edx
lea esi, [esp + 0x18]
jmp 0x46b973
mov dword [esp + 0x14], eax
lea esi, [esp + 0x14]
mov esi, dword [esi]
cmp esi, eax
je 0x46bb13
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x14]
je 0x46bb13
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x9c], 0xf
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
call fcn.0045c010
mov dword [esp + 0x7c], 0x44fa2c
cmp dword [esp + 0x78], 0x10
lea eax, [esp + 0x64]
push 1
cmovae eax, dword [esp + 0x68]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x78], 0
push 0x44f3e8
mov byte [esp + 0xc8], 2
mov byte [eax], 0
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
call fcn.0045c120
mov dword [esp + 0x98], 0x44fa2c
lea eax, [esi + 0x1c]
mov byte [esp + 0xc0], 3
test eax, eax
je 0x46ba35
add eax, 4
jmp 0x46ba37
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00465a90
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x70]
call fcn.00465a90
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x70]
call fcn.00465a90
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x98], 0x44fa2c
jb 0x46ba93
push dword [esp + 0x9c]
call fcn.004d105d
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x7c], 0x44fa2c
jb 0x46bab4
push dword [esp + 0x80]
call fcn.004d105d
add esp, 4
mov eax, edi
mov byte [esp + 0xc0], 0
shr eax, 0x1f
test al, 1
je 0x46b8e0
test edi, edi
jns 0x46bb1c
lea ecx, [esp + 0x1c]
call fcn.0046a120
lea eax, [esp + 0x60]
mov byte [esp + 0xc0], 4
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
call fcn.0049e770
test ebp, ebp
je 0x46bb06
push ebp
lea ecx, [esp + 0x48]
call fcn.0049e970
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x28]
call fcn.0046cb40
lea ecx, [esp + 0x1c]
call fcn.0046a170
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x60], 0x44fa2c
jb 0x46bb37
push dword [esp + 0x64]
call fcn.004d105d
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004d17f4
add esp, 0xb0
ret 0xc