Function at 0x1008a9e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ee12c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x102289dc]
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 - 0x78], esi
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x5c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x60]
mov dword [ebp - 0x70], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
add ecx, 0x1c
mov byte [ebp - 4], 9
call fcn.10157090
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp - 0x5c]
add esi, 0xac
push esi
mov byte [ebp - 4], 0xb
call fcn.100749e0
push edi
mov edi, dword [ebp - 0x78]
lea ecx, [edi + 0xf4]
call fcn.1003e510
mov eax, dword [edi + 0x1f0]
mov dword [edi + 0x230], eax
mov eax, dword [edi + 0x1f4]
mov dword [edi + 0x234], eax
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x264], 0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
mov dword [edi + 0x268], 0xd
push esi
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], eax
call fcn.100932e0
cmp byte [edi + 0x140], 0
mov esi, eax
movss xmm1, dword [0x101f9870]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
je case.0x1008ac52.0
movss xmm0, dword [edi + 0x1f0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp case.0x1008ac52.0
movss xmm0, dword [edi + 0x1f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp case.0x1008ac52.0
mov eax, dword [edi + 0x11c]
cmp eax, 3
ja case.default.0x1008ac52
jmp dword [eax*4 + 0x1008b500]
mov dword [edi + 0x1d0], 1
jmp case.0x1008ac52.0
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1c4], 5
jmp case.0x1008ac52.0
mov dword [edi + 0x1c4], 5
jmp 0x1008ac91
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1a8], 0
cmp dword [edi + 0x11c], 1
jb 0x1008ace3
cmp dword [edi + 0x1e0], 0
je 0x1008ace3
movss xmm0, dword [edi + 0x1f0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008ace3
movss xmm0, dword [edi + 0x1f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008ace3
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1a8], 0
mov eax, dword [edi + 0x1c]
mov ecx, eax
mov edx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0x5c], eax
mov eax, 0x2e8ba2e9
mov dword [ebp - 0x58], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x54], eax
cmp esi, eax
jae 0x1008ad3e
imul eax, esi, 0x2c
add eax, dword [ebp - 0x58]
mov esi, eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x5c]
je 0x1008ad7b
mov edi, dword [ebp - 0x5c]
nop
lea ecx, [esi + 0xc]
call fcn.1008bd80
mov ecx, esi
call fcn.1008bc70
add esi, 0x2c
cmp esi, edi
jne 0x1008ad20
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x58]
jmp 0x1008ad7b
jbe 0x1008ad7e
mov ecx, dword [edi + 0x20]
mov eax, 0x2e8ba2e9
sub ecx, dword [ebp - 0x58]
imul ecx
lea ecx, [edi + 0x18]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1008ad6a
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.1008a090
jmp 0x1008ad7e
push dword [ebp - 0x58]
mov eax, esi
sub eax, dword [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
call fcn.10097390
mov dword [edi + 0x1c], eax
movss xmm0, dword [edi + 0x234]
movss xmm1, dword [0x101f9870]
comiss xmm0, xmm1
jbe 0x1008ad9f
mov eax, dword [edi + 0x230]
mov dword [edi + 0x234], eax
mov eax, dword [edi + 0x1e0]
test eax, eax
jns 0x1008add7
movss xmm0, dword [edi + 0x230]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008adc8
mov dword [edi + 0x1e0], 0
xor eax, eax
jmp 0x1008add7
mov dword [edi + 0x1e0], 1
mov eax, 1
cmp dword [edi + 0x118], 4
jle 0x1008adea
movss xmm0, dword [0x10202670]
jmp 0x1008adf2
movss xmm0, dword [0x1020266c]
movss dword [edi + 0x1bc], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 1
push 0x10
test eax, eax
je 0x1008ae8e
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x20], 0xd
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 3
jmp 0x1008aef0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], 0xd
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 8
call fcn.10051e60
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x50]
push 0x40
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + 0x40]
add esp, 0xc
mov dword [ebp - 0x64], eax
lea esi, [edi + 0x1b0]
mov eax, dword [edi + 0x118]
sub eax, 1
je 0x1008b010
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
sub eax, 1
je 0x1008afc7
sub eax, 1
mov eax, dword [esi + 8]
je 0x1008af81
sub eax, ecx
mov edx, 0x18
sar edx, 2
sar eax, 2
cmp edx, eax
jbe 0x1008af56
push edx
mov ecx, esi
call fcn.10051e60
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov eax, 0x18
push eax
mov eax, dword [ebp - 0x68]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x58]
add esp, 0xc
add eax, 0x18
mov dword [esi + 4], eax
mov dword [edi + 0x1c0], 0x10
jmp 0x1008b025
sub eax, ecx
mov edx, 0x20
sar edx, 2
sar eax, 2
cmp edx, eax
jbe 0x1008af9f
push edx
mov ecx, esi
call fcn.10051e60
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov eax, 0x20
push eax
mov eax, dword [ebp - 0x68]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x58]
add esp, 0xc
add eax, 0x20
mov dword [esi + 4], eax
mov dword [edi + 0x1c0], 0x20
jmp 0x1008b025
mov eax, dword [esi + 8]
mov edx, 0x28
sub eax, ecx
sar edx, 2
sar eax, 2
cmp edx, eax
jbe 0x1008afe8
push edx
mov ecx, esi
call fcn.10051e60
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov eax, 0x28
push eax
mov eax, dword [ebp - 0x68]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x58]
add esp, 0xc
add eax, 0x28
mov dword [esi + 4], eax
mov dword [edi + 0x1c0], 0x40
jmp 0x1008b025
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.1008c180
mov dword [edi + 0x1c0], 0x100
cmp dword [edi + 0x118], 1
jle 0x1008b080
xor edx, edx
mov dword [ebp - 0x58], edx
cmp dword [edi + 0x1ac], edx
jle 0x1008b0ce
mov eax, 0x13
mov dword [ebp - 0x5c], eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], eax
cmp ecx, dword [esi + 8]
je 0x1008b05a
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x1008b06c
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, esi
call fcn.1004f260
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
inc edx
add eax, 4
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], eax
cmp edx, dword [edi + 0x1ac]
jl 0x1008b047
jmp 0x1008b0ce
mov eax, dword [edi + 0x1ac]
shl eax, 2
test eax, eax
jle 0x1008b0ce
mov eax, 0x10
mov dword [ebp - 0x5c], eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], eax
cmp ecx, dword [esi + 8]
je 0x1008b0a8
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x1008b0b7
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, esi
call fcn.1004f260
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
lea ecx, [eax - 0x10]
mov eax, dword [edi + 0x1ac]
shl eax, 2
cmp ecx, eax
mov eax, dword [ebp - 0x5c]
jl 0x1008b095
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x1008b112
mov eax, dword [ebp - 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b108
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008b108
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101e8bf4
add esp, 8
mov eax, dword [edi + 0x1c4]
cmp eax, 0xffffffff
jne 0x1008b1c3
mov ecx, dword [edi + 0x118]
cmp ecx, 1
jle 0x1008b135
cmp byte [edi + 0x140], 0
jne 0x1008b167
movss xmm0, dword [edi + 0x230]
movss xmm1, dword [0x101f9870]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008b16f
cmp dword [edi + 0x1e0], 0
jne 0x1008b1d2
mov dword [edi + 0x1c4], 0xf
jmp 0x1008b1dc
movss xmm1, dword [0x101f9870]
cmp dword [edi + 0x1e0], 0
jne 0x1008b1d2
cmp byte [edi + 0x208], 0
jne 0x1008b1d2
comiss xmm1, dword [edi + 0x230]
jbe 0x1008b196
mov dword [edi + 0x1c4], 5
jmp 0x1008b1dc
cmp ecx, 7
jge 0x1008b1a7
mov dword [edi + 0x1c4], 0xe
jmp 0x1008b1dc
jne 0x1008b1b5
mov dword [edi + 0x1c4], 6
jmp 0x1008b1dc
jle 0x1008b1dc
mov dword [edi + 0x1c4], 5
jmp 0x1008b1dc
cmp byte [edi + 0x208], 0
mov dword [edi + 0x268], eax
je 0x1008b1dc
mov dword [edi + 0x1c4], 0
mov eax, dword [edi + 0x23c]
lea esi, [edi + 0x238]
mov dword [ebp - 0x54], 0
cmp eax, dword [esi + 8]
je 0x1008b200
mov dword [eax], 0
add dword [esi + 4], 4
jmp 0x1008b20c
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
cmp byte [edi + 0x140], 0
jne 0x1008b409
lea eax, [edi + 0xac]
mov dword [edi + 0x1cc], 0x3f800000
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.100932e0
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
cmp eax, dword [esi + 8]
je 0x1008b263
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b26f
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
lea eax, [edi + 0xac]
mov dword [ebp - 0x6c], 2
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.100932e0
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
cmp eax, dword [esi + 8]
je 0x1008b2af
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b2bb
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
lea eax, [edi + 0xac]
mov dword [ebp - 0x6c], 3
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.100932e0
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
cmp eax, dword [esi + 8]
je 0x1008b2fb
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b307
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
mov dword [ebp - 0x6c], 4
lea eax, [edi + 0xac]
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [ebp - 0x6c]
push eax
movups xmmword [ebp - 0x6c], xmm0
call fcn.100932e0
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
cmp eax, dword [esi + 8]
je 0x1008b34f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b35b
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
lea eax, [edi + 0xac]
mov dword [ebp - 0x6c], 5
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.100932e0
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
cmp eax, dword [esi + 8]
je 0x1008b39b
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b3a7
lea ecx, [ebp - 0x54]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
push dword [edi + 0xe8]
mov ecx, edi
call fcn.100397e0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0x5c], eax
sub eax, dword [edi + 0xc]
mov dword [ebp - 0x54], eax
cmp ecx, eax
jae 0x1008b3d1
mov eax, dword [edi + 0xc]
add eax, ecx
jmp 0x1008b406
jbe 0x1008b409
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
cmp ecx, eax
jbe 0x1008b3ec
lea eax, [ebp - 0x79]
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.10030c20
jmp 0x1008b409
sub ecx, dword [ebp - 0x54]
push ecx
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x54]
add esp, 0xc
add eax, dword [ebp - 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1008b41c
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1008b42b
lea ecx, [ebp - 0x70]
push ecx
push eax
mov ecx, esi
call fcn.1004f260
mov ecx, dword [ebp - 0x74]
mov eax, dword [edi + 0xec]
lea edx, [edi + 0x1a0]
mov dword [edx], eax
mov dword [edi + 0x1a4], eax
mov esi, dword [edi + 0x28]
mov eax, esi
sub eax, dword [edi + 0x24]
mov dword [ebp - 0x54], edx
lea edx, [edi + 0x24]
sar eax, 6
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x70], eax
cmp ecx, eax
jae 0x1008b48c
shl ecx, 6
add ecx, dword [edx]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
cmp ecx, esi
je 0x1008b487
mov edi, ecx
nop dword [eax + eax]
mov ecx, edi
call fcn.100288e0
add edi, 0x40
cmp edi, esi
jne 0x1008b470
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x58]
mov dword [edx + 4], ecx
jmp 0x1008b4e0
jbe 0x1008b4e0
mov eax, dword [edx + 8]
sub eax, dword [edx]
sar eax, 6
cmp ecx, eax
jbe 0x1008b4ab
lea eax, [edi + 0x1a0]
push eax
push ecx
mov ecx, edx
call fcn.100896c0
jmp 0x1008b4e0
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edx
sub ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x74], ecx
je 0x1008b4dd
mov edi, ecx
push dword [ebp - 0x54]
mov ecx, esi
call fcn.1008b510
add esi, 0x40
mov dword [ebp - 0x64], esi
sub edi, 1
jne 0x1008b4c2
mov edi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x58]
mov dword [edx + 4], esi
mov eax, edi
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.101e8c02
mov esp, ebp
pop ebp
ret 8