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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103aedd8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x104d9790]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x104d9790]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10414360
and dword [esp + 0xb8], 0
mov dword [esp + 0x18], 0x104143e4
mov dword [esp + 0xb8], 1
lea ecx, [esp + 0x20]
push esi
call fcn.10230725
mov byte [esp + 0xb8], 2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.102541ee
cmp dword [esp + 0x1c], 0
jne 0x10250663
push ebx
push dword [esp + 0x18]
jmp 0x1025066d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1025067e
push ebx
push eax
mov eax, dword [edi + 0x78]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
jmp 0x102507c7
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], cl
mov byte [esp + 0xb8], 7
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
mov ecx, edi
call fcn.102501ff
test al, al
jne 0x102506c8
mov eax, dword [edi + 0x78]
push ebx
push dword [esp + 0x18]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov esi, eax
jmp 0x102507b2
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x38]
cmovae ecx, dword [esp + 0x28]
add eax, ecx
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x28]
cmovae ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1019ce1b
mov byte [esp + 0xb8], 0xa
lea eax, [esp + 0x40]
push ecx
push eax
mov ecx, edi
call fcn.10251669
push ebx
push dword [esp + 0x18]
test al, al
mov eax, dword [edi + 0x78]
push esi
push eax
mov ecx, dword [eax]
jne 0x10250721
call dword [ecx + 0x18]
mov esi, eax
jmp 0x1025079d
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x1025079d
movzx eax, byte [ebx]
lea ecx, [esp + 0x80]
push eax
call fcn.10252c26
mov byte [esp + 0xb8], 0xf
lea ecx, [esp + 0x58]
push 0
call fcn.10252c26
mov byte [esp + 0xb8], 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x84]
mov ecx, edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.102513d4
test al, al
je 0x10250778
mov al, byte [esp + 0x7c]
mov byte [ebx], al
mov byte [esp + 0xb8], 0xf
lea ecx, [esp + 0x58]
call fcn.10252cb2
mov byte [esp + 0xb8], 0xa
lea ecx, [esp + 0x80]
call fcn.10252cb2
mov byte [esp + 0xb8], 7
lea ecx, [esp + 0x40]
push 0
push 1
call fcn.10081569
mov byte [esp + 0xb8], 2
lea ecx, [esp + 0x28]
push 0
push 1
call fcn.100813b1
mov byte [esp + 0xb8], 1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 0x10413614
test ecx, ecx
je 0x102507e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0x18], 0x104143e4
or dword [esp + 0xb8], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0x10414360
test ecx, ecx
je 0x10250813
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.103362c6
mov esp, ebp
pop ebp
ret 8