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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov edi, edx
mov ebx, ecx
call fcn.01245990
mov dword [esp + 0x28], eax
push eax
call fcn.012452b0
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0124d8d0
add esp, 0xc
mov dword [esp + 0x20], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x38]
call fcn.01285c50
test eax, eax
js 0x1262ebf
mov dword [esp + 8], 0x7279747e
mov byte [esp + 0xc], 8
mov dword [esp + 0xd], 0
mov byte [esp + 0x11], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x1262e9b
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.012633e0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x1262e70
cmp byte [esp + 0x57], 0
js 0x1262ec6
lea eax, [esp + 0x40]
lea ecx, [esp + 8]
push eax
push ecx
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
mov byte [esp + 0x24], 1
jmp 0x1262f19
xor ebx, ebx
jmp 0x1263334
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, edi
or eax, ebx
je 0x1262ea2
mov esi, dword [esp + 0x48]
inc esi
push esi
call fcn.0124d720
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.01285c50
test eax, eax
setns byte [esp + 0x24]
js 0x1262f10
lea eax, [esp + 8]
push esi
push eax
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
push esi
call fcn.0124d730
add esp, 4
mov dword [esp + 8], 0x52667c4e
mov word [esp + 0xc], 0xdf63
mov dword [esp + 0xe], 0
mov word [esp + 0x12], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x1262f7b
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.01263450
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x1262f50
cmp byte [esp + 0x137], 0
js 0x1262fa5
lea eax, [esp + 0x120]
lea ecx, [esp + 8]
push eax
push ecx
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
mov byte [esp + 0x1f], 1
jmp 0x1263001
mov edi, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
mov eax, edi
or eax, ebx
je 0x1262f85
mov esi, dword [esp + 0x128]
inc esi
push esi
call fcn.0124d720
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.01285c50
test eax, eax
setns byte [esp + 0x1f]
js 0x1262ff8
lea eax, [esp + 8]
push esi
push eax
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
push esi
call fcn.0124d730
add esp, 4
mov dword [esp + 8], 0x3b393a30
mov dword [esp + 0xc], 0xa27322f
mov byte [esp + 0x10], 0x80
mov dword [esp + 0x11], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x126305b
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.012634e0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x1263030
cmp byte [esp + 0x6f], 0
js 0x126307f
lea eax, [esp + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
mov byte [esp + 0x1e], 1
jmp 0x12630d2
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov eax, edi
or eax, ebx
je 0x1263062
mov esi, dword [esp + 0x60]
inc esi
push esi
call fcn.0124d720
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.01285c50
test eax, eax
setns byte [esp + 0x1e]
js 0x12630c9
lea eax, [esp + 8]
push esi
push eax
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
push esi
call fcn.0124d730
add esp, 4
mov dword [esp + 8], 0x3b0e3000
mov byte [esp + 0xc], 0x9c
mov dword [esp + 0xd], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x126312b
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.01263550
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x1263100
cmp byte [esp + 0x87], 0
js 0x1263152
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
mov byte [esp + 0x1d], 1
jmp 0x12631a5
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, edi
or eax, ebx
je 0x1263135
mov esi, dword [esp + 0x78]
inc esi
push esi
call fcn.0124d720
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.01285c50
test eax, eax
setns byte [esp + 0x1d]
js 0x126319c
lea eax, [esp + 8]
push esi
push eax
push dword [esp + 0x20]
call fcn.01246d20
add esp, 0xc
push esi
call fcn.0124d730
add esp, 4
fild qword [esp + 0x138]
fstp qword [esp + 0x30]
mov dword [esp + 8], 0xfaf2e9c5
mov dword [esp + 0xc], 0xc8f5c0f6
mov dword [esp + 0x10], 0x5bf9cdcd
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x126320b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.012635d0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x12631e0
sub esp, 0x10
fld qword [esp + 0x40]
fstp qword [esp + 8]
lea edi, [esp + 0x18]
mov dword [esp + 4], edi
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.01246d70
add esp, 0x10
mov ebx, eax
movzx esi, byte [esp + 0x90]
mov dword [esp + 8], 0xecc7eaff
mov dword [esp + 0xc], 0xcfedfeff
mov dword [esp + 0x10], 0x5fc3
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x126328b
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.01263650
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x1263260
push esi
push edi
push dword [esp + 0x20]
call fcn.01246e00
add esp, 0xc
mov esi, eax
movzx eax, byte [esp + 0x24]
and al, byte [esp + 0x1f]
movzx ecx, byte [esp + 0x1e]
and cl, byte [esp + 0x1d]
and cl, al
test ebx, ebx
setne bl
xor bl, cl
movzx edi, byte [esp + 0x90]
mov dword [esp + 8], 0x10a0b04
mov dword [esp + 0xc], 0x90c0231
mov dword [esp + 0x10], 0x971f
and bl, cl
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x126331b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.012636c0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x12632f0
push edi
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call fcn.01246e00
add esp, 0xc
or eax, esi
sete al
and bl, al
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
or ecx, edx
mov edi, dword [esp + 0x20]
je 0x1263372
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.01285c50
test eax, eax
js 0x1263372
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.01262dd0
add esp, 4
or bl, al
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
or ecx, edx
je 0x12633ad
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.01285c50
test eax, eax
js 0x12633ad
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.01262dd0
add esp, 4
or bl, al
test bl, bl
je 0x12633c2
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.01246710
add esp, 8
jmp 0x12633ce
push dword [esp + 0x28]
call fcn.01245860
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret