Function at 0x42ac40
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43a221
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x448270]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448270]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xcc]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edi
call fcn.0042cdb0
xor ebx, ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc8], ebx
call sub.SHLWAPI.dll_PathFileExistsA
cmp eax, ebx
jne 0x42aceb
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00401bf0
mov eax, 0xe
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00413d5c
add esp, 0xb4
ret 4
push 0x38
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.004141c0
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, edi
call fcn.0042a650
mov esi, eax
cmp esi, ebx
je 0x42ad26
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00401bf0
mov eax, esi
jmp 0x42acc1
lea edx, [esp + 0x44]
push edx
call fcn.0042e3a0
add esp, 4
lea ecx, [esp + 0x17]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
call fcn.0042cdb0
xor eax, eax
xor ebp, ebp
cmp dword [esp + 0x30], eax
mov byte [esp + 0xc4], 1
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
jle 0x42aefb
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x7c]
cmp dword [edx + eax + 4], 0
mov ecx, dword [edx + eax]
jne 0x42ae7c
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1f]
call fcn.0042d740
cmp eax, 1
jne 0x42ae26
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x2c]
jne 0x42aedf
push ebp
add ebx, eax
xor eax, eax
lea edx, [esp + 0x94]
push 0x43fd04
push edx
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], al
call fcn.00436a90
lea eax, [esp + 0x9c]
add esp, 0xc
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42ae00
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42ae17
jmp 0x42aed1
xor eax, eax
push ebp
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], al
lea eax, [esp + 0x8c]
push 0x43fd04
push eax
add ebx, 1
call fcn.00436a90
lea eax, [esp + 0x94]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42ae58
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
nop
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42ae70
jmp 0x42aed1
push ebp
xor eax, eax
lea ecx, [esp + 0x84]
push 0x43fd04
push ecx
add ebx, 1
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], al
call fcn.00436a90
lea eax, [esp + 0x8c]
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42aeb0
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42aec7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x24]
add ebp, 1
add edx, 0x3c
cmp ebp, dword [esp + 0x30]
mov dword [esp + 0x24], edx
jl 0x42ad98
test ebx, ebx
jne 0x42af2a
lea ecx, [esp + 0x17]
mov byte [esp + 0xc4], 0
call fcn.00401bf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00401bf0
mov eax, 9
jmp 0x42acc1
mov ecx, dword [esp + 0x28]
push ebx
call fcn.00426a30
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
push 0x38
lea esi, [ebx + 0x18]
push 0
push esi
call fcn.004141c0
lea edx, [esp + 0x50]
push edx
push 0x32
push esi
call fcn.0041c739
mov dword [ebx + 0x4c], edi
xor edi, edi
add esp, 0x18
cmp dword [esp + 0x30], edi
jle 0x42b044
xor esi, esi
lea ebx, [ebx]
xor eax, eax
push edi
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], al
lea eax, [esp + 0x84]
push 0x43fd00
push eax
call fcn.00436a90
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.00436d00
add esp, 0x14
test eax, eax
je 0x42b034
mov eax, dword [esp + 0x7c]
mov ecx, dword [esi + eax + 0x38]
mov edx, dword [esi + eax + 0x34]
push ecx
mov ecx, dword [esi + eax + 0x30]
push edx
mov edx, dword [esi + eax + 0x2c]
push ecx
mov ecx, dword [esi + eax + 0x28]
push edx
mov edx, dword [esi + eax + 0x24]
push ecx
mov ecx, dword [esi + eax + 0x20]
push edx
mov edx, dword [esi + eax + 0x1c]
push ecx
mov ecx, dword [esi + eax + 0x18]
push edx
mov edx, dword [esi + eax + 0x14]
push ecx
mov ecx, dword [esi + eax + 0x10]
push edx
mov edx, dword [esi + eax + 0xc]
push ecx
mov ecx, dword [esi + eax + 8]
push edx
mov edx, dword [esi + eax + 4]
mov eax, dword [esi + eax]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00426b10
mov eax, dword [esp + 0x7c]
cmp dword [esi + eax + 4], 0
jne 0x42b020
mov ecx, dword [esi + eax]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0
jmp 0x42b02b
mov eax, dword [esi + eax]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 1
lea ecx, [esp + 0x23]
call fcn.0042cfd0
add edi, 1
add esi, 0x3c
cmp edi, dword [esp + 0x30]
jl 0x42af70
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.00428440
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
mov byte [esp + 0xc4], 2
or ecx, eax
jge 0x42b07a
push 0
lea ecx, [esp + 0x1c]
call fcn.004041b0
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebx
call fcn.004275b0
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x42b08e
xor eax, eax
jmp 0x42b0a0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42b093
sub eax, esi
js 0x42b104
cmp eax, dword [edx - 8]
jg 0x42b104
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xc4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov byte [esp + 0xc4], 0
call fcn.00401bf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00401bf0
xor eax, eax
jmp 0x42acc1
push 0x80070057
call fcn.00401000
int3