Function at 0x42a840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59499c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x42a889
xor eax, eax
jmp 0x42ae76
push 0x4c4
call fcn.004a3da5
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x42a8c6
push 0x4c4
push 0
push esi
call fcn.0053c7b0
add esp, 0xc
mov ecx, esi
push 0
call fcn.00442310
mov esi, eax
mov dword [ebp - 0x4c], eax
jmp 0x42a8cb
xor esi, esi
mov dword [ebp - 0x4c], esi
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push 0
push SysReAllocString
push 0x5ab0c0
push dword [ebx + 4]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004ae900
push 1
mov ecx, esi
call fcn.0044a0b0
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00432890
mov dword [ebp - 0x18], eax
mov ebx, dword [edi]
or esi, 0xffffffff
mov eax, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x50], eax
cmp ebx, eax
je 0x42ad84
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x364]
sub eax, 0x10
push eax
call fcn.00417940
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov byte [ebp - 4], 2
jb 0x42a96b
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0040c960
test eax, eax
je 0x42ae94
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0040c510
test al, al
jne 0x42a9c9
test esi, esi
jne 0x42a9a7
xor ecx, ecx
jmp 0x42a9bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a9b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040e8d0
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x364]
cmp dword [eax - 0xc], 0
je 0x42abb6
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x42ae94
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x5aab8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0040c510
test al, al
jne 0x42aa1e
push 1
push 0x5aab8c
lea ecx, [ebp - 0x28]
call fcn.0040e8d0
mov eax, dword [ebx + 0x364]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x42aa3b
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x42aa47
call fcn.0040c960
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 8
test eax, eax
je 0x42ae94
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x3c]
or eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
push dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 0x364]
push eax
lea eax, [ebp - 0x1c]
push dword [ecx - 0xc]
push ecx
push eax
call fcn.0042b0b0
add esp, 0x14
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi - 0x10]
lea ebx, [esi - 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], ebx
test ecx, ecx
je 0x42aab6
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x42aac2
call fcn.0040c960
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x42ae94
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
or eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
push dword [eax - 0xc]
lea ecx, [eax - 0x10]
push eax
push dword [ebx + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], ecx
push esi
push eax
call fcn.0042b0b0
mov eax, dword [ebp - 0x24]
lea ebx, [edi - 0x10]
add esp, 0x14
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x42ab5f
mov ecx, dword [ebx + 0xc]
lea edi, [ebx + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x42ab50
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x42ab50
push esi
call fcn.00417940
add esp, 4
mov dword [ebp - 0x30], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x42ab48
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
jmp 0x42ab5f
push dword [esi + 4]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040e8d0
mov edi, dword [ebp - 0x20]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ab76
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
and eax, 0xfffffffc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ab99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ac0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42ac0f
mov eax, dword [ebp - 0x40]
lea esi, [edi - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x34], edx
cmp edx, esi
je 0x42ac0f
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x42ac00
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x42ac00
push edx
call fcn.00417940
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x42abf8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x20], edi
jmp 0x42ac0f
push dword [edx + 4]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040e8d0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x42acf2
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
cmp dword [edi + 0x14], 8
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x1c], edi
jb 0x42ac41
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x38], edx
jb 0x42ac4f
mov ecx, dword [ecx]
cmp dword [edi + 0x10], edx
mov eax, edx
cmovb eax, dword [edi + 0x10]
push eax
push dword [ebp - 0x1c]
push ecx
call fcn.00413cb0
mov edx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
jne 0x42ac7c
mov eax, dword [ebp - 0x38]
cmp edx, eax
jbe 0x42ac78
or eax, 0xffffffff
jmp 0x42ac7c
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x42ac88
mov ebx, dword [ebx + 8]
jmp 0x42ac8c
mov esi, ebx
mov ebx, dword [ebx]
cmp byte [ebx + 0xd], 0
je 0x42ac30
mov edi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x18]
je 0x42acf2
cmp dword [esi + 0x24], 8
lea ecx, [esi + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
jb 0x42acab
mov ecx, dword [ecx]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
cmp dword [ebx + 0x14], 8
jb 0x42acbc
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x1c], edx
mov eax, edx
cmovb eax, dword [ebp - 0x1c]
push eax
push ecx
push dword [ebp - 0x28]
call fcn.00413cb0
add esp, 0xc
test eax, eax
jne 0x42ace9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x42ace5
or eax, 0xffffffff
jmp 0x42ace9
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
jne 0x42acf5
jmp 0x42ad22
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x41]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x38]
push eax
push 0x5ab8f8
lea ecx, [ebp - 0x18]
call fcn.0041d390
push eax
add eax, 0x10
lea ecx, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
call fcn.0041eef0
mov esi, dword [ebp - 0x5c]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad27
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x28]
call fcn.00413b10
mov edx, dword [ebp - 0x34]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ad5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42ad75
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0x18
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [ebp - 0x50]
jne 0x42a942
mov ebx, dword [ebp - 0x48]
lea eax, [ebx + 0x330]
mov dword [ebx + 0x470], 1
cmp dword [eax + 0x14], 8
jb 0x42ad9f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040be50
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x348]
mov byte [ebp - 4], 0xb
push eax
movzx eax, byte [ebx + 0x3d8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044a190
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42ade9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.004a63c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebx + 4]
mov ecx, edi
call fcn.004a63c0
push esi
push eax
call fcn.0046ffb0
add esp, 8
mov eax, dword [ebp - 0x18]
mov ebx, eax
mov dword [ebp - 4], 0xc
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x42ae4f
push dword [esi + 8]
lea ecx, [ebp - 0x18]
call fcn.00433200
mov esi, dword [esi]
lea ecx, [edi + 0x10]
call fcn.00428dc0
push 0x40
push edi
call fcn.004a3dd5
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x42ae24
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x18]
push 0x40
mov dword [eax], ebx
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004a3dd5
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040c4f0
int3