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

Disassembly:
mov eax, 0x140
call fcn.10135be0
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x10125324
mov edx, dword [ecx + 0x1bc]
test edx, edx
jne 0x10124f7f
cmp dword [ecx + 0x1c0], edx
je 0x10125324
mov eax, dword [ecx]
xorps xmm0, xmm0
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 + 8], 1
mov dword [esp + 0xc], eax
test edx, edx
jne 0x10124fc0
mov edx, dword [ecx + 0x1c0]
jmp 0x10124fc3
mov edx, dword [edx + 0xc]
mov eax, edx
mov byte [esp + 5], dl
sar eax, 8
mov byte [esp + 4], al
lea eax, [esp + 4]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x1b8]
mov dword [esp + 0x80], 2
mov dword [esp + 0x8c], 0
test eax, eax
je 0x10125036
mov byte [esp + 3], al
lea eax, [esp + 3]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x48]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x14c]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x148]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x170]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx + 0x16c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x1b4]
cdq
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1b0]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x1a8]
push esi
mov esi, dword [ecx + 0x1d0]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x19c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
push edi
test esi, esi
je 0x10125132
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10125103
sub edx, edi
mov dword [esp + 0xe0], esi
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x1012513a
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x1012516e
mov dword [esp + 0xf0], eax
mov eax, dword [ecx + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x1dc]
test eax, eax
je 0x10125184
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov esi, dword [ecx + 0x190]
mov eax, dword [ecx + 0x1e0]
mov dword [esp + 0x58], eax
test esi, esi
je 0x101251cf
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x101251a0
sub edx, edi
mov dword [esp + 0x100], esi
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x101251d7
mov dword [esp + 0x60], 0
mov esi, dword [ecx + 0x194]
test esi, esi
je 0x10125215
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x101251e6
sub edx, edi
mov dword [esp + 0x110], esi
lea eax, [esp + 0x108]
mov dword [esp + 0x108], edx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x1012521d
mov dword [esp + 0x64], 0
mov esi, dword [ecx + 0x1f4]
test esi, esi
je 0x1012525f
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10125230
sub edx, edi
mov dword [esp + 0x120], esi
lea eax, [esp + 0x118]
mov dword [esp + 0x118], edx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x10125267
mov dword [esp + 0x68], 0
mov eax, dword [ecx + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1e8]
mov dword [esp + 0x74], 0
pop edi
pop esi
test eax, eax
jne 0x10125295
mov dword [esp + 0x74], eax
jmp 0x101252bf
mov dword [esp + 0x128], eax
mov eax, dword [ecx + 0x1ec]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x74], eax
movzx eax, byte [ecx + 0x1f0]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1f8]
test eax, eax
jne 0x101252da
mov dword [esp + 0x7c], eax
jmp 0x10125304
mov dword [esp + 0x138], eax
mov eax, dword [ecx + 0x1fc]
mov dword [esp + 0x130], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x7c], eax
push 0x1022ee28
push dword [esp + 0x14c]
lea eax, [esp + 0x10]
push eax
call fcn.10046e50
add esp, 0xc
add esp, 0x140
ret
xor eax, eax
add esp, 0x140
ret