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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
xor eax, eax
mov dword [esp + 0x38], ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x100
mov dword [esp + 0x3c], edx
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
cmp edi, ecx
je 0x100284b7
cmp edi, 0x200
je 0x100284b7
cmp edi, 0x300
je 0x100284b2
cmp edi, 0x3c00
je 0x100284ae
push 0xffffffffffffffe2
pop eax
jmp 0x10028a0e
push 6
jmp 0x100284b9
mov edi, ecx
mov dword [ebp + 8], edi
push 5
pop esi
mov dword [esp + 0x18], esi
test edx, edx
je 0x10028a01
xor eax, eax
cmp word [edx], ax
je 0x100289fd
mov ebx, eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x44]
call fcn.10028c68
cmp ebx, esi
jge 0x100284fe
mov eax, dword [esp + 0x44]
mov dword [esp + ebx*8 + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + ebx*8 + 0x50], eax
inc ebx
cmp word [esp + 0x28], 0x3a
je 0x100284d3
xor edx, edx
mov eax, ebx
cmp ebx, esi
jge 0x1002851f
lea ecx, [esp + 0x50]
mov dword [ecx + eax*8], edx
mov dword [esp + eax*8 + 0x4c], edx
inc eax
cmp eax, esi
jl 0x10028513
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10028531
cmp word [eax], 0x23
je 0x100289e5
mov ecx, dword [esp + 0x50]
mov esi, edx
or dword [esp + 0x1c], 0xffffffff
sub ecx, eax
and dword [esp + 0x30], 0
sar ecx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
cmp edi, 0x3c00
je 0x1002876c
cmp word [eax], 0x64
jne 0x100285a4
push 7
pop edx
cmp ecx, 1
je 0x1002858a
cmp ecx, edx
jb 0x100285a4
cmp dword [eax + 2], 0x660065
jne 0x100285a4
cmp dword [eax + 6], 0x750061
jne 0x100285a4
cmp dword [eax + 0xa], 0x74006c
jne 0x100285a4
mov dword [esp + 0x10], 0x200
cmp edx, ecx
jae 0x1002859f
add eax, 0xe
cmp edx, ecx
mov dword [esp + 0x4c], eax
sbb esi, esi
inc esi
jmp 0x100285a8
mov dword [esp + 0x10], edi
mov edx, dword [esp + esi*8 + 0x58]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + esi*8 + 0x58]
call fcn.10028a28
cmp dword [esp + 0x1c], 0xffffffff
jne 0x100285da
lea eax, [esi + 3]
cmp ebx, eax
jle 0x100285da
mov edx, dword [esp + esi*8 + 0x68]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + esi*8 + 0x64]
push eax
call fcn.10028a28
mov edx, dword [esp + esi*8 + 0x4c]
mov eax, dword [esp + esi*8 + 0x50]
sub eax, edx
movzx ecx, word [edx]
sub ecx, 0x67
je 0x100286ec
sub ecx, 6
je 0x10028660
dec ecx
sub ecx, 1
je 0x10028631
sub ecx, 6
jne 0x100286da
cmp eax, 2
je 0x1002862a
cmp eax, 8
jne 0x100286da
cmp dword [edx + 2], 0x650073
jne 0x100286da
cmp word [edx + 6], 0x72
jne 0x100286da
mov edi, 0x2712
jmp 0x1002867f
cmp eax, 2
je 0x10028659
cmp eax, 0xa
jne 0x100286da
cmp dword [edx + 2], 0x680074
jne 0x100286da
cmp dword [edx + 6], 0x720065
jne 0x100286da
mov edi, 0x2716
jmp 0x1002867f
cmp eax, 2
je 0x1002867a
cmp eax, 8
jne 0x100286da
cmp dword [edx + 2], 0x730061
jne 0x100286da
cmp word [edx + 6], 0x6b
jne 0x100286da
mov edi, 0x2715
mov eax, edi
sub eax, 0x2712
je 0x1002870d
dec eax
sub eax, 1
je 0x1002870d
sub eax, 1
je 0x1002869c
sub eax, 1
jne 0x100286da
mov ecx, dword [esp + esi*8 + 0x54]
lea eax, [esi + 2]
cmp ebx, eax
jne 0x100286cd
cmp ecx, dword [esp + esi*8 + 0x58]
jae 0x100286cd
mov edx, dword [esp + esi*8 + 0x58]
lea eax, [esp + 0x20]
push eax
call fcn.10028a84
test eax, eax
je 0x100286c9
mov dword [esp + 0x24], 1
jmp 0x1002873e
mov ecx, dword [esp + esi*8 + 0x54]
lea eax, [esi + 3]
cmp ebx, eax
jne 0x1002873e
cmp ecx, dword [esp + esi*8 + 0x58]
jae 0x1002873e
mov esi, dword [esp + 0x18]
push 0xffffffffffffffec
pop eax
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x100289e9
cmp eax, 2
je 0x10028708
cmp eax, 0xa
jne 0x100286da
cmp dword [edx + 2], 0x6f0072
jne 0x100286da
cmp dword [edx + 6], 0x700075
jne 0x100286da
mov edi, 0x2714
cmp dword [esp + 0x1c], 0xffffffff
jne 0x1002871e
mov eax, dword [esp + esi*8 + 0x54]
cmp eax, dword [esp + esi*8 + 0x58]
jae 0x10028749
mov eax, dword [esp + esi*8 + 0x54]
mov edx, dword [esp + esi*8 + 0x58]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
cmp edi, 0x2712
jne 0x10028739
dec edi
jmp 0x10028749
mov edi, 0x2713
cmp dword [esp + 0x20], 0
jne 0x1002899b
sub esi, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
mov ecx, dword [esp + esi*8 + 0x60]
mov edx, dword [esp + esi*8 + 0x64]
call fcn.10028a84
test eax, eax
jne 0x1002899b
jmp 0x100286da
xor edi, edi
sub ecx, 4
je 0x10028844
sub ecx, 1
je 0x100287eb
sub ecx, 1
je 0x100287a9
sub ecx, 3
jne 0x100286da
push 0x12
push 0x10011cdc
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100286da
mov edi, 0x277b
jmp 0x10028816
cmp dword [eax], 0x77006f
jne 0x100287ca
cmp dword [eax + 4], 0x65006e
jne 0x100287ca
cmp dword [eax + 8], 0x400072
jne 0x100287ca
mov edi, 0x2712
jmp 0x1002880d
cmp dword [eax], 0x720067
jne 0x10028805
cmp dword [eax + 4], 0x75006f
jne 0x10028805
cmp dword [eax + 8], 0x400070
jne 0x10028805
mov edi, 0x2714
jmp 0x10028805
push 0xa
push 0x10011cb8
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, 0x2713
cmove edi, eax
test edi, edi
je 0x100286da
mov eax, 0x2713
cmp edi, eax
je 0x10028862
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
jmp 0x100288aa
cmp dword [eax], 0x730075
jne 0x100286da
cmp dword [eax + 4], 0x720065
jne 0x100286da
mov edi, 0x2711
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x58]
push ecx
mov ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.10028a28
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push eax
call fcn.10028ae0
test eax, eax
je 0x100286da
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
call fcn.10028bd4
test eax, eax
je 0x100286da
and dword [esp + 0x10], 0
sub ebx, esi
cmp ebx, 8
jne 0x1002890f
cmp dword [esi], 0x650064
jne 0x10028902
cmp dword [esi + 4], 0x79006e
jne 0x10028902
mov ebx, 0x800
mov dword [esp + 0x10], ebx
jmp 0x10028906
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x10028985
jmp 0x100286da
cmp ebx, 0xa
jne 0x100286da
mov ecx, 0x6c0061
cmp dword [esi], ecx
jne 0x1002893b
cmp dword [esi + 4], 0x6f006c
jne 0x1002893b
cmp word [esi + 8], 0x77
jne 0x1002893b
mov dword [esp + 0x10], 0x400
jmp 0x10028985
cmp dword [esi], 0x750061
jne 0x1002895d
cmp dword [esi + 4], 0x690064
jne 0x1002895d
cmp word [esi + 8], 0x74
jne 0x1002895d
mov dword [esp + 0x10], 0x1000
jmp 0x10028985
cmp dword [esi], ecx
jne 0x100286da
cmp dword [esi + 4], 0x720061
jne 0x100286da
cmp word [esi + 8], 0x6d
jne 0x100286da
mov dword [esp + 0x10], 0x2000
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push eax
mov edx, dword [edx]
mov ecx, dword [ecx]
call fcn.10028a28
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
mov edx, esi
push eax
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
push edi
push dword [esp + 0x30]
call fcn.10027147
push 0xffffffffffffffec
pop ecx
cmp eax, ecx
jl 0x10028a0e
mov ebx, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0xc]
cmovne ebx, ecx
or eax, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
jmp 0x100289ed
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x10028a01
mov edi, dword [ebp + 8]
jmp 0x100284c6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, eax
call fcn.10027398
mov eax, ebx
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 4