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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ecx - 4], esp
or dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x10084c60
mov edx, dword fs:[0]
mov dword [ecx], edx
mov dword fs:[0], ecx
mov dl, byte [eax + 0x34]
mov cl, byte [eax + 0x30]
mov ch, byte [edi + 0x38]
mov bl, byte [eax + 0x39]
mov esi, dword [eax + 0x20]
mov bh, byte [edi + 0x39]
mov byte [ebp - 0x44], dl
mov dl, byte [eax + 0x35]
cmp cl, 3
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x48], dl
mov dl, byte [eax + 0x36]
mov byte [ebp - 0x3c], dl
mov dl, byte [eax + 0x37]
mov byte [ebp - 0x40], dl
mov dl, byte [eax + 0x38]
mov byte [ebp - 0x4c], dl
mov dl, byte [eax + 0x3a]
mov byte [ebp - 0x30], dl
mov dl, byte [eax + 0x3b]
mov byte [ebp - 0x2c], dl
mov dl, byte [eax + 0x3c]
mov byte [ebp - 0x28], dl
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x70], edx
mov dl, byte [eax + 0x3d]
mov dh, byte [edi + 0x37]
mov byte [ebp - 0x34], dl
mov dl, byte [eax + 0x3e]
mov byte [ebp - 0x24], dh
mov byte [ebp - 0x38], dl
jne 0x100645b6
lea edx, [edi + 0x28]
lea ecx, [ebp - 0x80]
call fcn.100598c5
jmp 0x100645d6
mov edx, dword [eax + 0x2c]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edx
mov edi, dword [ebp + 8]
movzx edx, word [eax + 0x31]
mov al, byte [eax + 0x33]
mov byte [ebp - 0x78], cl
mov word [ebp - 0x77], dx
mov byte [ebp - 0x75], al
mov eax, ebx
movzx ecx, bh
and al, 1
cmp bl, 2
movzx eax, al
cmove eax, ecx
mov cl, byte [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, ecx
and al, 1
cmp cl, 2
movzx ecx, byte [ebp - 0x1d]
movzx eax, al
cmove eax, ecx
mov cl, byte [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, ecx
and al, 1
cmp cl, 2
movzx ecx, byte [ebp - 0x24]
movzx eax, al
cmove eax, ecx
mov cl, byte [ebp - 0x3c]
mov dword [ebp - 0x40], eax
movzx eax, byte [edi + 0x36]
cmp cl, 3
movzx ecx, cl
cmove ecx, eax
cmp dword [ebp - 0x50], 2
mov dword [ebp - 0x3c], ecx
jne 0x1006463b
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x54], 2
jne 0x1006464d
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], ecx
test esi, esi
jne 0x1006465f
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x70], ecx
jmp 0x10064665
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov cl, byte [ebp - 0x30]
movzx esi, byte [edi + 0x3a]
mov bl, byte [ebp - 0x2c]
movzx edx, byte [edi + 0x3b]
mov eax, ecx
and al, 1
cmp cl, 2
movzx eax, al
cmove eax, esi
mov dword [ebp - 0x30], eax
mov eax, ebx
and al, 1
cmp bl, 2
movzx eax, al
cmove eax, edx
cmp dword [ebp - 0x58], 2
mov dword [ebp - 0x2c], eax
jne 0x100646a5
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x5c], 2
jne 0x100646b7
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], ecx
mov al, byte [ebp - 0x28]
cmp al, 2
jne 0x100646c3
mov eax, dword [edi + 0x3c]
jmp 0x100646c8
and al, 1
movzx eax, al
mov cl, byte [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x78]
movsd xmm0, qword [ebp - 0x80]
mov eax, ecx
mov dword [ebp - 0x84], edx
movsd qword [ebp - 0x8c], xmm0
and al, 1
cmp cl, 2
movzx ecx, byte [edi + 0x3d]
movzx eax, al
cmove eax, ecx
mov cl, byte [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, ecx
and al, 1
cmp cl, 2
movzx ecx, byte [edi + 0x3e]
movzx eax, al
cmove eax, ecx
mov cl, byte [edi + 0x34]
mov dword [ebp - 0x38], eax
mov al, byte [ebp - 0x44]
or cl, al
test al, al
movzx eax, byte [edi + 0x35]
mov byte [ebp - 0x1d], cl
movzx ecx, byte [ebp - 0x48]
cmove ecx, eax
and dword [ebp - 0x10], 0
mov dword [ebp - 0x48], ecx
lea ecx, [edi + 0x28]
mov dword [ebp - 0x44], ecx
push ecx
call fcn.10053103
pop eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x84]
movsd qword [edx], xmm0
mov dword [edx + 8], eax
mov al, byte [ebp - 0x1d]
mov byte [ecx + 0x34], al
mov eax, dword [ebp - 0x48]
mov byte [ecx + 0x35], al
mov eax, dword [ebp - 0x3c]
mov byte [ecx + 0x36], al
mov eax, dword [ebp - 0x40]
mov byte [ecx + 0x37], al
mov eax, dword [ebp - 0x4c]
mov byte [ecx + 0x38], al
mov eax, dword [ebp - 0x74]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x30]
mov byte [ecx + 0x3a], al
mov eax, dword [ebp - 0x2c]
mov byte [ecx + 0x3b], al
mov eax, dword [ebp - 0x28]
mov byte [ecx + 0x3c], al
mov eax, dword [ebp - 0x34]
mov byte [ecx + 0x3d], al
mov eax, dword [ebp - 0x38]
mov byte [ecx + 0x3e], al
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret