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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [eax + 0x50c]
mov ecx, dword [eax + 0x1c]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x34], edi
mov edi, dword [ebp + 4]
mov dword [esp + 0x30], esi
test edi, edi
mov dword [esp + 0x38], edi
je 0x46b7b0
mov edx, dword [ebx + 0xc4]
lea ecx, [edx - 0x80000000]
or ecx, dword [ebx + 0xc0]
jne 0x46b67e
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, esi
lea esi, [edi - 0x80000000]
or ecx, esi
jne 0x46b690
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xc8]
cmp edi, 0x7ffeffff
mov edx, esi
mov ecx, edi
jl 0x46b67e
jg 0x46b6b2
cmp esi, 0x7ffffffe
jbe 0x46b67e
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp edi, 0x7ffdffff
jg 0x46b67e
add edx, 1
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], edi
adc ecx, 0x80010000
mov dword [esp + 0x28], edx
mov edx, esi
sub edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, edi
sbb ecx, dword [esp + 0x2c]
mov dword [ebx + 0xc0], edx
add edx, 1
mov dword [ebx + 0xc4], ecx
adc ecx, 0x80010000
cmp dword [esp + 0x34], 0x7ffdffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
jle 0x46b71a
add dword [esp + 0x30], edx
adc dword [esp + 0x34], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0xb0]
test edx, edx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
je 0x46b7d7
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], ebp
mov ebp, esi
mov dword [esp + 0x40], eax
lea esi, [esi]
cmp ebp, dword [ecx + 0x20]
jne 0x46b79e
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
cmp edx, 0x7ffdffff
jle 0x46b771
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
cmp edx, 0x7ffdffff
jle 0x46b78d
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov eax, dword [ebx + 0x1c]
add eax, 0x80000000
or eax, dword [ebx + 0x18]
je 0x46b870
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x46b7c0
mov ecx, eax
jmp 0x46b750
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x38], edi
jmp 0x46b656
cmp dword [esp + 0x40], ecx
jne 0x46b7d1
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x46b7a5
mov eax, dword [esp + 0x3c]
mov esi, ebp
cmp dword [eax + 4], 0x1b
jne 0x46b81a
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x46b81a
mov eax, dword [ebx + 0x2b8]
mov edx, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x8c]
cmp eax, 2
jle 0x46b8e8
cmp eax, 3
je 0x46b950
xor eax, eax
cmp edx, 0x13
setg al
test eax, eax
je 0x46b829
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov edx, esi
call fcn.00469b40
mov eax, dword [ebx + 0x1c]
add eax, 0x80000000
or eax, dword [ebx + 0x18]
jne 0x46b67e
mov eax, dword [ebx + 0xb0]
cmp dword [eax], 1
je 0x46b8f5
mov eax, dword [esp + 0x80]
test byte [eax], 4
jne 0x46b67e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
jmp 0x46b67e
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
lea edx, [edi - 0x80000000]
or edx, esi
je 0x46b79e
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edi
cmp dword [eax], 1
jne 0x46b79e
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x46b79e
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c0]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0056cac0
add esi, eax
mov ecx, dword [esp + 0x4c]
adc edi, edx
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edi
jmp 0x46b79e
xor eax, eax
cmp edx, 6
setg al
jmp 0x46b816
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebx + 0x18], edx
test ecx, ecx
je 0x46b67e
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x1c0]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0056cac0
add eax, dword [esp + 0x30]
adc edx, dword [esp + 0x34]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
jmp 0x46b67e
xor eax, eax
cmp edx, 0x11
setg al
jmp 0x46b816