Function at 0x1002a490
Capabilities:
Access peb ldr_data
Get process heap flags
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097e35
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2f8], esi
mov eax, dword fs:[0x2c]
mov edx, dword [0x100c25f8]
mov edi, dword [eax + edx*4]
mov eax, dword [0x100c2de8]
mov dword [ebp - 0x2ec], edi
cmp eax, dword [edi + 4]
jle 0x1002a52c
push 0x100c2de8
call fcn.10071eb5
add esp, 4
cmp dword [0x100c2de8], 0xffffffff
jne 0x1002a52c
mov ecx, 0x100c2dc4
mov dword [ebp - 4], 0
call fcn.10026350
push 0x100995b0
call fcn.10072363
push 0x100c2de8
mov dword [ebp - 4], 0xffffffff
call fcn.10071e64
add esp, 8
mov edx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1002a546
sub edx, ecx
lea ecx, [ebp - 0x58]
push edx
push esi
call fcn.100260a0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x100c2dc4
call fcn.10021bc0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2e8], esi
cmp ecx, 0xf
jbe 0x1002a5b1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a5a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002abad
push ecx
push edx
call fcn.1007237d
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp dword [esi], 0
jne 0x1002a744
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], eax
nop dword [eax + eax]
mov edi, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x2e4], eax
cmp eax, edi
je 0x1002a71d
mov edx, dword [ebp - 0x2dc]
sub eax, ecx
mov edi, dword [eax + 0x18]
test edi, edi
je 0x1002a701
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1002a701
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x1002a701
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x1002a701
add eax, edi
je 0x1002a701
mov edx, dword [eax + 0x1c]
xor esi, esi
mov ecx, dword [eax + 0x20]
add edx, edi
mov dword [ebp - 0x300], edx
add ecx, edi
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1002a6f5
nop word [eax + eax]
mov eax, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x2f8]
add eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002a6c0
test dl, dl
je 0x1002a6bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002a6c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002a6a0
xor eax, eax
jmp 0x1002a6c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002a6da
mov ecx, dword [ebp - 0x2f0]
inc esi
cmp esi, dword [ebp - 0x2f4]
jb 0x1002a690
jmp 0x1002a6f5
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x300]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jne 0x1002a976
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax]
mov dword [ebp - 0x2e4], eax
cmp eax, dword [edx]
jne 0x1002a618
mov esi, dword [ebp - 0x2e8]
mov eax, dword [ebp - 0x2dc]
add ecx, 8
add eax, 4
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], eax
cmp ecx, 0x18
jl 0x1002a600
mov edi, dword [ebp - 0x2ec]
mov eax, dword [0x100c2fc4]
mov esi, dword [esi]
cmp eax, dword [edi + 4]
jle 0x1002a81f
push 0x100c2fc4
call fcn.10071eb5
add esp, 4
cmp dword [0x100c2fc4], 0xffffffff
jne 0x1002a81f
mov dword [ebp - 4], 2
push 0x10
mov dword [ebp - 0x30c], 0x100c30a4
mov dword [0x100c30a4], 0
mov dword [0x100c30a8], 0
mov dword [0x100c30ac], 0
call fcn.10071f19
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x100c30a8], eax
mov dword [0x100c30b0], 0
mov dword [0x100c30b4], 0
mov dword [0x100c30b8], 0
mov byte [ebp - 4], 4
mov ecx, 0x100c30b0
push eax
push 0x10
mov dword [0x100c30bc], 7
mov dword [0x100c30c0], 8
mov dword [0x100c30a4], 0x3f800000
call fcn.10021e20
push 0x10099610
call fcn.10072363
push 0x100c2fc4
mov dword [ebp - 4], 0xffffffff
call fcn.10071e64
add esp, 8
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e8], esi
push eax
mov ecx, 0x100c30a4
call fcn.10021ba0
mov ecx, eax
mov dword [ebp - 0x2f8], ecx
cmp dword [ecx], 0
jne 0x1002ab90
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1002ab90
xor esi, esi
mov edi, eax
nop
push 0x27b
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.10074d80
add esp, 0xc
lea eax, [esi + edi]
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], eax
call fcn.1006e180
add esi, eax
cmp esi, 5
jl 0x1002a860
mov edi, dword [ebp - 0x2ec]
lea eax, [esi + 5]
mov dword [ebp - 0x318], eax
mov eax, dword [0x100c2de4]
mov dword [ebp - 0x30c], esi
mov byte [ebp - 0x308], 0xe9
cmp eax, dword [edi + 4]
jle 0x1002a8f8
push 0x100c2de4
call fcn.10071eb5
add esp, 4
cmp dword [0x100c2de4], 0xffffffff
jne 0x1002a8f8
mov ecx, 0x100c2dec
mov dword [ebp - 4], 5
call fcn.10026350
push 0x10099520
call fcn.10072363
push 0x100c2de4
call fcn.10071e64
add esp, 8
mov eax, dword [0x100a8328]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xc
movq xmm0, qword [str.VirtualAlloc]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x100c2dec
call fcn.10021bc0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2e4], esi
cmp ecx, 0xf
jbe 0x1002a993
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a989
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002abb2
jmp 0x1002a989
mov esi, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2e0]
mov dword [esi], eax
jmp 0x1002a71d
push ecx
push edx
call fcn.1007237d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [esi], 0
jne 0x1002ab1d
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
mov eax, 0x18
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2dc], eax
nop dword [eax]
mov edi, dword [ecx]
mov dword [ebp - 0x2e0], edi
mov ecx, dword [ebp - 0x2e0]
mov edi, dword [edi]
mov dword [ebp - 0x2ec], edi
cmp edi, ecx
je 0x1002aafd
nop
mov edi, dword [edi + eax]
test edi, edi
je 0x1002aae1
mov edx, 0x5a4d
cmp word [edi], dx
jne 0x1002aae1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x1002aadb
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x1002aadb
add eax, edi
je 0x1002aadb
mov ecx, dword [eax + 0x1c]
xor esi, esi
mov edx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 0x314], ecx
add edx, edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x300], eax
test eax, eax
je 0x1002aad5
nop dword [eax]
mov eax, dword [edx + esi*4]
mov ecx, str.VirtualAlloc
add eax, edi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002aaa0
test dl, dl
je 0x1002aa9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002aaa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002aa80
xor eax, eax
jmp 0x1002aaa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002aaba
mov edx, dword [ebp - 0x2fc]
inc esi
cmp esi, dword [ebp - 0x300]
jb 0x1002aa70
jmp 0x1002aad5
mov eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x314]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jne 0x1002ab77
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2dc]
mov edi, dword [ebp - 0x2ec]
mov edi, dword [edi]
mov dword [ebp - 0x2ec], edi
cmp edi, ecx
jne 0x1002aa00
mov esi, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2f0]
sub eax, 8
add ecx, 4
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2f0], ecx
test eax, eax
jg 0x1002a9e0
mov eax, dword [esi]
push 0x40
push 0x3000
push dword [ebp - 0x318]
push 0
call eax
mov esi, eax
test esi, esi
je 0x1002ab8a
mov eax, dword [ebp - 0x2f4]
mov ecx, eax
mov edi, dword [ebp - 0x30c]
sub ecx, esi
push edi
push eax
sub ecx, 5
push esi
mov dword [ebp - 0x307], ecx
call fcn.10074800
mov eax, dword [ebp - 0x308]
add esp, 0xc
mov ecx, dword [ebp - 0x2f8]
mov dword [esi + edi], eax
mov al, byte [ebp - 0x304]
mov byte [esi + edi + 4], al
mov dword [ecx], esi
jmp 0x1002ab90
mov esi, dword [ebp - 0x2e4]
mov dword [esi], eax
mov eax, dword [ebp - 0x2dc]
jmp 0x1002aafd
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071e2b
mov esp, ebp
pop ebp
ret
call fcn.1007e77a
call fcn.1007e77a
int3