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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10241c2f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
movups xmm0, xmmword [edi]
movups xmmword [esi + 0xc], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x1c], xmm0
mov eax, dword [edi + 0x20]
mov dword [esi + 0x2c], eax
mov ax, word [edi + 0x24]
mov word [esi + 0x30], ax
movzx eax, byte [edi + 0x26]
mov byte [esi + 0x32], al
mov al, byte [ebp + 0x18]
mov byte [esi + 0x33], al
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x40], eax
movzx eax, byte [edi + 1]
mov byte [esi + 0x34], al
mov eax, dword [edi + 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [esi]
mov dword [esi + 0x44], 0
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x100562d1
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x74]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc8]
push 0x40
call fcn.100d1d56
mov ecx, eax
add esp, 4
mov dword [ebp + 0x18], ecx
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100561dd
cmp byte [edi + 2], 0
push dword [esi + 0x40]
setne al
cmp byte [edi + 0x17], 0
movzx eax, al
push eax
setne al
movzx eax, al
push eax
call fcn.10040de0
jmp 0x100561df
xor eax, eax
mov edi, dword [esi + 0x84]
mov dword [ebp + 0x18], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x1005620c
test edi, edi
je 0x1005620c
mov ecx, edi
call fcn.10040f40
push 0x40
push edi
call fcn.10209d2a
mov eax, dword [ebp + 0x18]
add esp, 8
mov dword [esi + 0x84], eax
lea eax, [esi + 0x48]
push eax
push dword [esi + 4]
call fcn.10049ba0
mov edi, eax
add esp, 8
test edi, edi
je 0x10056242
push 0
lea ecx, [ebp - 0x18]
call fcn.100164e0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
push edi
jmp 0x100562e9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edi, dword [esi + 0x58]
sub edi, dword [esi + 0x54]
sar edi, 2
mov dword [ebp + 0x10], 1
cmp edi, 1
jb 0x100562a2
mov ecx, 1
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x54]
cmp dword [ebp + 0xc], edi
mov edx, dword [esi]
lea ecx, [eax + ecx*4]
movzx eax, word [ecx - 4]
mov word [ebp + 0x18], ax
movzx eax, word [ecx - 2]
mov ecx, esi
mov word [ebp + 0x1a], ax
sete al
movzx eax, al
push eax
lea eax, [ebp + 0x18]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0x10]
inc eax
movzx ecx, ax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], ecx
cmp ecx, edi
jbe 0x10056266
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x84], 0
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0
lea ecx, [ebp - 0x18]
call fcn.100164e0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x28]
push eax
call fcn.1020df63
int3