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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10c67840]
xor eax, esp
mov dword [esp + 0x118], eax
test dword [esp + 0x12c], 0x1000
mov eax, dword [esp + 0x128]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x13c]
push edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
je 0x1027d2a8
mov dword [esp + 0x40], 0xa0
mov dword [esp + 0x3c], 0x22
jmp 0x1027d2b8
mov dword [esp + 0x40], 0x300
mov dword [esp + 0x3c], 0x11
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
or ebx, 0xff00
cmp eax, ebp
lea edx, [esp + 0x60]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebp
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
jl 0x1027d2fa
lea eax, [esi + eax*2]
mov dword [esp + 0x30], eax
jmp 0x1027d2fe
mov dword [esp + 0x30], ebp
mov edi, edi
mov edi, dword [esp + 0x30]
test edi, edi
mov edx, esi
mov dword [esp + 0x28], edx
jne 0x1027d362
mov edi, dword [esp + 0x40]
movzx eax, word [esi]
cmp ax, di
mov dword [esp + 0x20], eax
jae 0x1027d32a
xor ecx, ecx
test ax, ax
setne cl
mov eax, ecx
jmp 0x1027d354
movzx eax, ax
mov ecx, eax
shr ecx, 5
movzx ecx, word [ecx*2 + 0x10336ed0]
and eax, 0x1f
lea eax, [eax + ecx*4]
mov eax, dword [eax*4 + 0x10338010]
mov dword [esp + 0x14], eax
and eax, ebx
neg eax
sbb eax, eax
add eax, 1
test eax, eax
je 0x1027d3b1
mov byte [esp + 0x13], 0
add esi, 2
jmp 0x1027d312
cmp esi, edi
je 0x1027d42a
lea ebx, [ebx]
movzx eax, word [esi]
cmp ax, word [esp + 0x40]
mov dword [esp + 0x20], eax
jb 0x1027d3a3
movzx eax, ax
mov ecx, eax
shr ecx, 5
movzx ecx, word [ecx*2 + 0x10336ed0]
and eax, 0x1f
lea eax, [eax + ecx*4]
mov eax, dword [eax*4 + 0x10338010]
test ebx, eax
mov dword [esp + 0x14], eax
jne 0x1027d3b5
add esi, 2
cmp esi, edi
mov byte [esp + 0x13], 0
jne 0x1027d370
jmp 0x1027d3b5
mov edi, dword [esp + 0x30]
cmp esi, edx
je 0x1027d42a
mov eax, esi
sub eax, edx
sar eax, 1
lea edi, [eax + ebp]
cmp edi, dword [esp + 0x130]
jg 0x1027d3e4
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp*2]
push eax
call fcn.1030ad1f
mov edx, dword [esp + 0x34]
add esp, 0xc
movzx ecx, word [esi - 2]
lea eax, [esi - 2]
and ecx, 0xfffffc00
cmp ecx, 0xdc00
mov ebp, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
jne 0x1027d420
cmp edx, eax
jae 0x1027d420
movzx edx, word [eax - 2]
and edx, 0xfffffc00
cmp edx, 0xd800
jne 0x1027d420
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov edx, esi
xor eax, eax
test edi, edi
jne 0x1027d437
cmp word [esp + 0x20], di
jmp 0x1027d439
cmp esi, edi
sete al
test eax, eax
jne 0x1027d726
mov eax, dword [esp + 0x14]
add esi, 2
cmp eax, 0xfff00000
mov dword [esp + 0x1c], esi
jb 0x1027d4df
xor cl, cl
test ebp, ebp
mov byte [esp + 0x34], cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x48], ebp
jle 0x1027d4cb
cmp ebp, dword [esp + 0x130]
jg 0x1027d47f
mov eax, dword [esp + 0x38]
lea eax, [eax + ebp*2 - 2]
jmp 0x1027d481
xor eax, eax
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x144]
shr eax, 0xc
and eax, 0xffffff01
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov cx, word [edx - 2]
call fcn.1027cc20
mov esi, dword [esp + 0x34]
add esp, 0x18
test al, al
je 0x1027d4c7
mov dword [esp + 0x18], esi
jmp 0x1027d300
mov cl, byte [esp + 0x34]
mov edx, dword [esp + 0x28]
xor edi, edi
mov ebx, 1
mov dword [esp + 0x18], edx
jmp 0x1027d59c
cmp eax, 0xfc000000
jb 0x1027d542
cmp esi, edi
je 0x1027d53a
movzx edi, word [esi]
movzx eax, di
mov ecx, eax
and ecx, 0xfffffc00
cmp ecx, 0xdc00
jne 0x1027d53a
mov ecx, dword [esp + 0x14]
mov edx, eax
shr edx, 5
shr ecx, 0xb
and edx, 0x1f
and ecx, 0x7fe0
add edx, ecx
movzx edx, word [edx*2 + 0x10337ed0]
add esi, 2
and eax, 0x1f
lea eax, [eax + edx*4]
mov ecx, dword [eax*4 + 0x10338010]
mov ebx, 2
mov dword [esp + 0x14], ecx
jmp 0x1027d549
mov dword [esp + 0x14], 0
mov ebx, 1
xor edi, edi
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x1027d57f
test di, di
movzx eax, word [esp + 0x20]
je 0x1027d56c
sub eax, 0xd7f7
movzx edx, di
shl eax, 0xa
add eax, edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x1027d57f
mov byte [esp + 0x34], 0
jmp 0x1027d598
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
test eax, ecx
jne 0x1027d61f
mov eax, ecx
shr eax, 8
mov byte [esp + 0x34], al
mov cl, byte [esp + 0x34]
lea eax, [ebx + ebp]
cmp eax, dword [esp + 0x130]
jg 0x1027d610
test cl, cl
je 0x1027d5e7
cmp cl, byte [esp + 0x13]
jae 0x1027d5e7
mov ecx, dword [esp + 0x38]
lea edx, [ecx + ebp*2]
mov ebp, eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push edi
push eax
lea eax, [ecx + ebp*2]
push eax
push edx
mov edx, dword [esp + 0x5c]
lea ebx, [ecx + edx*2]
call fcn.1027c210
mov ebx, dword [esp + 0x40]
add esp, 0x14
mov byte [esp + 0x13], al
jmp 0x1027d300
mov eax, dword [esp + 0x38]
mov dx, word [esp + 0x20]
mov word [eax + ebp*2], dx
add ebp, 1
test di, di
je 0x1027d603
mov word [eax + ebp*2], di
add ebp, 1
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x13], cl
jmp 0x1027d300
mov ebx, dword [esp + 0x2c]
mov ebp, eax
mov byte [esp + 0x13], cl
jmp 0x1027d300
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x14]
and ebx, 3
add ebx, ebx
add ebx, ebx
test ecx, eax
je 0x1027d66b
test eax, ebx
je 0x1027d675
lea edx, [esp + 0x27]
push edx
push ebx
lea edi, [esp + 0x5f]
lea ecx, [esp + 0x64]
call fcn.1027ba40
add esp, 8
cmp byte [esp + 0x27], 0
jne 0x1027d675
mov edi, dword [esp + 0x2c]
and edi, 0x3f
push edi
mov ecx, eax
call fcn.1027b510
add esp, 4
test edi, eax
jne 0x1027d675
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jmp 0x1027d681
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
sar eax, 1
sub ebp, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push ecx
push ebx
push edx
push eax
mov eax, esi
call fcn.1027c4a0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push ecx
push edx
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x154]
push eax
lea ecx, [esp + 0x2f]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x88]
push ecx
mov eax, esi
lea edi, [esp + 0x78]
lea ebx, [esp + 0x70]
call fcn.1027d170
add esp, 0x2c
test eax, eax
je 0x1027d724
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp]
cmp edx, dword [esp + 0x130]
jg 0x1027d715
test ecx, ecx
jle 0x1027d717
lea ecx, [ecx]
mov dx, word [eax]
mov edi, dword [esp + 0x38]
mov word [edi + ebp*2], dx
sub ecx, 1
add ebp, 1
add eax, 2
test ecx, ecx
jg 0x1027d6f0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
jmp 0x1027d300
mov ebp, edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
jmp 0x1027d300
xor ebp, ebp
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x1027d73b
push eax
call fcn.10281890
add esp, 4
mov ecx, dword [esp + 0x128]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.102f2d37
add esp, 0x11c
ret