Function at 0x1004e230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017de6b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov byte [edi], 0
mov dword [edi + 6], eax
mov eax, dword [ecx]
mov dword [edi + 0xa], eax
mov eax, dword [ecx + 4]
lea ecx, [edi + 0x12]
push edx
mov dword [ebp - 0x60], edi
mov dword [edi + 0xe], eax
call fcn.1011bc60
mov ecx, dword [ebp + 0x18]
mov ebx, dword [edi + 0x1c]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x34], eax
test ebx, ebx
je 0x1004e42d
lea ecx, [edi + 0xa]
call fcn.1011b560
lea ecx, [edi + 0xa]
mov esi, eax
call fcn.1011b570
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebx + 0x250]
call fcn.10103860
push esi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x78]
call fcn.100a7fe0
lea ecx, [ebp - 0x38]
call fcn.101136a0
mov ecx, eax
call fcn.10112170
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x3c], eax
call fcn.100a7e50
dec eax
cmp esi, eax
mov esi, dword [ebp - 0x3c]
sete al
mov byte [edi + 1], al
test esi, esi
je 0x1004e323
mov ecx, esi
call fcn.1010b790
test al, al
je 0x1004e323
mov al, 1
jmp 0x1004e325
xor al, al
mov byte [edi + 2], al
test esi, esi
je 0x1004e33b
mov ecx, esi
call fcn.1010b8f0
test al, al
je 0x1004e33b
mov al, 1
jmp 0x1004e33d
xor al, al
mov ecx, dword [ebp - 0x40]
mov byte [edi + 3], al
call fcn.10048fb0
mov byte [edi + 4], al
test al, al
je 0x1004e42d
lea ecx, [ebp - 0x86]
call fcn.1011bf30
lea ecx, [ebp - 0x94]
mov esi, eax
call fcn.1011bf30
mov cx, word [ebp - 0x58]
movzx eax, word [eax + 4]
xor ax, cx
and ax, 0xf
xor cx, ax
movzx eax, word [esi + 4]
mov word [ebp - 0x58], cx
xor esi, esi
mov cx, word [ebp - 0x4a]
xor ax, cx
and ax, 0xf
xor cx, ax
mov eax, 0x92492493
mov word [ebp - 0x4a], cx
mov ecx, dword [ebx + 0x14c]
sub ecx, dword [ebx + 0x148]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004e42d
lea ebx, [ebx]
push esi
lea eax, [ebp - 0xa2]
mov ecx, ebx
push eax
call fcn.100bae50
mov edx, dword [edi + 0x18]
mov ecx, eax
movzx eax, word [ecx + 4]
xor eax, dword [ebp - 0x58]
and eax, 0xf
xor word [ebp - 0x58], ax
movzx eax, word [ecx + 0x12]
xor eax, dword [ebp - 0x4a]
and eax, 0xf
xor word [ebp - 0x4a], ax
cmp dword [ecx + 0x14], edx
jl 0x1004e3ff
mov eax, dword [edi + 6]
add eax, edx
cmp eax, dword [ecx + 6]
jg 0x1004e429
mov byte [edi + 4], 0
mov eax, 0x92492493
mov ecx, dword [ebx + 0x14c]
inc esi
sub ecx, dword [ebx + 0x148]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1004e3c0
jmp 0x1004e42d
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 0x14