Function at 0x41f840
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41fb3d
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, 3
jne 0x41fb26
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00412ee0
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [0x604fb0]
test bl, bl
jne 0x41f999
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f], cl
mov ebx, dword [0x6053ec]
test ebx, ebx
jle 0x41f8dc
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00412e00
movzx eax, byte [esp + 8]
test al, al
jne 0x41fa0f
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.00412f70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x41f995
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.00412fa0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00427da0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00428200
mov eax, dword [esp + 4]
test byte [eax], al
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0xc]
movzx ebx, byte [eax + ecx + 0x21840]
lea eax, [eax + ecx + 0x21840]
test dl, bl
jne 0x41f95c
mov dword [esp], eax
mov byte [esp + 4], dl
call fcn.004029a0
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x3a]
mov byte [esp], cl
call fcn.00427fc0
movzx eax, byte [esp + 4]
test al, al
je 0x41f9ca
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx + 0x40]
add ecx, ebx
adc edx, 0
mov dword [eax + 8], ecx
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.00416520
movzx eax, byte [esp + 0x18]
test al, al
jne 0x41fa0b
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00402cb0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004271e0
movzx eax, byte [esp + 8]
test al, al
jne 0x41fa07
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004270e0
add esp, 0x28
ret
add esp, 0x28
ret
call fcn.0043a340
lea eax, [0x50b854]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043ab80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043aa40
lea eax, [0x50524d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043ab80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0043aa40
lea eax, [0x5038f5]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043ab80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043aa40
lea eax, [0x503914]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043ab80
call fcn.0043a3a0
lea eax, [0x503b92]
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.0041fb50
lea eax, [0x503aac]
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.0041fb50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x507b2c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00438c50
lea eax, [0x50cef6]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00438c50
nop
call fcn.00463e70
jmp fcn.0041f840