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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 0x48]
push esi
mov dword [esp + 0x1c], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
test ebp, ebp
sete al
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
call fcn.10133730
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
add esp, 4
mov cx, word [eax + 2]
and ecx, 0x800
cmp ecx, 0x800
jne 0x10125e05
mov ebx, dword [eax + 0x10]
jmp 0x10125e07
xor ebx, ebx
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x10125ff1
push ebx
call fcn.101260b0
add esp, 4
test eax, eax
je 0x10125ff1
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov eax, dword [esi]
mov edi, dword [edx + 0x14]
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
mov ebx, dword [edx]
mov edx, dword [edi + 0x44]
push edx
push eax
movsx ecx, word [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.1011d440
mov ebp, eax
push ebp
push esi
mov dword [esp + 0x3c], ebp
call fcn.1012c3f0
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
push eax
push 0
push ecx
push ebp
push esi
call fcn.10128e60
mov eax, dword [esp + 0x38]
add esp, 0x24
test eax, eax
jge 0x10125ea3
push esi
call fcn.10125b10
mov edx, dword [esp + 0x1c]
push 0x27
push edi
push ebp
push edx
push esi
mov ebx, eax
call fcn.1012ea80
mov eax, dword [esp + 0x58]
push ebx
push eax
mov esi, 1
call fcn.10123770
add esp, 0x20
jmp 0x10126097
push ebx
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx + 8]
push ecx
push esi
call fcn.101252a0
push ebx
mov dword [esp + 0x34], eax
call fcn.10125d50
mov edx, dword [esp + 0x24]
mov ebx, dword [edi + 0xc]
add esp, 0x10
lea ecx, [edx + edx*2]
shl ecx, 3
mov dword [esp + 0x34], ecx
cmp byte [ebx + ecx + 0x16], al
je 0x10125ee2
cmp al, 0x62
mov dword [esp + 0x1c], 0
jne 0x10125eea
mov dword [esp + 0x1c], 1
mov edi, dword [edi + 0x10]
test edi, edi
je 0x10125fed
jmp 0x10125efb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10126093
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10125fed
mov eax, dword [edi + 4]
cmp dword [eax], edx
jne 0x10125fd6
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x20]
push 0
mov edx, dword [ecx]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x4d]
push ecx
push eax
call fcn.1011d310
mov ecx, dword [esp + 0x34]
add esp, 0x10
cmp eax, ecx
jne 0x10125fd6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10125f5e
cmp dword [edi + 0x24], 1
jne 0x10125fd6
mov al, byte [edi + 0x2c]
test al, al
je 0x10125fd6
push edi
push esi
call fcn.1012c7f0
push esi
mov ebx, eax
call fcn.10125b10
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [edi + 0x28]
push 0xfffffffffffffff0
push ebx
mov ebx, dword [esp + 0x54]
push edx
push eax
push ecx
push 0x27
push ebx
call fcn.10122d70
push ebp
push ebx
mov dword [esp + 0x40], 3
call fcn.10123770
mov eax, dword [esp + 0x78]
add esp, 0x30
test eax, eax
je 0x10125fd6
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx + 0xc]
mov dl, byte [eax + ecx + 0x14]
test dl, dl
jne 0x10125fd6
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x48]
inc eax
mov dword [esi + 0x4c], eax
mov dword [edx], eax
push eax
push 0
mov eax, ebx
push 0xa
push eax
call fcn.10123750
add esp, 0x10
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10125ef7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10126093
mov ebp, dword [esp + 0x48]
mov ecx, dword [esi + 0x1b0]
mov edx, dword [esi + 0x1b4]
xor edi, edi
mov dword [esp + 0x34], ecx
test ebp, ebp
mov dword [esp + 0x38], edx
mov ebx, 2
je 0x10126034
mov ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x40]
inc ecx
mov edi, ecx
mov dword [esi + 0x4c], ecx
push edi
push 0
push 0xa
push eax
mov dword [ebp], edi
call fcn.10123750
mov eax, dword [esp + 0x54]
add esp, 0x10
jmp 0x10126061
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0x3ff00000
mov ecx, dword [eax + 8]
cmp word [ecx + 0x1c], 0
jge 0x10126061
test byte [eax + 3], 8
jne 0x10126061
mov ebx, 1
xor edx, edx
cmp ebx, 1
sete dl
push edx
push edi
push eax
push esi
call fcn.10125690
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], ecx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
pop edi
mov dword [edx + 0x18], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret