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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494268
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esi + 0x80], 0
call fcn.00464840
xor ebp, ebp
cmp eax, ebp
jne 0x464d4c
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x13], 0
xor bl, bl
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x464a63
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
xor ecx, ecx
add eax, edi
mov edi, dword [esp + 0x28]
adc ecx, edx
mov edx, dword [esp + 0x20]
sub edx, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
sbb edi, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edi
jne 0x464a25
cmp edx, 0x10000
jae 0x464a25
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub eax, edi
sbb ecx, edx
mov dword [esp + 0x4c], ecx
jne 0x464a25
cmp eax, 0x10000
jb 0x464a63
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x464cc4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x464a7b
test bl, bl
jne 0x464ce4
test ebp, ebp
jne 0x464ce4
mov al, byte [esp + 0x13]
test al, al
jne 0x464b6f
test bl, bl
jne 0x464b6f
cmp dword [esi + 0x180], 1
jne 0x464b6f
mov ecx, esi
call fcn.00464860
mov ebx, dword [esi + 0x138]
mov ecx, dword [esi + 0x7228]
mov edi, dword [esi + 0x140]
mov ebp, eax
mov eax, dword [esi + 0x158]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x144]
sub eax, ebx
cdq
add eax, edi
mov bl, 1
adc edx, ecx
mov dword [esp + 0x20], eax
test ebp, ebp
mov dword [esp + 0x24], edx
jne 0x4649bf
cmp dword [esi + 0x180], 0xb
jne 0x464b34
mov al, byte [esi + 0x7234]
test al, al
jne 0x464af8
jmp 0x4649bf
mov ecx, esi
call fcn.00464840
mov ebp, eax
mov al, byte [esi + 0x7233]
test al, al
je 0x464b25
mov eax, dword [esi + 0x184]
test eax, eax
jne 0x464b1c
mov byte [esi + 0x7233], 0
mov bl, 1
xor ebp, ebp
jmp 0x4649bf
test ebp, ebp
jne 0x4649bf
xor bl, bl
jmp 0x4649bf
mov al, byte [esi + 0xa9]
xor bl, bl
test al, al
je 0x464b6f
mov eax, dword [esp + 0x50]
test eax, eax
je 0x464b7b
cmp eax, 0x1000
jbe 0x464b6f
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x464b6a
mov ecx, esi
call fcn.00465060
mov edi, eax
test edi, edi
jne 0x464cc4
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x464c10
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
test al, al
mov dword [esp + 0x18], edx
je 0x464c81
mov ecx, dword [esi + 0xb0]
call fcn.004881d0
mov edi, eax
test edi, edi
jne 0x464cc4
mov byte [esi + 0xa8], al
lea eax, [esi + 0x98]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x88]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], ecx
mov cl, byte [esi + 0x82]
test cl, cl
je 0x464be4
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x18], ecx
mov edi, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov bl, byte [esi + 0x81]
test edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jne 0x464cc4
test eax, eax
je 0x464c1c
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x78]
call fcn.00464da0
mov al, byte [esp + 0x13]
test al, al
je 0x464c44
test bl, bl
jne 0x464c44
lea ecx, [esi + 0xb4]
call fcn.00488220
mov edi, eax
test edi, edi
jne 0x464cc4
mov byte [esi + 0xa8], 1
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4649bf
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.00464220
mov edi, eax
test edi, edi
jne 0x464cc4
mov al, byte [esi + 0x40]
test al, al
je 0x464ce4
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
mov dword [esp + 0x50], edi
jne 0x464d27
jmp 0x4649bf
cmp dword [esi + 0x180], 2
jne 0x464d04
mov ecx, esi
mov dword [esi + 0x1a4], 1
call fcn.004648f0
mov edi, eax
test edi, edi
jne 0x464cc4
lea edx, [esi + 0x19c]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
jmp 0x4649bf
mov al, byte [esi + 0xa8]
test al, al
je 0x464ce0
mov ecx, dword [esi + 0xb0]
call fcn.004881d0
mov byte [esi + 0xa8], 0
mov eax, edi
jmp 0x464d4c
mov al, byte [esi + 0xa8]
test al, al
je 0x464d00
mov ecx, dword [esi + 0xb0]
call fcn.004881d0
mov byte [esi + 0xa8], 0
mov eax, ebp
jmp 0x464d4c
mov al, byte [esi + 0xa8]
test al, al
je 0x464d20
mov ecx, dword [esi + 0xb0]
call fcn.004881d0
mov byte [esi + 0xa8], 0
mov eax, 0x80004005
jmp 0x464d4c
mov byte [esi + 0x41], 1
mov al, byte [esi + 0xa8]
test al, al
je 0x464d47
mov ecx, dword [esi + 0xb0]
call fcn.004881d0
mov byte [esi + 0xa8], 0
mov eax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4