Function at 0x41eb50
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ee4d
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, 3
jne 0x41ee36
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00412b60
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [0x7178da]
test bl, bl
jne 0x41eca9
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f], cl
mov dword [esp + 0x20], edx
mov ebx, dword [0x717dac]
test ebx, ebx
jle 0x41ebec
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00412a80
movzx eax, byte [esp + 8]
test al, al
jne 0x41ed1f
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x1f]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov byte [esp + 4], cl
mov dword [esp + 8], edx
call fcn.00412bf0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x41eca5
mov eax, dword [esp + 0x24]
mov dword [esp], eax
movzx eax, byte [esp + 0x1f]
mov byte [esp + 4], al
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.00412c20
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00426ff0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00427490
mov eax, dword [esp + 4]
test byte [eax], al
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0xc]
movzx ebx, byte [eax + ecx + 0x40840]
lea eax, [eax + ecx + 0x40840]
test dl, bl
jne 0x41ec6c
mov dword [esp], eax
mov byte [esp + 4], dl
call fcn.00402420
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x3a]
mov byte [esp], cl
call fcn.00427210
movzx eax, byte [esp + 4]
test al, al
je 0x41ecda
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x40]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], ecx
adc edx, 0
mov dword [eax + 0xc], edx
add esp, 0x28
ret
add esp, 0x28
ret
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
mov dword [esp + 0x14], edx
call fcn.00416ae0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x41ed1b
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004026f0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004263f0
movzx eax, byte [esp + 8]
test al, al
jne 0x41ed17
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004262f0
add esp, 0x28
ret
add esp, 0x28
ret
call fcn.00438cf0
lea eax, [0x5d9d87]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00439880
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00439740
lea eax, [0x5d100d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00439880
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00439740
lea eax, [0x5ce9a8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439880
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00439740
lea eax, [0x5ce9d3]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439880
call fcn.00438d50
lea eax, [0x5cedac]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0041ee60
lea eax, [0x5cec34]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0041ee60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 2
lea eax, [0x5d4cd8]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004376f0
lea eax, [0x5dc0b4]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.004376f0
nop
call fcn.00462e70
jmp fcn.0041eb50