Function at 0x421f20
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422219
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, 3
jne 0x422202
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00413900
movzx eax, byte [0x57acac]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0xc]
mov ebx, dword [esp + 0x10]
test al, al
jne 0x422077
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1f], dl
mov eax, dword [0x57b110]
test eax, eax
jle 0x421fba
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00413840
movzx eax, byte [esp + 8]
test al, al
jne 0x4220ed
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x1f]
mov ebx, dword [esp + 0x20]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], ebx
call fcn.00413990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x422073
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.004139c0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0042af80
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.0042b370
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 4]
test byte [edx], al
movzx ebx, byte [edx + eax + 0x21840]
lea eax, [edx + eax + 0x21840]
test cl, bl
jne 0x42203a
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.00403c10
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x3e]
mov byte [esp], cl
call fcn.0042b1a0
movzx eax, byte [esp + 4]
test al, al
je 0x4220a8
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx + 0x44]
add ecx, ebx
mov dword [eax + 8], ecx
adc edx, 0
mov dword [eax + 0xc], edx
add esp, 0x28
ret
add esp, 0x28
ret
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
mov dword [esp + 0x14], ebx
call fcn.00416e80
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4220e9
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00403e90
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.0042a430
movzx eax, byte [esp + 8]
test al, al
jne 0x4220e5
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042a330
add esp, 0x28
ret
add esp, 0x28
ret
call fcn.0043db00
lea eax, [0x4da941]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043e1d0
lea eax, [0x4d4e80]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0043e1d0
lea eax, [0x4d38e8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043e1d0
lea eax, [0x4d390f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043e310
call fcn.0043db60
lea eax, [0x4d3aea]
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.00422230
lea eax, [0x4d39f8]
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.00422230
mov eax, dword [0x57adc8]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x4d6ef9]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0043c250
lea eax, [0x4dbea9]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0043c250
nop
call fcn.004688b0
jmp fcn.00421f20