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

Disassembly:
mov eax, 0x148
call fcn.005c8080
mov edx, dword [esp + 0x14c]
test edx, edx
je 0x4970b4
mov ecx, dword [edx + 0x2d0]
test ecx, ecx
jne 0x496cef
cmp dword [edx + 0x2d4], ecx
je 0x4970b4
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x2d8]
mov dword [esp + 0x14], 0
movq qword [esp + 0x20], xmm0
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], 0
mov dword [esp + 8], 1
mov dword [esp + 0x80], eax
test ecx, ecx
jne 0x496d48
mov ecx, dword [edx + 0x2d4]
jmp 0x496d4b
mov ecx, dword [ecx + 0xc]
mov eax, ecx
mov byte [esp + 5], cl
sar eax, 8
mov byte [esp + 4], al
lea eax, [esp + 4]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x2cc]
mov dword [esp + 0x88], 2
mov dword [esp + 0x94], 0
test eax, eax
je 0x496dbe
mov byte [esp + 3], al
lea eax, [esp + 3]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0x14], eax
mov ecx, dword [edx + 0x2bc]
lea eax, [edx + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x18], eax
lea eax, [edx + 0x24c]
mov dword [esp + 0xc0], eax
mov eax, dword [edx + 0x248]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0x270]
mov dword [esp + 0xd0], eax
mov eax, dword [edx + 0x26c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x2b8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x2b0]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x2a4]
push esi
mov esi, dword [edx + 0x2ec]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x2b4]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x29c]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
push edi
test esi, esi
je 0x496ec4
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496e95
sub ecx, edi
mov dword [esp + 0xe8], esi
lea eax, [esp + 0xe0]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xec], 0
mov dword [esp + 0x4c], eax
jmp 0x496ecc
mov dword [esp + 0x4c], 0
mov eax, dword [edx + 0x2f0]
test eax, eax
je 0x496f00
mov dword [esp + 0xf8], eax
mov eax, dword [edx + 0x2f4]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x2f8]
test eax, eax
je 0x496f16
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov esi, dword [edx + 0x290]
mov eax, dword [edx + 0x2fc]
mov dword [esp + 0x58], eax
test esi, esi
je 0x496f5f
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496f30
sub ecx, edi
mov dword [esp + 0x108], esi
lea eax, [esp + 0x100]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x60], eax
jmp 0x496f67
mov dword [esp + 0x60], 0
mov esi, dword [edx + 0x294]
test esi, esi
je 0x496fa5
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496f76
sub ecx, edi
mov dword [esp + 0x118], esi
lea eax, [esp + 0x110]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x64], eax
jmp 0x496fad
mov dword [esp + 0x64], 0
mov esi, dword [edx + 0x310]
test esi, esi
je 0x496fef
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496fc0
sub ecx, edi
mov dword [esp + 0x128], esi
lea eax, [esp + 0x120]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x12c], 0
mov dword [esp + 0x68], eax
jmp 0x496ff7
mov dword [esp + 0x68], 0
mov eax, dword [edx + 0x31c]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x300]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x304]
mov dword [esp + 0x74], 0
pop edi
pop esi
test eax, eax
jne 0x497025
mov dword [esp + 0x74], eax
jmp 0x49704f
mov dword [esp + 0x130], eax
mov eax, dword [edx + 0x308]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x134], 0
mov dword [esp + 0x74], eax
movzx eax, byte [edx + 0x30c]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x314]
test eax, eax
jne 0x49706a
mov dword [esp + 0x7c], eax
jmp 0x497094
mov dword [esp + 0x140], eax
mov eax, dword [edx + 0x318]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x144], 0
mov dword [esp + 0x7c], eax
push 0x5fd7cc
push dword [esp + 0x154]
lea eax, [esp + 0x10]
push eax
call fcn.004d8c40
add esp, 0xc
add esp, 0x148
ret
xor eax, eax
add esp, 0x148
ret