Function at 0x10002460
Capabilities:
Access peb ldr_data
Check os version
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword fs:[0x30]
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], 0
push esi
mov eax, dword [eax + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x100026a9
nop word [eax + eax]
mov esi, dword [eax + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x24]
nop dword [eax]
mov al, byte [esi]
ror ecx, 0xd
cmp al, 0x61
movzx eax, al
jb 0x100024bf
add ecx, 0xffffffe0
add edx, 0xffff
add ecx, eax
inc esi
test dx, dx
jne 0x100024b0
cmp ecx, 0x6a4abc5b
jne 0x100025cc
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], 4
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [ebp - 0x20], eax
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add edi, esi
add ebx, esi
nop dword [eax]
mov edx, dword [edi]
add edx, esi
xor eax, eax
mov cl, byte [edx]
nop dword [eax + eax]
ror eax, 0xd
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10002510
cmp eax, 0xec0e4e8e
je 0x1000253d
cmp eax, 0x7c0dfcaa
je 0x1000253d
cmp eax, 0x91afca54
je 0x1000253d
cmp eax, 0x60e0ceef
jne 0x100025b5
movzx ecx, word [ebx]
mov edx, dword [ebp - 0x20]
lea ecx, [esi + ecx*4]
add ecx, dword [edx + 0x1c]
cmp eax, 0xec0e4e8e
jne 0x10002564
mov eax, dword [ecx]
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add eax, 0xffff
mov dword [ebp - 0xc], eax
jmp 0x100025b8
cmp eax, 0x7c0dfcaa
jne 0x1000257f
mov eax, dword [ecx]
add eax, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 0xffff
mov dword [ebp - 0xc], eax
jmp 0x100025b8
cmp eax, 0x91afca54
jne 0x1000259a
mov eax, dword [ecx]
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 0xffff
mov dword [ebp - 0xc], eax
jmp 0x100025b8
cmp eax, 0x60e0ceef
jne 0x100025a8
mov eax, dword [ecx]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, 0xffff
mov dword [ebp - 0xc], eax
jmp 0x100025b8
mov eax, dword [ebp - 0xc]
add edi, 4
add ebx, 2
test ax, ax
jne 0x10002500
jmp 0x10002679
cmp ecx, 0x3cfa685d
jne 0x1000267f
mov esi, dword [ebp - 4]
mov ebx, 2
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + esi + 0x78]
mov eax, dword [edx + esi + 0x20]
add edx, esi
add eax, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov ecx, dword [edx + 0x24]
mov edi, dword [edx + 0x18]
add ecx, esi
mov dword [ebp - 0xc], ecx
test edi, edi
je 0x10002679
mov edx, dword [eax]
mov al, byte [edx + esi]
add edx, esi
xor ecx, ecx
ror ecx, 0xd
lea edx, [edx + 1]
movsx eax, al
add ecx, eax
mov al, byte [edx]
test al, al
jne 0x10002610
cmp ecx, 0x534c0ab8
je 0x10002631
cmp ecx, 0xff7f061a
jne 0x10002666
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
movzx eax, word [eax]
lea eax, [esi + eax*4]
add eax, dword [edx + 0x1c]
cmp ecx, 0x534c0ab8
jne 0x10002651
mov eax, dword [eax]
add eax, esi
mov dword [ebp - 0x18], eax
jmp 0x10002660
cmp ecx, 0xff7f061a
jne 0x10002660
mov eax, dword [eax]
add eax, esi
mov dword [ebp - 0x24], eax
add ebx, 0xffff
mov eax, dword [ebp - 0x20]
dec edi
add dword [ebp - 0xc], 2
add eax, 4
mov dword [ebp - 0x20], eax
test bx, bx
jne 0x10002603
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x14], 0
je 0x10002699
test edi, edi
je 0x10002699
test ebx, ebx
je 0x10002699
cmp dword [ebp - 0x1c], 0
je 0x10002699
cmp dword [ebp - 0x18], 0
jne 0x100026a9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100024a0
mov esi, dword [ebp + 0xc]
push 0x40
push 0x3000
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x10], edi
push dword [edi + 0x50]
push 0
call ebx
mov edx, dword [edi + 0x54]
mov ecx, esi
mov dword [ebp - 4], eax
test edx, edx
je 0x100026e3
mov esi, eax
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
sub edx, 1
jne 0x100026d2
mov esi, dword [ebp + 0xc]
movzx ebx, word [edi + 6]
movzx eax, word [edi + 0x14]
test ebx, ebx
je 0x10002728
add edi, 0x2c
add edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [edi]
dec ebx
mov ecx, dword [edi - 8]
add edx, esi
mov esi, dword [edi - 4]
add ecx, eax
test esi, esi
je 0x1000271b
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
sub esi, 1
jne 0x10002708
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add edi, 0x28
test ebx, ebx
jne 0x100026f7
mov edi, dword [ebp - 0x10]
mov edi, dword [edi + 0x80]
mov edx, dword [ebp - 4]
add edi, edx
mov dword [ebp + 0xc], edi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100027b9
nop dword [eax]
add eax, edx
push eax
call dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, eax
mov edx, dword [ebp - 4]
add esi, edx
mov edi, dword [edi + 0x10]
add edi, edx
cmp dword [edi], 0
je 0x100027a9
nop dword [eax]
test esi, esi
je 0x10002786
mov ecx, dword [esi]
test ecx, ecx
jns 0x10002786
mov eax, dword [ebx + 0x3c]
movzx ecx, cx
mov eax, dword [eax + ebx + 0x78]
sub ecx, dword [eax + ebx + 0x10]
mov eax, dword [eax + ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
jmp 0x10002795
mov eax, dword [edi]
add edx, 2
add eax, edx
push eax
push ebx
call dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edi], eax
add edi, 4
test esi, esi
lea eax, [esi + 4]
cmove eax, esi
cmp dword [edi], 0
mov esi, eax
jne 0x10002760
mov edi, dword [ebp + 0xc]
add edi, 0x14
mov dword [ebp + 0xc], edi
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x10002740
mov ebx, dword [ebp - 0x10]
mov esi, edx
sub esi, dword [ebx + 0x34]
cmp dword [ebx + 0xa4], 0
je 0x1000287c
mov ecx, dword [ebx + 0xa0]
add ecx, edx
mov dword [ebp + 0xc], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x1000287c
nop dword [eax]
mov edx, dword [ecx]
lea edi, [eax - 8]
add edx, dword [ebp - 4]
lea ebx, [ecx + 8]
shr edi, 1
je 0x1000285e
nop
movzx ecx, word [ebx]
dec edi
mov ax, cx
shr ax, 0xc
cmp ax, 0xa
jne 0x1000281c
and ecx, 0xfff
add dword [ecx + edx], esi
jmp 0x10002854
cmp ax, 3
jne 0x1000282d
and ecx, 0xfff
add dword [ecx + edx], esi
jmp 0x10002854
cmp ax, 1
jne 0x10002844
and ecx, 0xfff
mov eax, esi
shr eax, 0x10
add word [ecx + edx], ax
jmp 0x10002854
cmp ax, 2
jne 0x10002854
and ecx, 0xfff
add word [ecx + edx], si
add ebx, 2
test edi, edi
jne 0x10002800
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
add ecx, dword [eax]
mov dword [ebp + 0xc], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
jne 0x100027f0
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x28]
push 0
push 0
push 0xffffffffffffffff
add esi, edx
call dword [ebp - 0x18]
push dword [ebp + 8]
mov edi, dword [ebp - 4]
push 1
push edi
call esi
cmp dword [ebx + 0x7c], 0
je 0x100028f2
mov eax, dword [ebx + 0x78]
add eax, edi
mov dword [ebp + 8], eax
mov ecx, dword [eax + 0x18]
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x100028f2
cmp dword [eax + 0x14], 0
je 0x100028f2
mov esi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add esi, edi
add ebx, edi
xor edi, edi
test ecx, ecx
je 0x100028f2
mov edx, dword [esi]
add edx, dword [ebp - 4]
xor ecx, ecx
mov al, byte [edx]
nop dword [eax]
ror ecx, 0xd
lea edx, [edx + 1]
movsx eax, al
add ecx, eax
mov al, byte [edx]
test al, al
jne 0x100028d0
cmp ecx, dword [ebp + 0x10]
je 0x1000290a
inc edi
add esi, 4
add ebx, 2
cmp edi, dword [ebp + 0xc]
jb 0x100028c3
mov ecx, 1
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
push ecx
test eax, eax
je 0x1000293c
call eax
mov esp, ebp
pop ebp
ret 0x14
movzx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x100028f2
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx]
add eax, ecx
call eax
xor edx, edx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ecx, edx
jmp 0x100028f7
call dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0x14