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

Disassembly:
sub esp, 0x78
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0xeb], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
jbe 0x104d0eb7
push ebp
xor ecx, ecx
mov byte [ebx + 0xea], 0
push esi
mov dword [esp + 0x20], ecx
lea esi, [ebx + 0x70]
push edi
mov byte [ebx + 0xec], 0
mov ecx, 0xffff
nop dword [eax + eax]
movzx eax, word [esi - 4]
cmp cx, ax
je 0x104d0e97
lea edi, [eax*8]
sub edi, eax
mov eax, dword [0x10af3278]
add eax, 0x61b50
cmp dword [ebx + 0x60], 0
lea edi, [eax + edi*8]
jne 0x104d0b4b
movzx eax, byte [edi + 0x30]
sub eax, 0
je 0x104d0b30
sub eax, 1
je 0x104d0bc4
sub eax, 1
jne 0x104d0b4b
lea edx, [esp + 0x58]
mov eax, dword [edi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x64], eax
mov eax, dword [edi + 0x18]
mov cl, 0x24
mov edx, dword [edi + 0x1c]
call fcn.10512520
and eax, 7
xor ebp, ebp
lea ecx, [eax - 1]
cmp ecx, eax
movzx eax, byte [edi + 0x32]
push eax
cmovbe ebp, ecx
call fcn.104fddc0
add esp, 4
test al, al
je 0x104d0c98
movzx eax, byte [edi + 0x32]
shl eax, 4
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x10a2e870]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x30]
sub eax, 0
je 0x104d0c0a
sub eax, 2
jne 0x104d0c0a
cmp dword [ebp*8 + 0x10a76620], 1
movzx eax, word [esi]
jbe 0x104d0bcd
mov dword [esp + 0x34], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x2c], 6
mov dword [esp + 0x38], eax
jmp 0x104d0be9
lea edx, [esp + 0x58]
jmp 0x104d0b34
mov dword [esp + 0x38], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x3c], eax
movzx eax, word [esi - 2]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x34], eax
mov eax, dword [0x10af3278]
mov ecx, dword [eax + 0x280]
lea eax, [ebx + 0x54]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [edi]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x28]
jmp 0x104d0e97
cmp dword [ebp*8 + 0x10a76620], 1
mov eax, dword [edi + 0x2c]
jbe 0x104d0c3f
cmp eax, 1
jbe 0x104d0c35
movzx eax, word [esi]
mov dword [esp + 0x34], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x2c], 6
mov dword [esp + 0x38], eax
jmp 0x104d0c6d
mov dword [esp + 0x2c], 5
jmp 0x104d0c6d
cmp eax, 1
jbe 0x104d0c5d
movzx eax, word [esi]
mov dword [esp + 0x38], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x3c], eax
jmp 0x104d0c65
mov dword [esp + 0x2c], 3
movzx eax, word [esi - 2]
mov dword [esp + 0x34], eax
mov eax, dword [0x10af3278]
lea ebp, [ebx + 0x54]
mov ecx, dword [eax + 0x280]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x104d0c89
mov eax, dword [edi]
push ebp
lea edi, [esp + 0x2c]
push edi
push eax
push ecx
call edx
jmp 0x104d0e97
cmp dword [esi - 8], 1
jne 0x104d0e83
movzx eax, byte [edi + 0x32]
push eax
call fcn.104fddc0
add esp, 4
test al, al
movzx eax, byte [edi + 0x32]
je 0x104d0cc2
shl eax, 4
mov eax, dword [eax + 0x10a2e86c]
jmp 0x104d0cdc
shl eax, 4
test dword [edi + 0x1c], 0x2000
jne 0x104d0cd6
mov eax, dword [eax + 0x10a2e868]
jmp 0x104d0cdc
mov eax, dword [eax + 0x10a2e874]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 0x30]
sub eax, 0
je 0x104d0da9
sub eax, 1
je 0x104d0d62
sub eax, 1
jne 0x104d0da9
cmp dword [ebp*8 + 0x10a76620], 1
movzx eax, word [esi]
jbe 0x104d0d1e
mov dword [esp + 0x18], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x14], 7
mov dword [esp + 0x1c], eax
jmp 0x104d0d3a
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x20], eax
movzx eax, word [esi - 2]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], eax
mov eax, dword [0x10af3278]
mov ecx, dword [eax + 0x280]
movzx eax, byte [ebx + 0xea]
mov edx, dword [ecx]
lea eax, [ebx + eax*4]
push eax
lea eax, [esp + 0x14]
push eax
push dword [edi]
push ecx
call dword [edx + 0x24]
jmp 0x104d0e39
movzx eax, word [esi - 2]
mov dword [esp + 0x18], eax
movzx eax, word [esi]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x20], eax
mov eax, dword [0x10af3278]
mov dword [esp + 0x14], 8
mov ecx, dword [eax + 0x280]
movzx eax, byte [ebx + 0xea]
mov edx, dword [ecx]
lea eax, [ebx + eax*4]
push eax
lea eax, [esp + 0x14]
push eax
push dword [edi]
push ecx
call dword [edx + 0x24]
jmp 0x104d0e39
cmp dword [ebp*8 + 0x10a76620], 1
mov eax, dword [edi + 0x2c]
jbe 0x104d0dde
cmp eax, 1
jbe 0x104d0dd4
movzx eax, word [esi]
mov dword [esp + 0x18], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x14], 7
mov dword [esp + 0x1c], eax
jmp 0x104d0e0c
mov dword [esp + 0x14], 6
jmp 0x104d0e0c
cmp eax, 1
jbe 0x104d0dfc
movzx eax, word [esi]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x14], 5
mov dword [esp + 0x20], eax
jmp 0x104d0e04
mov dword [esp + 0x14], 4
movzx eax, word [esi - 2]
mov dword [esp + 0x18], eax
mov eax, dword [0x10af3278]
mov ecx, dword [eax + 0x280]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
movzx eax, byte [ebx + 0xea]
lea ebp, [ebx + eax*4]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x104d0e2f
mov eax, dword [edi]
push ebp
lea ebp, [esp + 0x14]
push ebp
push eax
push ecx
call edx
xorps xmm0, xmm0
lea edx, [esp + 0x40]
movups xmmword [esp + 0x40], xmm0
push edx
movq qword [esp + 0x54], xmm0
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10af3278]
mov ecx, dword [eax + 0x280]
movzx eax, byte [ebx + 0xea]
add eax, 0xe
mov edx, dword [ecx]
lea eax, [ebx + eax*4]
push eax
lea eax, [esp + 0x44]
push eax
push dword [edi]
push ecx
call dword [edx + 0x1c]
inc byte [ebx + 0xea]
jmp 0x104d0e97
movzx ecx, byte [ebx + 0xec]
mov eax, dword [edi + 0x14]
mov dword [ebx + ecx*4 + 0x1c], eax
inc byte [ebx + 0xec]
inc dword [esp + 0x24]
add esi, 0x10
movzx eax, byte [ebx + 0xeb]
mov ecx, 0xffff
cmp dword [esp + 0x24], eax
jb 0x104d0af0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x78]
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x78
ret