Function at 0x100373c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10038990
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov ebx, edx
mov esi, edi
shr ebx, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, edx
mov dword fs:[0], eax
mov eax, ebx
shr ecx, 0x16
mov dword [ebp - 0x34], ebx
and al, 3
and cl, 3
cmp al, 1
mov eax, edi
mov dword [ebp - 0x38], ecx
sete dh
cmp cl, 2
sete dl
shr esi, 0xc
and eax, 0x3f
mov byte [ebp - 0x1d], dh
and esi, 0x3f
mov dword [ebp - 0x30], eax
mov eax, edi
mov byte [ebp - 0x1e], dl
mov dword [ebp - 0x28], esi
mov esi, edi
shr eax, 6
shr edi, 0x18
shr esi, 0x12
and eax, 0x3f
and esi, 0x3f
and edi, 0x3f
mov dword [ebp - 0x2c], eax
je 0x10037511
push 4
push 0x28
call fcn.1001d510
add esp, 8
test eax, eax
mov dword [ebp - 0x24], eax
je 0x100379a0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x26
ja 0x100377e7
cmp edx, 0x27
jae 0x10037803
cmp dword [ebp - 0x28], 0x27
jae 0x1003781f
cmp esi, 0x27
jae 0x1003783d
cmp edi, 0x27
jae 0x10037859
mov eax, dword [ecx*8 + 0x10105104]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ecx*8 + 0x10105108]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], 5
mov dword [ebx + 4], eax
mov eax, dword [edx*8 + 0x10105104]
mov dword [ebx + 8], eax
mov eax, dword [edx*8 + 0x10105108]
mov edx, dword [edi*8 + 0x10105104]
mov edi, dword [edi*8 + 0x10105108]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx*8 + 0x10105104]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx*8 + 0x10105108]
mov ecx, dword [esi*8 + 0x10105108]
mov dword [ebx + 0x14], eax
mov eax, dword [esi*8 + 0x10105104]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ecx, ebx
mov eax, ebx
mov dword [ebx + 0x20], edx
add ecx, 0x24
jmp 0x100376d9
test esi, esi
je 0x100375b8
push 4
push 0x20
call fcn.1001d510
add esp, 8
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x100379a6
mov edx, dword [ebp - 0x30]
cmp edx, 0x26
ja 0x10037875
cmp dword [ebp - 0x2c], 0x27
jae 0x10037894
cmp edi, 0x27
jae 0x100378b5
cmp esi, 0x27
jae 0x100378d4
mov ecx, dword [edx*8 + 0x10105104]
mov dword [ebp - 0x28], 4
mov dword [eax], ecx
mov ecx, dword [edx*8 + 0x10105108]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [edx*8 + 0x10105104]
mov dword [eax + 8], ecx
mov ecx, dword [edx*8 + 0x10105108]
mov edx, dword [edi*8 + 0x10105104]
mov dword [eax + 0xc], ecx
mov ecx, dword [edi*8 + 0x10105108]
mov dword [eax + 0x10], edx
mov edx, dword [esi*8 + 0x10105104]
mov edi, dword [esi*8 + 0x10105108]
mov dword [eax + 0x14], ecx
mov ecx, eax
mov dword [eax + 0x18], edx
add ecx, 0x1c
jmp 0x100376d9
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1003763e
push 4
push 0x18
call fcn.1001d510
add esp, 8
test eax, eax
je 0x100379ac
mov edx, dword [ebp - 0x30]
cmp edx, 0x26
ja 0x100378f3
cmp dword [ebp - 0x2c], 0x27
jae 0x10037912
cmp esi, 0x27
jae 0x10037930
mov ecx, dword [edx*8 + 0x10105104]
mov ebx, dword [esi*8 + 0x10105104]
mov edi, dword [esi*8 + 0x10105108]
mov dword [ebp - 0x28], 3
mov dword [eax], ecx
mov ecx, dword [edx*8 + 0x10105108]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [edx*8 + 0x10105108]
mov edx, dword [edx*8 + 0x10105104]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, eax
mov dword [eax + 0x10], ebx
add ecx, 0x14
jmp 0x100376d9
cmp dword [ebp - 0x2c], 0
je 0x100376a2
push 4
push 0x10
call fcn.1001d510
add esp, 8
test eax, eax
je 0x100379b2
mov edx, dword [ebp - 0x30]
cmp edx, 0x26
ja 0x1003794c
mov edi, dword [ebp - 0x2c]
cmp edi, 0x27
jae 0x10037968
mov ecx, dword [edx*8 + 0x10105108]
mov edx, dword [edx*8 + 0x10105104]
mov esi, dword [edi*8 + 0x10105104]
mov edi, dword [edi*8 + 0x10105108]
mov dword [ebp - 0x28], 2
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, eax
mov dword [eax + 8], esi
add ecx, 0xc
jmp 0x100376d9
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100377d4
call fcn.10036a90
cmp esi, 0x26
mov edx, esi
ja 0x10037984
mov ecx, dword [edx*8 + 0x10105104]
mov edi, dword [edx*8 + 0x10105108]
mov dword [ebp - 0x28], 1
mov dword [eax], ecx
mov ecx, eax
add ecx, 4
mov dl, byte [ebp - 0x1e]
mov dh, byte [ebp - 0x1d]
mov dword [ebp - 0x24], eax
mov dword [ecx], edi
xor ebx, ebx
mov bl, dh
xor eax, eax
mov al, dl
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x34]
shl eax, 7
shl ebx, 2
mov edi, eax
or edi, 4
mov esi, edx
and cl, 7
shr esi, 0x1b
and esi, 7
cmp cl, 2
mov ecx, dword [ebp + 0x14]
cmovne edi, eax
mov eax, 0
sete al
shl eax, 2
cmp byte [ebp - 0x38], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
lea eax, [ebx + 0x80]
cmovne eax, ebx
movzx ebx, dx
mov dword [ebp - 0x34], eax
mov eax, 0
sete al
and ecx, 0x2000
neg eax
cmp ecx, 1
mov ecx, 0xffffffff
sbb edi, edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
or edi, esi
test edx, edx
cmovs ecx, esi
mov esi, dword [ebp - 0x24]
mov dword [eax], 0x10037a60
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x28]
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x18], edi
mov edi, edx
mov esi, dword [ebp - 0x2c]
shr edi, 0x14
and edi, 3
or edi, dword [ebp - 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, edx
shr edx, 0x11
mov word [eax + 0x20], 0
shr ecx, 0x10
and edx, 7
and cl, 1
mov byte [eax + 0x22], cl
mov byte [eax + 0x23], 0
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x34], esi
mov dword fs:[0], edx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x28], 0
jmp 0x100376e4
mov dword [ebp - 0x10], 0
push 0x101189c4
push 0x27
push ecx
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x10], 0
push 0x101189d4
push 0x27
push edx
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x10], 0
push 0x101189e4
push 0x27
push dword [ebp - 0x28]
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x10], 0
push 0x101189f4
push 0x27
push esi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x10], 0
push 0x10118a04
push 0x27
push edi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
push 0x10118a14
push 0x27
push edx
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
push 0x10118a24
push 0x27
push dword [ebp - 0x2c]
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
push 0x10118a34
push 0x27
push edi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
push 0x10118a44
push 0x27
push esi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 2
push 0x10118a54
push 0x27
push edx
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 2
push 0x10118a64
push 0x27
push dword [ebp - 0x2c]
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 2
push 0x10118a74
push 0x27
push esi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 3
push 0x10118a84
push 0x27
push edx
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 3
push 0x10118a94
push 0x27
push edi
call fcn.100f98c0
add esp, 0xc
jmp 0x1003799e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 4
push 0x10118aa4
push 0x27
push edx
call fcn.100f98c0
add esp, 0xc
ud2
push 4
push 0x28
jmp 0x100379b6
push 4
push 0x20
jmp 0x100379b6
push 4
push 0x18
jmp 0x100379b6
push 4
push 0x10
call fcn.100f97e0
add esp, 8
ud2