Function at 0x42ed00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abb30
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor esi, esi
mov dword [esp + 0x78], esi
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x78], 1
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xb0]
push esi
push esi
mov ecx, ebp
call edx
mov dword [ebp + 0x48c], esi
mov eax, dword [0x4dbc28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [esi], eax
mov esi, ebp
call fcn.00434c50
lea eax, [esp + 0x20]
lea esi, [ebp + 0x428]
mov ebx, 4
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x7c
mov eax, 0x4dbc28
call fcn.0040c900
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x80
mov eax, 0x4dbc84
call fcn.0040c900
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
add eax, 0x84
push 0x4b2eec
xor ebx, ebx
call fcn.0040cfc0
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x24], 4
call fcn.0043a300
add eax, 0x88
push 0x4b2eec
call fcn.0040cfc0
lea ecx, [esp + 0x20]
push ecx
mov ebx, 4
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x8c
mov eax, 0x4dbc80
call fcn.0040c900
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x94
mov eax, 0x4dbc7c
call fcn.0040c900
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x70
mov eax, 0x4dbc78
call fcn.0040c900
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov edi, 0x42f420
mov dword [esp + 0x24], ebx
call fcn.0043a300
xor ecx, ecx
mov dword [eax + 0xe8], edi
lea edx, [esp + 0x20]
mov dword [eax + 0xec], ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.0043a300
mov ecx, eax
add ecx, 0xbc
call fcn.00401170
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x78], 2
mov eax, dword [0x4dbc28]
add eax, 0xfffffff0
call fcn.0040d0b0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x7c], 3
call fcn.00438c70
lea ecx, [esp + 0x20]
push ecx
call fcn.0042f250
test eax, eax
mov dword [esp + 0x28], ebx
mov ecx, esi
je 0x42ef51
lea edx, [esp + 0x28]
push edx
call fcn.0043a300
mov eax, dword [eax + 0x8c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 0x4b9938
jmp 0x42ef73
lea eax, [esp + 0x28]
push eax
call fcn.0043a300
mov ecx, dword [eax + 0x8c]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x440]
push ecx
push edx
push eax
push 0x4b995c
lea edi, [esp + 0x28]
call fcn.0040e820
mov eax, dword [0x4dbc78]
mov ecx, dword [eax - 0xc]
add esp, 0x10
test ecx, ecx
jl 0x42efb9
push 0x4b9a2c
push eax
call fcn.004882f5
add esp, 8
test eax, eax
je 0x42efb9
sub eax, dword [0x4dbc78]
sar eax, 1
cmp eax, 0xffffffff
je 0x42efb9
push 6
push 0x4b9a2c
mov ecx, edi
push ecx
call fcn.0043fad0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x48
lea eax, [esp + 0x18]
call fcn.0040c900
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f03b
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0043a300
mov ecx, dword [eax + 0x94]
add eax, 0x94
cmp dword [ecx - 0xc], 0
je 0x42f03b
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0043a300
add eax, 0x94
mov eax, dword [eax]
push 0
mov edx, eax
mov ecx, edi
call fcn.00465160
add esp, 4
test eax, eax
jne 0x42f18d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.0043a300
cmp dword [eax + 0x10], 0
jne 0x42f059
push ebx
mov ecx, ebp
call fcn.00436040
push 0x1a8e
push 0x4b8130
push 0x4b9a3c
lea edx, [esp + 0x3c]
push edx
mov esi, 0x42f420
xor ebx, ebx
call fcn.0041bb60
mov edi, eax
push ebx
push esi
lea ecx, [ebp + 0x40c]
mov byte [esp + 0x80], 5
call fcn.00441a60
push eax
push edi
push ebx
call fcn.0041bdd0
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x64], esi
jb 0x42f0b3
mov eax, dword [esp + 0x50]
push eax
call fcn.00487c06
add esp, 4
cmp dword [esp + 0x48], esi
mov edi, 0xf
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x42f0d7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00487c06
add esp, 4
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f12d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f179
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1a7f
push 0x4b8130
push 0x4b9a3c
lea eax, [esp + 0x3c]
xor edi, edi
push eax
mov dword [ebp + 0x4c8], 1
mov esi, fcn.00423040
mov dword [esp + 0x38], edi
call fcn.0041bb60
mov dword [esp + 0x2c], eax
push edi
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x40c]
mov byte [esp + 0x84], bl
call fcn.00441e00
mov edx, dword [esp + 0x2c]
push eax
push edx
push edi
call fcn.0041bdd0
add esp, 0xc
lea esi, [esp + 0x30]
call fcn.0041bd10
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
jmp 0x42f131