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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x4c], 0x100000
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0x80b0a0d
mov byte [esp + 0x1c], 0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
cmp eax, 4
ja 0x1285eeb
nop
nop
mov eax, dword [esp + 0x28]
movzx eax, byte [esp + eax + 0x18]
push dword [esp + 0x28]
push eax
call fcn.01287c50
add esp, 8
mov ecx, dword [esp + 0x28]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, 5
jb 0x1285ec0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1296ec4]
test ecx, ecx
je 0x1285f52
mov ebx, esi
xor edx, edx
mov esi, dword [0x1296ec8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x1285f22
inc edx
cmp ecx, edx
jne 0x1285f10
mov esi, ebx
jmp 0x1285f52
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
mov esi, ebx
je 0x1285f52
lea eax, [esp + 0x4c]
lea edx, [esp + 0x24]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x1296ecc]
push ecx
call fcn.01288190
add esp, 0x24
test eax, eax
js 0x1286682
cmp dword [esi + 4], 0
je 0x1286610
mov dword [esp + 0x54], esi
cmp dword [esi + 4], 2
mov esi, 0x7fff
je 0x1285f78
mov esi, 0
mov edi, 0xfffeffff
je 0x1285f84
mov edi, 0x7fffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov edx, 0x10000
xor ebx, ebx
mov dword [esp + 0x50], edi
jmp 0x1285fec
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
adc ebx, dword [esp + 0x2c]
cmp edx, edi
mov eax, ebx
sbb eax, esi
jae 0x128658a
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push edx
call fcn.012859a0
cmp eax, 0xbfffffff
ja 0x128658a
mov dword [esp + 0x5c], ebx
test eax, eax
js 0x1285fd0
cmp dword [esp + 0x68], 0x1000
jne 0x1285fd0
test byte [esp + 0x64], 0x66
je 0x1285fd0
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x4c], eax
mov edx, dword [esp + 0x44]
mov ecx, 0
sbb ecx, edx
jae 0x12861b4
mov edi, esi
mov dword [esp + 0x18], 0x80b0a0d
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x1286096
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.01287c50
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x1286070
mov eax, dword [0x1296ec4]
test eax, eax
je 0x12860ea
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x1296ec8]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x12860c0
inc edx
cmp eax, edx
jne 0x12860b0
jmp 0x12860ea
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x12860ea
push 0x8000
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x1296ecc]
push eax
call fcn.01288190
add esp, 0x1c
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], 0x80b0a0d
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x1286146
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.01287c50
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x1286120
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1296ec4]
test ecx, ecx
je 0x128619e
xor edx, edx
mov esi, dword [0x1296ec8]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x1286170
inc edx
cmp ecx, edx
jne 0x1286160
jmp 0x128619e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x128619e
push 4
push 0x3000
lea eax, [esp + 0x54]
push eax
push 0
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push 6
push dword [0x1296ecc]
push ecx
call fcn.01288190
add esp, 0x24
test eax, eax
mov esi, edi
mov edi, dword [esp + 0x50]
js 0x128658a
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov ebx, esp
push ebx
push edx
push eax
push dword [esp + 0x30]
push dword [esp + 0x6c]
push dword [esp + 0x74]
call fcn.01285c50
test eax, eax
jns 0x12861dd
cmp eax, 0x8000000d
jne 0x1285fd0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp eax, dword [ebp + 0x10]
sbb ecx, 0
jb 0x1285fd0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
call fcn.012866d0
add esp, 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x1285fd0
mov dword [esp + 0x74], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0x70], eax
mov ecx, eax
jmp 0x1286279
push edx
push esi
push eax
call fcn.0124d7c0
add esp, 0xc
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov dword [edx + edi], eax
mov eax, dword [esp + 0x78]
mov dword [edx + edi + 4], eax
add ebx, 8
mov ecx, dword [esp + 0x80]
add ecx, 4
cmp ecx, dword [esp + 0x58]
je 0x1286547
mov eax, edx
mov edi, ebx
mov ebx, edx
mov eax, dword [ecx]
sub eax, dword [esp + 0x24]
mov edx, eax
sar edx, 0x1f
add eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
adc edx, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
mov eax, edi
not eax
and eax, ebx
mov esi, ebx
not esi
and esi, edi
sub esi, eax
mov eax, edi
cmp edi, dword [esp + 0x38]
mov dword [esp + 0x80], ecx
je 0x12862d0
mov edi, eax
sub edi, ebx
mov edx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, eax
cmp edi, esi
jae 0x128624f
jmp 0x1286482
mov dword [esp + 0x10], eax
sub eax, ebx
mov dword [esp + 0xc], eax
sar eax, 3
mov edi, eax
shr edi, 1
add edi, eax
mov eax, esi
sar eax, 3
inc eax
cmp edi, eax
ja 0x12862ef
mov edi, eax
lea eax, [edi*8]
push eax
call fcn.0124d720
add esp, 4
test ebx, ebx
mov dword [esp + 0x3c], eax
je 0x1286465
mov dword [esp + 0x38], edi
cmp eax, ebx
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x14], ebx
jbe 0x12863df
cmp dword [esp + 0x10], edx
jbe 0x12863df
test ecx, ecx
je 0x1286450
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x3c]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x1286378
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x1286360
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov edi, ebx
sub edi, dword [esp + 0x10]
cmp edi, 0xfffffff8
ja 0x1286450
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x1286390
jmp 0x1286450
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov ecx, dword [esp + 0xc]
mov edx, ecx
and edx, 0xfffffffc
add eax, edx
mov dword [esp + 0x34], eax
add edx, ebx
mov ebx, ecx
and ebx, 3
mov ecx, ebx
shr ecx, 1
mov eax, edx
mov edi, dword [esp + 0x34]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, dword [esp + 0xc]
xor ecx, 2
and ecx, ebx
mov ebx, dword [esp + 0x34]
je 0x1286450
mov edi, dword [esp + 0xc]
and edi, 2
movzx eax, byte [edx + edi]
mov byte [ebx + edi], al
cmp ecx, 1
je 0x1286450
movzx eax, byte [edx + edi + 1]
mov byte [ebx + edi + 1], al
cmp ecx, 2
je 0x1286450
movzx eax, byte [edx + edi + 2]
mov byte [ebx + edi + 2], al
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0124d730
add esp, 4
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov edx, ebx
lea ecx, [eax + edi*8]
mov dword [esp + 0x38], ecx
mov ebx, eax
add ebx, esi
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp edi, esi
jae 0x128624f
add edx, esi
sub edx, eax
mov eax, dword [esp + 0x3c]
lea esi, [eax + edi]
mov dword [esp + 0xc], edi
add eax, edi
add eax, 8
cmp edx, 8
jg 0x1286240
mov ecx, edx
shr ecx, 2
mov dword [esp + 0x10], esi
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, edx
and edi, 0xfffffffc
add eax, edi
add edi, dword [esp + 0x10]
mov esi, edx
and esi, 3
mov ecx, esi
shr ecx, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edi, eax
mov eax, dword [esp + 0x14]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, edx
xor ecx, 2
and ecx, esi
mov edi, dword [esp + 0xc]
je 0x128624f
mov eax, edx
mov esi, edx
and esi, 2
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + esi]
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x10]
mov byte [edx + esi], al
cmp ecx, 1
je 0x128624f
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + esi + 1]
mov edx, dword [esp + 0x10]
mov byte [edx + esi + 1], al
cmp ecx, 2
je 0x128624f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + edx + 2]
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx + 2], al
jmp 0x128624f
mov edi, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi], edx
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x70]
test eax, eax
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x50]
je 0x1285fd0
cmp eax, dword [esp + 0x58]
je 0x1285fd0
push eax
call fcn.0124d730
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x1285fd0
mov dword [esp + 0x18], 0x80b0a0d
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x12865d6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.01287c50
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x12865b0
mov eax, dword [0x1296ec4]
test eax, eax
mov edi, dword [ebp + 8]
je 0x1286682
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x1296ec8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x1286658
inc edx
cmp eax, edx
jne 0x1286600
jmp 0x1286682
push 0xfb1631b0
push dword [0x1296eb8]
call fcn.0128b010
add esp, 8
test eax, eax
je 0x128668e
mov ecx, dword [esi]
test ecx, ecx
je 0x1285f64
mov dword [esp + 0x18], 0
lea edx, [esp + 0x18]
push edx
push ecx
call eax
test eax, eax
je 0x128669a
cmp dword [esp + 0x18], 0
je 0x128669a
mov dword [esi + 4], 3
jmp 0x1285f64
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x1286682
push 0x8000
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x1296ecc]
push eax
call fcn.01288190
add esp, 0x1c
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x1285f64
lea eax, [esp + 0x28]
push eax
call fcn.0128b7f0
add esp, 4
test al, al
je 0x1285f64
mov eax, dword [esp + 0x28]
mov ecx, 2
cmp eax, 3
je 0x12866bf
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x1285f64