Function at 0x420620
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42092c
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, 3
jne 0x420915
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004127c0
movzx eax, byte [0x587bcd]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0xc]
mov ebx, dword [esp + 0x10]
test al, al
jne 0x420780
mov byte [esp + 0x1f], dl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov eax, dword [0x588014]
test eax, eax
jle 0x4206ba
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00412700
movzx eax, byte [esp + 8]
test al, al
jne 0x420800
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.00412850
movzx eax, byte [esp + 0xc]
test al, al
jne 0x42077c
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.00412880
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00429860
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00429c80
mov eax, dword [esp + 8]
cmp eax, 0x40
jae 0x4207f6
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 4]
test byte [edx], al
movzx ebx, byte [edx + eax + 0x840]
lea eax, [edx + eax + 0x840]
test cl, bl
jne 0x420743
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.00479d00
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x3e]
mov byte [esp], cl
call fcn.00429a70
movzx eax, byte [esp + 4]
test al, al
je 0x4207b1
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.00414ba0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4207f2
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004038a0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.00428ca0
movzx eax, byte [esp + 8]
test al, al
jne 0x4207ee
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00428b90
add esp, 0x28
ret
add esp, 0x28
ret
mov ecx, 0x40
call fcn.00474b30
call fcn.0043d390
lea eax, [0x4dcf9d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043dbf0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
lea eax, [0x4d82a5]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043dbf0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
lea eax, [0x4d6d35]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043dbf0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
lea eax, [0x4d6d5e]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043dbf0
call fcn.0043d3f0
lea eax, [0x4d6f18]
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.00420940
lea eax, [0x4d6dae]
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.00420940
mov eax, dword [0x587cec]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x95], 2
lea eax, [0x4d9df9]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0046f470
lea eax, [0x4de789]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0046f470
nop
call fcn.004736a0
jmp fcn.00420620