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

Disassembly:
push 0xffffffffffffffff
push 0x1012f85b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
mov dword [ebx], eax
movzx ecx, word [esi + 4]
mov ebp, dword [esp + 0x2c]
mov word [ebx + 4], cx
movzx edx, word [esi + 6]
mov word [ebx + 6], dx
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx ecx, word [esi + 0xa]
mov ax, word [esp + 0x44]
mov word [ebx + 0xa], cx
movzx edx, word [esi + 0xc]
mov cx, word [esp + 0x40]
mov word [ebx + 0xc], dx
mov word [ebx + 0xe], ax
mov word [ebx + 0x10], cx
mov word [ebx + 0x14], bp
mov edx, 0x10
mov word [ebx + 0x12], dx
xor eax, eax
fld qword [esi + 0x18]
push 0xffffffffffffffff
fstp qword [ebx + 0x18]
xor edi, edi
fld qword [esi + 0x20]
mov word [ebx + 0x28], ax
fstp qword [ebx + 0x20]
mov ecx, dword [esi + 0x2c]
mov dword [ebx + 0x2c], ecx
mov edx, dword [esi + 0x30]
push edi
lea eax, [esi + 0x34]
push eax
lea ecx, [ebx + 0x34]
mov dword [ebx + 0x30], edx
call fcn.10035e50
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x3c]
push ecx
lea ecx, [ebx + 0x3c]
mov dword [esp + 0x2c], edi
call fcn.10035e50
movzx edx, word [esi + 0x44]
mov word [ebx + 0x44], dx
mov dword [ebx + 0x48], edi
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], edi
mov ecx, dword [esi + 0x58]
mov dword [ebx + 0x58], ecx
mov edx, dword [esi + 0x5c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], edi
cmp eax, edi
je 0x101250fc
mov ecx, ebp
movzx ebp, word [esp + 0x3c]
mov edx, 1
shl edx, cl
mov edi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0
movzx eax, dx
mov dword [esp + 0x28], eax
mov ax, word [esp + 0x38]
mov cx, ax
sub cx, word [esi + 0x10]
movzx edx, cx
movzx ecx, word [esi + 0xe]
mov dword [esp + 0x2c], edx
movzx edx, ax
sub ebp, ecx
imul ebp, edx
cmp dword [ebx], 0
mov dword [esp + 0x34], ebp
jbe 0x101250fa
movzx eax, word [ebx + 4]
add eax, dword [esp + 0x40]
mov ecx, esi
push eax
call fcn.100f2ce0
test eax, eax
je 0x101250e9
xor ecx, ecx
mov dword [esp + 0x3c], 0
cmp cx, word [esi + 0xe]
jae 0x101250e0
movzx eax, word [esp + 0x2c]
add eax, eax
mov dword [esp + 0x30], eax
xor edx, edx
mov dword [esp + 0x38], 0
cmp dx, word [esi + 0x10]
jae 0x101250c7
lea esp, [esp]
movzx ebp, word [esi + 0x12]
cmp bp, 0x10
jne 0x10125064
mov edx, dword [esi + 0x64]
mov cl, byte [esi + 0x14]
mov eax, 1
shl eax, cl
movzx ecx, word [edx]
and eax, ecx
add edx, 2
mov dword [esi + 0x64], edx
jmp 0x10125092
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x68]
mov eax, edx
shr eax, 4
lea edi, [ecx + eax*2]
mov ecx, edx
and ecx, 0xf
mov eax, 1
shl eax, cl
mov dword [esi + 0x64], edi
movzx ecx, word [edi]
mov edi, dword [esp + 0x44]
and eax, ecx
movzx ecx, bp
add ecx, edx
mov dword [esi + 0x50], ecx
test eax, eax
je 0x101250a0
mov dx, word [esp + 0x28]
or word [edi], dx
jmp 0x101250a9
mov eax, dword [esp + 0x28]
not eax
and word [edi], ax
mov eax, dword [esp + 0x38]
inc eax
add edi, 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
cmp ax, word [esi + 0x10]
jb 0x10125040
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
inc ecx
add edi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], ecx
cmp cx, word [esi + 0xe]
jb 0x10125025
lea ecx, [edi + ebp*2]
mov dword [esp + 0x44], ecx
mov edi, ecx
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [ebx]
jb 0x10124fee
xor edi, edi
xor edx, edx
cmp dword [ebx + 0x6c], edi
mov eax, ebx
setne dl
mov dword [ebx + 0x48], edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x20