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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xcc], 0
lea ecx, [edi + 0xd0]
mov dword [ebp - 4], 0
call fcn.1003fd60
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
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 + 0x264], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x268], 0
mov dword [edi + 0x270], 0
mov dword [edi + 0x26c], 0
mov dword [edi + 0x274], 0
mov eax, dword [ebx + 8]
lea ecx, [edi + 0x284]
add eax, 0x190c
mov byte [ebp - 4], 3
push eax
call fcn.1003ed00
mov byte [ebp - 4], 4
lea esi, [edi + 0x318]
mov edi, 2
nop dword [eax]
mov ecx, esi
call fcn.1003eed0
add esi, 0x10
sub edi, 1
jne 0x10042ce0
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp - 0x20]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10042cf8
mov eax, dword [0x10100d08]
sub esi, ecx
test eax, eax
je 0x10042d10
inc dword [eax + 0x374]
push dword [0x10100d00]
inc esi
push esi
call fcn.10040070
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call fcn.10091a80
mov dword [edi], eax
add esp, 0x14
mov cl, byte [esi]
lea eax, [esi + 1]
or edx, 0xffffffff
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xffffffff
test cl, cl
je 0x10042d85
mov esi, dword [ebp - 0x1c]
nop dword [eax]
cmp cl, 0x23
jne 0x10042d5f
cmp byte [eax], cl
jne 0x10042d5f
cmp byte [eax + 1], cl
cmove edx, esi
movzx eax, byte [ebp - 0x11]
movzx ecx, dl
xor ecx, eax
shr edx, 8
mov eax, dword [ebp - 0x18]
xor edx, dword [ecx*4 + 0x100e2408]
mov cl, byte [eax]
inc eax
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x18], eax
test cl, cl
jne 0x10042d50
mov esi, dword [ebx + 0xc]
lea eax, [edi + 4]
not edx
push eax
lea ecx, [edi + 0xc4]
mov dword [eax], edx
call fcn.10054950
mov dword [edi + 0x20], 0
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x30], 0
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x14], eax
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x28], ecx
lea ecx, [esi + 1]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x24], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x10042e00
sub esi, ecx
lea eax, [esi + 1]
mov dword [edi + 0x44], eax
mov ecx, dword [edi + 0xc4]
test ecx, ecx
jg 0x10042e36
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov ecx, dword [edi + 0xc4]
add esp, 0xc
mov eax, dword [edi + 0xcc]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, 0x100e8508
call fcn.100408d0
mov ecx, dword [0x10100d08]
add esp, 4
cmp dword [ecx + 0x1a74], eax
jne 0x10042e63
mov dword [ecx + 0x1a78], eax
cmp dword [ecx + 0x1aa8], eax
jne 0x10042e72
mov byte [ecx + 0x1aac], 1
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0xc0], 0x7f7fffff
xor eax, eax
mov ecx, dword [edi + 0xc0]
mov word [edi + 0x8e], ax
mov eax, dword [ebp - 0x1c]
mov word [edi + 0x90], ax
mov word [edi + 0x92], ax
mov dword [edi + 0xb8], ecx
lea ecx, [edi + 0x284]
mov dword [edi + 0xbc], 0x7f7fffff
mov eax, dword [edi + 0xbc]
mov dword [edi + 0xb4], eax
mov eax, dword [edi]
mov dword [edi + 0x280], ecx
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x3f000000
mov dword [edi + 0x74], 0x3f000000
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x85], 0
mov dword [edi + 0x89], 0xff000000
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0xffff
mov dword [edi + 0x9c], 0xffffffff
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xb0], 0xf
mov dword [edi + 0xac], 0xf
mov dword [edi + 0xa8], 0xf
movups xmmword [edi + 0x204], xmm0
mov dword [edi + 0x254], 0xffffffff
mov dword [edi + 0x258], 0xbf800000
mov dword [edi + 0x25c], 0
mov dword [edi + 0x278], 0x3f800000
mov dword [edi + 0x27c], 0xffffffff
mov dword [ecx + 0x2c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x300], 0
mov dword [edi + 0x304], 0
mov dword [edi + 0x308], 0
mov dword [edi + 0x314], 0
mov dword [edi + 0x310], 0
movups xmmword [edi + 0x328], xmm0
movups xmmword [edi + 0x318], xmm0
mov dword [edi + 0x30c], 0
mov byte [edi + 0x338], 0
mov dword [edi + 0x340], 0
mov dword [edi + 0x33c], 0
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8