Function at 0x2a39b50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x2af59ae
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x2b197a0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x2b197a0]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov ebx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
xor ebp, ebp
and eax, 0xffff
mov dword [esp + 0x38], eax
lea eax, [esp + 0x60]
push eax
lea esi, [ebp + 7]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
xor edi, edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebp
call fcn.02a36c70
mov eax, dword [esp + 0x6c]
mov ecx, 1
push 0x5c
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
lea ecx, [esp + 0x7c]
push ebp
push ecx
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x38], ebp
mov dword [eax + 0x34], ebp
call fcn.02aa33a0
add esp, 0xc
mov dword [esp + 0x114], ebp
xor edx, edx
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebp
mov word [esp + 0xf0], dx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x114], 1
mov dword [eax + 8], ebp
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xdc]
push ecx
push edx
call fcn.02a38210
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
cmp eax, 1
jne 0x2a39de5
mov esi, dword [ebx + 0x6c]
mov edx, dword [esi + 4]
mov ecx, dword [ebx + 0x4c]
cmp ecx, edx
jne 0x2a39c80
mov eax, ecx
sar eax, 1
add eax, ecx
cmp edx, eax
jge 0x2a39c80
push eax
call fcn.02a36650
mov edi, dword [ebx + 0x4c]
lea eax, [edi + 1]
mov dword [ebx + 0x4c], eax
cmp dword [esp + 0x2c], ebp
jne 0x2a39c93
mov dword [esp + 0x2c], edi
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], ebp
mov esi, dword [ebx + 0x6c]
mov ebp, dword [esi]
mov ecx, edx
and edx, 0xffff
sar ecx, 0x10
shl edx, 5
add edx, dword [ebp + ecx*4]
xor ebp, ebp
mov ecx, dword [edx + 0x14]
cmp ecx, ebp
je 0x2a39d1d
mov ebp, dword [esi]
mov edx, ecx
and ecx, 0xffff
shl ecx, 5
sar edx, 0x10
add ecx, dword [ebp + edx*4]
mov esi, ebp
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, edx
mov ebp, edx
sar ecx, 0x10
mov ecx, dword [esi + ecx*4]
and ebp, 0xffff
shl ebp, 5
mov dword [ecx + ebp + 0x18], edi
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1c], edi
mov dword [eax + 0xc], 0
xor ebp, ebp
jmp 0x2a39d2a
mov dword [edx + 0x14], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0xc], 0x80000
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
add edx, ecx
and esi, 0xffff0000
or esi, edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], ebp
mov edx, dword [esp + 0xe0]
mov dword [eax], edx
mov edx, dword [eax + 8]
xor edx, dword [esp + 0xe4]
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [esp + 0xe8], 0x10000
mov edx, dword [eax + 8]
je 0x2a39d8d
mov edi, dword [esp + 0x1c]
and edx, 0x3fffff
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 4], ecx
jmp 0x2a39c40
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 0xc]
sub ebp, eax
lea eax, [edx + eax*2]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
inc ecx
inc ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x60], ecx
cmp ecx, eax
jne 0x2a39dc5
lea ecx, [esp + 0x60]
lea esi, [eax + eax]
push ecx
call fcn.02a36c70
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x28]
push ebp
push edx
call fcn.02a32890
xor ebp, ebp
jmp 0x2a39c40
cmp eax, ebp
jne 0x2a3a0f4
mov ecx, dword [esp + 0x60]
mov esi, edi
mov dword [esp + 0x20], ecx
cmp ecx, ebp
je 0x2a39ece
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 0x10]
and edx, 8
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
sub ebp, eax
lea eax, [edx + eax*2]
mov edx, ecx
shl edx, 4
inc ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
sub edx, ecx
lea ecx, [eax + edx*4]
mov eax, ecx
sub ecx, 0x3c
cmp dword [eax + 0x18], 8
mov dword [esp + 0x24], ecx
jb 0x2a39e49
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
jmp 0x2a39e50
add eax, 4
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push edx
push ebp
call fcn.02a35880
add esp, 8
test eax, eax
jne 0x2a39e91
mov eax, dword [esp + 0x30]
movzx eax, word [eax + ebp*2]
test ax, ax
je 0x2a39ec1
cmp ax, 0x20
jb 0x2a39e91
cmp ax, 0x5d
ja 0x2a39e91
movzx ecx, ax
movsx eax, byte [ecx + 0x2b0a500]
test eax, eax
jne 0x2a39ec1
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax]
mov edx, esi
and esi, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
dec ecx
shl esi, 5
mov esi, dword [edx + esi + 0x10]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x2a39ecc
mov ecx, dword [esp + 0x24]
jmp 0x2a39e31
cmp dword [esp + 0x20], 0
jne 0x2a3a0ac
xor ebp, ebp
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov ecx, edi
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
mov eax, edi
and eax, 0xffff
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
lea eax, [ecx + eax + 0xc]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x44]
call fcn.02a367d0
mov byte [esp + 0x114], 2
mov edx, dword [esp + 0xe0]
push 0xffffffffffffffff
push edx
push ebp
push ecx
mov esi, 8
mov dword [esp + 0x34], esp
mov ecx, esp
cmp dword [eax + 0x18], esi
jb 0x2a39f35
mov eax, dword [eax + 4]
jmp 0x2a39f38
add eax, 4
push ecx
mov dword [ecx], eax
mov eax, esp
mov dword [eax], 0x2b0a960
lea eax, [ebx + 0x24]
mov dword [esp + 0x38], esp
push eax
call fcn.02a35940
add esp, 0x18
mov byte [esp + 0x114], 1
cmp dword [esp + 0x5c], esi
jb 0x2a39f6e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.02a9b828
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
cmp dword [esp + 0x20], ebp
je 0x2a39c40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x20]
jle 0x2a3a1b3
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
and dword [eax + 8], 0x3fffff
or dword [eax + 0xc], 0x100000
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
and ecx, 0x3fffff
mov dword [esp + 0x1c], ebp
mov dword [eax + 0x14], 0
mov dword [eax + 4], ecx
test edx, 0x200000
je 0x2a3a027
xor edx, 0x200000
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x6c]
mov ecx, dword [ecx]
mov edx, ebp
and ebp, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
shl ebp, 5
or dword [edx + ebp + 0xc], 0x200000
lea ecx, [edx + ebp + 0xc]
mov ebp, dword [esp + 0x1c]
test esi, esi
je 0x2a3a095
jmp 0x2a3a030
mov ebx, dword [ebx + 0x6c]
mov ebx, dword [ebx]
mov ecx, esi
sar ecx, 0x10
mov edx, esi
add ecx, ecx
add ecx, ecx
mov ebx, dword [ebx + ecx]
and edx, 0xffff
shl edx, 5
mov dword [ebx + edx + 0x10], ebp
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 0x6c]
mov ebp, dword [ebp]
mov ebp, dword [ecx + ebp]
mov dword [edx + ebp + 0x1c], edi
mov ebx, dword [ebx + 0x6c]
mov ebx, dword [ebx]
mov ebp, edi
sar ebp, 0x10
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x1c]
and edi, 0xffff
shl edi, 5
mov dword [ebx + edi + 0x18], esi
mov ebx, dword [esp + 0x34]
mov edi, esi
mov esi, dword [ebx + 0x6c]
mov esi, dword [esi]
mov ecx, dword [esi + ecx]
mov esi, dword [ecx + edx + 0x18]
test esi, esi
jne 0x2a3a030
cmp dword [esp + 0x28], 0
jne 0x2a3a150
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
dec edx
jmp 0x2a3a153
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0xe4]
mov ecx, esi
sar ecx, 0x10
and esi, 0xffff
shl esi, 5
add esi, dword [edx + ecx*4]
sub eax, dword [esi]
mov ecx, dword [esi + 8]
add eax, dword [esp + 0xe0]
and ecx, 0x3fffff
mov dword [esi + 4], eax
mov edx, dword [esp + 0xe4]
shl edx, 0x16
or ecx, edx
mov dword [esi + 8], ecx
xor ebp, ebp
jmp 0x2a39f81
cmp eax, 0xffffffff
jne 0x2a3a142
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov ecx, edi
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
mov eax, edi
and eax, 0xffff
push 0xffffffffffffffff
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
lea eax, [ecx + eax + 0xc]
push ebp
lea edx, [esp + 0xf4]
push edx
lea ecx, [ebx + 0x24]
call fcn.02a3c370
jmp 0x2a39c40
cmp eax, 0xfffffffe
jne 0x2a39c40
jmp 0x2a39f8f
mov edx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x6c]
push edx
mov edx, dword [eax]
mov ecx, esi
shl ecx, 4
sub ecx, esi
cmp dword [edi + ecx*4 + 0x18], 8
push edx
lea ecx, [edi + ecx*4]
push 0
push ecx
mov dword [esp + 0x34], esp
mov eax, esp
jb 0x2a3a17e
mov ecx, dword [ecx + 4]
jmp 0x2a3a181
add ecx, 4
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [eax], 0x2b0a97c
lea eax, [ebx + 0x24]
mov dword [esp + 0x38], esp
push eax
call fcn.02a35940
dec esi
add esp, 0x18
cmp esi, dword [esp + 0x20]
mov edi, ebp
mov dword [esp + 0x60], esi
jg 0x2a39fab
mov eax, dword [esp + 0x28]
xor ebp, ebp
cmp eax, 0xfffffffe
je 0x2a3a1df
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx]
mov eax, edi
and edi, 0xffff
sar eax, 0x10
mov eax, dword [edx + eax*4]
shl edi, 5
mov edi, dword [eax + edi + 0x10]
dec dword [esp + 0x60]
mov dword [esp + 0x1c], edi
jmp 0x2a39c40
cmp dword [esp + 0x104], 8
jb 0x2a3a1f9
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.02a9b828
add esp, 4
mov dword [esp + 0x114], 0xffffffff
mov eax, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], ebp
mov word [esp + 0xf0], dx
cmp eax, ebp
je 0x2a3a245
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x2a361c0
push ecx
push 0x3c
push eax
call fcn.02a9da0a
push esi
call fcn.02a9bf56
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.02a9b567
add esp, 0x104
ret 4