Function at 0x42ab60
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45aaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4641a0]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
je 0x42aef9
cmp word [ecx], bx
je 0x42aef9
lea eax, [esp + 0x2c]
push ecx
push eax
call fcn.0042af70
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
push ecx
call fcn.00420cb0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov esi, dword [eax - 8]
cmp esi, ebx
jne 0x42ac6c
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebx
jl 0x42abec
push eax
mov dword [edi], ecx
call dword [0x45d1b4]
jmp 0x42abfc
mov edx, dword [0x4641a0]
push ecx
mov ecx, edi
mov dword [edi], edx
call fcn.00405430
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4641a4]
mov esi, dword [0x45d1b0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ac2d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ac2d
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.0044c87a
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x4641a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ac58
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ac58
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0044c87a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x42ac7c
cmp esi, dword [eax - 4]
jle 0x42acb6
push esi
lea ecx, [esp + 0x30]
call fcn.00404720
test eax, eax
jne 0x42ac8e
xor edi, edi
jmp 0x42acba
lea eax, [esi + esi + 2]
lea ecx, [edi + 0xc]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.00401bc0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push edi
mov dword [ecx - 8], esi
call fcn.00405ba0
mov edi, dword [esp + 0x2c]
cmp word [edi], 0x22
push ebp
mov dword [esp + 0x18], ebx
jne 0x42ad9b
mov esi, dword [0x45d2c4]
add edi, 2
push 0x22
push edi
call esi
add esp, 8
cmp eax, ebx
je 0x42aec2
mov word [eax], bx
add eax, 2
push 0x5c
push edi
mov dword [esp + 0x20], eax
call esi
add esp, 8
test eax, eax
jne 0x42ad73
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0042b1d0
add esp, 8
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x24], 2
je 0x42ad57
cmp dword [ecx - 0xc], ebx
jge 0x42ad29
mov edx, dword [0x4641a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42ad2e
cmp dword [eax - 0xc], ebx
jge 0x42ad3e
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00408770
jmp 0x42ad57
lea ecx, [esp + 0x10]
call fcn.00405b60
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [0x45d1b4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00401c80
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp dword [ecx - 8], ebx
jmp 0x42aea2
cmp edi, ebx
jne 0x42ad7b
xor eax, eax
jmp 0x42ad82
push edi
call dword [0x45d1cc]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00408770
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp dword [ecx - 8], ebx
jmp 0x42aea2
mov edx, dword [esp + 0x30]
xor ebp, ebp
mov eax, dword [edx - 8]
lea esi, [edi + eax*2]
cmp esi, edi
jb 0x42ae68
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
lea ecx, [edi + eax*2]
cmp esi, ecx
sete bl
cmp word [esi], 0x20
je 0x42adc8
test bl, bl
je 0x42adf4
test bl, bl
mov ebp, esi
je 0x42add4
mov dword [esp + 0x18], esi
jmp 0x42ade0
lea edx, [esi + 2]
mov word [esi], 0
mov dword [esp + 0x18], edx
push edi
call dword [0x45d394]
test eax, eax
jne 0x42adfd
test bl, bl
jne 0x42adf4
mov word [esi], 0x20
sub esi, 2
cmp esi, edi
jae 0x42adaf
jmp 0x42ae68
push edi
lea ecx, [esp + 0x18]
call fcn.004171e0
mov ebx, dword [0x45d3b4]
push edi
mov byte [esp + 0x28], 3
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x42ae4c
push 0x468044
lea ecx, [esp + 0x18]
call fcn.00408d20
push 0x468044
push 0
lea ecx, [esp + 0x1c]
call fcn.0040c820
mov eax, dword [esp + 0x14]
push eax
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x42ae56
push edi
lea ecx, [esp + 0x14]
call fcn.00405430
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00401c80
test esi, esi
jne 0x42aea9
lea ecx, [esp + 0x14]
xor ebx, ebx
push edi
push ecx
mov word [ebp], bx
call fcn.0042b1d0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00409c90
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00401c80
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [edx - 8], ebx
setne al
cmp eax, ebx
je 0x42aec2
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00405430
push esi
call fcn.00420cb0
add esp, 4
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040c550
lea ecx, [esp + 0x30]
call fcn.00401c80
lea ecx, [esp + 0x10]
call fcn.00401c80
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [eax - 0xc]
mov esi, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp edx, ebx
mov dword [esi], eax
jl 0x42af12
push ecx
call dword [0x45d1b4]
jmp 0x42af2c
cmp eax, ebx
mov edi, eax
jne 0x42af1c
xor eax, eax
jmp 0x42af23
push eax
call dword [0x45d1cc]
push edi
push eax
mov ecx, esi
call fcn.00408770
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4641a4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42af5b
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x42af5b
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0044c87a
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret