Function at 0x40d180
Capabilities:
Check mutex on windows
Create process on windows
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41e1f4
push eax
mov eax, 0x2050
mov dword fs:[0], esp
call fcn.00414df0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x9c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call fcn.0040b0b0
mov ebp, dword [esp + 0x2070]
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebp
mov dword [esp + 0x2074], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.0040e9c0
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, eax
and ecx, 0x3ff
push eax
mov word [0x428f34], cx
mov ecx, 0x428420
call fcn.00409840
mov ecx, 0x426f58
mov esi, dword [esp + 0x2078]
push esi
call fcn.00401aa0
push 0x422d58
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40d3ff
mov eax, dword [0x427064]
xor edi, edi
cmp eax, edi
je 0x40d281
mov ecx, 0x42907c
call fcn.00404e10
test al, 4
jne 0x40d3ff
push 0x422098
push 0x422064
push edi
lea ecx, [esp + 0x28]
call fcn.0040b280
lea ecx, [esp + 0x1c]
call fcn.0040b350
push 0x422250
push 0x4220c4
push edi
lea ecx, [esp + 0x28]
call fcn.0040b280
mov ecx, 0x427278
call fcn.004056b0
cmp dword [0x428ecc], edi
je 0x40d2cd
push edi
call fcn.00414cb0
add esp, 4
push esi
push ebx
push ebp
call fcn.0040c940
add esp, 0xc
test eax, eax
jne 0x40d3ff
cmp dword [0x427060], edi
je 0x40d37d
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x58]
push ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov ecx, 0x426f58
call fcn.004020d0
lea edx, [esp + 0x6a4]
push 0x104
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x6a4]
push esi
push eax
lea ecx, [esp + 0x1a8]
push 0x422c2c
push ecx
call fcn.00413140
add esp, 0x10
lea edx, [esp + 0x48]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x1a0]
push edx
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [esp + 0x6c4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40d3ff
mov ecx, 0x429048
call fcn.00405f00
cmp dword [0x429048], edi
je 0x40d3d7
cmp dword [0x429050], 3
jne 0x40d3d7
cmp dword [0x429054], 0x33
jne 0x40d3d7
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x469
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x422c84]
lea edx, [esp + 0x8ac]
push ecx
push 0x428504
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d3ff
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x9c]
push ecx
call fcn.00411d60
add esp, 4
test eax, eax
jne 0x40d41a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b0c0
xor eax, eax
jmp 0x40e971
call fcn.0040d060
mov dword [esp + 0x3c], eax
mov eax, dword [0x429048]
cmp eax, edi
jne 0x40d435
call fcn.0040cf60
mov dword [esp + 0x2c], eax
mov ecx, 0x42907c
call fcn.00404e10
mov ecx, eax
mov dword [esp + 0x18], eax
and ecx, 4
mov dword [esp + 0x20], ecx
jne 0x40d458
mov dword [0x428ed8], 0xfa000
mov ecx, dword [0x428418]
cmp ecx, edi
je 0x40d471
test ah, 8
jne 0x40d471
add dword [0x428ed8], 0x1f4000
cmp dword [0x429048], edi
je 0x40d482
cmp dword [0x429050], 5
je 0x40d4a2
mov al, byte [0x427892]
test al, al
je 0x40d4a2
cmp dword [0x42904c], edi
jne 0x40d4a2
push 0x427586
call fcn.004128c0
add esp, 4
jmp 0x40d4a7
mov eax, 1
cmp eax, edi
mov dword [esp + 0x28], eax
jne 0x40d4b9
add dword [0x428ed8], 0x27ac40
push 0x426bb0
push ebp
push edi
mov ecx, 0x428420
call fcn.0040a830
mov eax, dword [0x42905c]
cmp eax, edi
je 0x40d542
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x13
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c84]
lea ecx, [esp + 0x2a4]
push eax
push 0x428504
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x428708], 1
mov dword [esp + 0x24], edi
call fcn.0040b0b0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 1
call fcn.0040b370
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
jmp 0x40e8e3
cmp dword [0x429060], edi
jne 0x40d5b9
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x22
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c84]
lea ecx, [esp + 0x2a4]
push eax
push 0x428504
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x428708], 1
mov dword [esp + 0x24], edi
call fcn.0040b0b0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 2
call fcn.0040b370
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
jmp 0x40e8e3
mov eax, dword [0x42904c]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, edi
jne 0x40d62e
cmp dword [0x429048], edi
jne 0x40d62e
cmp dword [esp + 0x20], edi
jne 0x40d62e
test byte [esp + 0x18], 0x10
jne 0x40d62e
cmp dword [0x429074], edi
je 0x40d62e
mov eax, dword [0x42845c]
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x462
push eax
call ebx
mov eax, dword [0x422c84]
lea ecx, [esp + 0x2a4]
or eax, 0x104
push eax
push 0x428504
push ecx
push edi
call esi
cmp eax, 7
jne 0x40d62e
push edi
call fcn.00414cb0
add esp, 4
mov eax, dword [0x429058]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x40d645
add dword [0x428ed8], 0x186a0
mov ecx, 0x429048
call fcn.004062a0
mov eax, dword [0x429070]
cmp eax, edi
je 0x40d7d0
mov eax, dword [esp + 0x18]
test ah, 4
jne 0x40d7d0
mov ecx, 0x42907c
call fcn.00404e10
mov edi, eax
test edi, 0x200
je 0x40d6b3
mov eax, dword [0x42845c]
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x463
push eax
call ebx
mov eax, dword [0x422c84]
lea ecx, [esp + 0x2a4]
push eax
push 0x428504
push ecx
push 0
call esi
jmp 0x40e8e3
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x45f
push ebp
call ebx
mov ecx, dword [0x428ed8]
mov eax, 0x431bde83
mul ecx
shr edx, 0x12
lea eax, [esp + 0x2a4]
push edx
lea ecx, [esp + 0x10b0]
push eax
push ecx
call fcn.00413140
mov edx, dword [0x422c84]
add esp, 0xc
or edx, 4
lea eax, [esp + 0x10ac]
push edx
push 0x428504
push eax
push 0
call esi
cmp eax, 7
jne 0x40d731
or edi, 0x400
mov ecx, 0x42907c
push edi
mov dword [0x428ed4], 0
call fcn.00404eb0
jmp 0x40d7d0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40d7d0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40d7d0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40d7d0
lea ecx, [esp + 0x2a4]
push 0x400
push ecx
push 0x464
push ebp
call ebx
mov edx, dword [0x422c84]
lea eax, [esp + 0x2a4]
or edx, 4
push edx
push 0x428504
push eax
push 0
call esi
cmp eax, 6
jne 0x40d79f
mov ecx, 0x42907c
call fcn.00404fc0
mov ecx, 0x428420
call fcn.0040a9d0
jmp 0x40e8e3
lea ecx, [esp + 0x18]
call fcn.0040b0b0
mov eax, dword [0x428ed8]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x206c], 3
call fcn.0040b480
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
push 0x7d
push ebp
call dword [sym.imp.USER32.dll_LoadIconA]
mov eax, dword [0x42705c]
test eax, eax
je 0x40d80f
lea ecx, [esp + 0x18]
call fcn.0040b0b0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x206c], 4
call fcn.0040b370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
mov ecx, 0x42907c
call fcn.00404c60
mov ecx, 0x42907c
mov dword [esp + 0x34], eax
call fcn.00404e10
mov ecx, 0x42907c
mov dword [esp + 0x18], eax
call fcn.00404d70
mov dword [esp + 0x40], eax
call fcn.0040cd50
mov bp, ax
and ebp, 0xffff
jne 0x40d858
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov bp, ax
and ebp, 0xffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40d8e9
mov ecx, dword [esp + 0x30]
xor ecx, ebp
test ecx, 0x3ff
je 0x40d8e9
mov eax, dword [esp + 0x2070]
lea edx, [esp + 0x8ac]
push 0x800
push edx
push 0x44d
push eax
call ebx
push 0x30
lea ecx, [esp + 0x8b0]
push 0x428608
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x428708], 1
mov dword [esp + 0x24], 0
call fcn.0040b0b0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 5
call fcn.0040b370
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
jmp 0x40e8e3
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40dabc
lea edx, [esp + 0x9c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x422d48
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x38], eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa0]
push ecx
call fcn.0040e9c0
mov edx, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x40da0e
xor edx, ebp
test edx, 0x3ff
je 0x40dabc
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x452
push ecx
call ebx
push 0x427cbc
lea edx, [esp + 0x8b0]
push 0x427cbc
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413140
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x428608
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40dabc
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x428708], 1
call fcn.0040b0b0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 6
call fcn.0040b370
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
jmp 0x40e8e3
xor edx, dword [esp + 0x38]
test edx, 0x3ff
je 0x40dabc
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x453
push ecx
call ebx
push 0x427cbc
lea edx, [esp + 0x8b0]
push 0x427cbc
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413140
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x428608
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40dabc
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x428708], 1
call fcn.0040b0b0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 7
call fcn.0040b370
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
jmp 0x40e8e3
mov ebx, dword [esp + 0x18]
mov dword [0x428ec8], 0
test bl, 1
jne 0x40dc19
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 8
je 0x40daf6
mov ecx, eax
call fcn.00411ee0
jmp 0x40daf8
xor eax, eax
push 0x412030
push 0x426bb0
push 0x65
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429084], eax
call fcn.00408960
mov edx, dword [0x429084]
push 0x65
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x429084]
push 0x44
mov dword [ecx + 0x34], eax
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 9
je 0x40db5f
mov ecx, eax
call fcn.00402fd0
jmp 0x40db61
xor eax, eax
push 0x403020
push 0x426bb0
push 0x68
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42908c], eax
call fcn.00408960
mov ecx, dword [0x42908c]
push 0x68
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x42908c]
push 0xe8
mov dword [ecx + 0x34], eax
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xa
je 0x40dbcb
mov ecx, eax
call fcn.0040f610
jmp 0x40dbcd
xor eax, eax
push 0x40fd30
push 0x426bb0
push 0x69
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429090], eax
call fcn.00408960
mov eax, dword [0x429090]
push 0x69
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428420
call fcn.0040a910
mov ecx, dword [0x429090]
mov ebp, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
jmp 0x40dc9a
mov ebp, dword [esp + 0x34]
cmp ebp, 4
je 0x40dc9a
test bl, 0x10
je 0x40dc9a
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xb
je 0x40dc4a
mov ecx, eax
call fcn.00411ee0
jmp 0x40dc4c
xor eax, eax
push 0x412330
push 0x426bb0
push 0x74
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429088], eax
call fcn.00408960
mov edx, dword [0x429088]
push 0x74
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x429088]
mov dword [ecx + 0x34], eax
mov dword [0x428ec8], 1
mov eax, dword [0x429048]
test eax, eax
je 0x40dda3
cmp dword [0x429050], 3
jne 0x40dda3
cmp dword [0x429054], 0x33
jne 0x40dda3
push 0x29c8
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xc
je 0x40dce7
mov ecx, eax
call fcn.0040b4e0
jmp 0x40dce9
xor eax, eax
push 0x40bbf0
push 0x426bb0
push 0x7f
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290bc], eax
call fcn.00408960
mov ecx, dword [0x4290bc]
push 0x7f
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x4290bc]
test bl, 0x10
mov dword [ecx + 0x34], eax
jne 0x40e6e0
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xd
je 0x40dd59
mov ecx, eax
call fcn.00411ee0
jmp 0x40dd5b
xor eax, eax
push 0x40adf0
push 0x426bb0
push 0x73
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a8], eax
call fcn.00408960
mov eax, dword [0x4290a8]
push 0x73
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428420
call fcn.0040a910
mov ecx, dword [0x4290a8]
mov dword [ecx + 0x34], eax
jmp 0x40e6e0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40de16
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xe
je 0x40ddce
mov ecx, eax
call fcn.00411ee0
jmp 0x40ddd0
xor eax, eax
push 0x407f90
push 0x426bb0
push 0x70
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a4], eax
call fcn.00408960
mov edx, dword [0x4290a4]
push 0x70
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x4290a4]
mov dword [ecx + 0x34], eax
jmp 0x40de22
push 2
mov ecx, 0x42907c
call fcn.00404d00
mov esi, dword [esp + 0x40]
cmp esi, 4
je 0x40de33
test edi, edi
je 0x40deb4
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xf
je 0x40de56
mov ecx, eax
call fcn.00411ee0
jmp 0x40de58
xor eax, eax
push 0x404890
push 0x426bb0
push 0x6d
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429098], eax
call fcn.00408960
mov ecx, dword [0x429098]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x429098]
cmp esi, 4
mov dword [ecx + 0x34], eax
jne 0x40deb4
mov eax, dword [0x429098]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428420
call fcn.0040a4d0
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x40df36
mov ecx, 0x42907c
call fcn.00404d70
cmp eax, 3
je 0x40df36
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x10
je 0x40deee
mov ecx, eax
call fcn.00411ee0
jmp 0x40def0
xor eax, eax
push 0x404350
push 0x426bb0
push 0x6c
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429094], eax
call fcn.00408960
mov edx, dword [0x429094]
push 0x6c
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x429094]
mov dword [ecx + 0x34], eax
jmp 0x40df51
mov ecx, 0x42907c
call fcn.00404c60
cmp eax, 4
je 0x40df51
push 2
mov ecx, 0x42907c
call fcn.00404bf0
cmp ebp, 4
je 0x40df5e
test esi, esi
jne 0x40dfe3
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x11
je 0x40df81
mov ecx, eax
call fcn.00411ee0
jmp 0x40df83
xor eax, eax
push 0x404890
push 0x426bb0
push 0x6d
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429098], eax
call fcn.00408960
mov ecx, dword [0x429098]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x429098]
cmp ebp, 4
mov dword [ecx + 0x34], eax
jne 0x40dfdf
mov eax, dword [0x429098]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428420
call fcn.0040a4d0
test esi, esi
je 0x40e05a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40e05a
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x12
je 0x40e00e
mov ecx, eax
call fcn.00411ee0
jmp 0x40e010
xor eax, eax
push 0x410710
push 0x426bb0
push 0x92
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290c4], eax
call fcn.00408960
mov edx, dword [0x4290c4]
push 0x92
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x4290c4]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40e0da
mov al, byte [0x428314]
test al, al
je 0x40e0da
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x13
je 0x40e08e
mov ecx, eax
call fcn.00411ee0
jmp 0x40e090
xor eax, eax
push 0x410ab0
push 0x426bb0
push 0x95
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290c8], eax
call fcn.00408960
mov ecx, dword [0x4290c8]
push 0x95
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x4290c8]
mov dword [ecx + 0x34], eax
test bl, 2
jne 0x40e189
lea eax, [esp + 0x10ac]
mov ecx, 0x428420
push eax
call fcn.0040e990
mov ecx, eax
mov byte [esp + 0x2068], 0x14
call fcn.004112f0
lea ecx, [esp + 0x10ac]
mov esi, eax
mov byte [esp + 0x2068], 0
call fcn.00410fb0
test esi, esi
je 0x40e189
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x15
je 0x40e141
mov ecx, eax
call fcn.00411ee0
jmp 0x40e143
xor eax, eax
push 0x40ed80
push 0x426bb0
push 0x6e
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42909c], eax
call fcn.00408960
mov ecx, dword [0x42909c]
push 0x6e
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x42909c]
mov dword [ecx + 0x34], eax
jmp 0x40e19b
or ebx, 2
mov ecx, 0x42907c
push ebx
mov dword [esp + 0x1c], ebx
call fcn.00404eb0
mov eax, ebx
and eax, 4
mov dword [esp + 0x20], eax
jne 0x40e400
mov al, byte [0x427068]
test al, al
jne 0x40e25b
push 0x29c8
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x16
je 0x40e1dd
mov ecx, eax
call fcn.0040b4e0
jmp 0x40e1df
xor eax, eax
mov dword [0x4290bc], eax
mov ecx, dword [eax + 0x40]
test ecx, ecx
mov byte [esp + 0x2068], 0
je 0x40e25b
push 0x40
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x17
je 0x40e216
mov ecx, eax
call fcn.00402cb0
jmp 0x40e218
xor eax, eax
push 0x402cd0
push 0x426bb0
push 0x75
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290b0], eax
call fcn.00408960
mov eax, dword [0x4290b0]
push 0x75
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428420
call fcn.0040a910
mov ecx, dword [0x4290b0]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
call fcn.0040b0b0
lea edx, [esp + 0x1a0]
mov ebp, 1
push 0x104
push edx
push ebp
push 0x4224ec
push 0x4224c0
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x2080], 0x18
call fcn.0040b0d0
test eax, eax
je 0x40e37e
lea edi, [esp + 0x1a0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x1a0]
push eax
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x5c
je 0x40e2f9
mov edi, 0x4220bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x422d44
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2a4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e37e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x2a4]
push edx
push esi
call edi
test eax, eax
je 0x40e37e
mov bl, 0x2e
cmp byte [esp + 0x2d0], bl
jne 0x40e378
lea eax, [esp + 0x2a4]
push eax
push esi
call edi
test eax, eax
jne 0x40e35e
jmp 0x40e37a
xor ebp, ebp
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x40e3eb
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x19
je 0x40e3a5
mov ecx, eax
call fcn.00411ee0
jmp 0x40e3a7
xor eax, eax
push 0x4073b0
push 0x426bb0
push 0x79
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0x18
mov dword [0x4290b4], eax
call fcn.00408960
mov ecx, dword [0x4290b4]
push 0x79
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x4290b4]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2068], 0
call fcn.0040b0c0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e46c
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1a
je 0x40e427
mov ecx, eax
call fcn.00411ee0
jmp 0x40e429
xor eax, eax
push 0x4062f0
push 0x426bb0
push 0x6f
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a0], eax
call fcn.00408960
mov eax, dword [0x4290a0]
push 0x6f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428420
call fcn.0040a910
mov ecx, dword [0x4290a0]
mov dword [ecx + 0x34], eax
test bl, 8
je 0x40e47a
mov eax, dword [0x428ec8]
test eax, eax
je 0x40e4ec
mov al, byte [0x427bab]
test al, al
je 0x40e4ec
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1b
je 0x40e4a6
mov ecx, eax
call fcn.00411ee0
jmp 0x40e4a8
xor eax, eax
push 0x4079c0
push 0x426bb0
push 0x71
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290ac], eax
call fcn.00408960
mov edx, dword [0x4290ac]
push 0x71
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x4290ac]
mov dword [ecx + 0x34], eax
push 0x1b04
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1c
je 0x40e514
mov ecx, eax
call section..text
mov esi, eax
jmp 0x40e516
xor esi, esi
mov dword [0x4290b8], esi
mov eax, dword [esi + 0x3c]
test eax, eax
mov byte [esp + 0x2068], 0
je 0x40e564
push 0x4013d0
push 0x426bb0
push 0x77
push 0x428420
mov ecx, esi
call fcn.00408960
mov ecx, dword [0x4290b8]
push 0x77
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428420
push edx
call fcn.0040a910
mov ecx, dword [0x4290b8]
mov dword [ecx + 0x34], eax
jmp 0x40e582
test esi, esi
je 0x40e578
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov dword [0x4290b8], 0
mov ecx, dword [0x4290bc]
test ecx, ecx
jne 0x40e5c4
push 0x29c8
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1d
je 0x40e5b2
mov ecx, eax
call fcn.0040b4e0
jmp 0x40e5b4
xor eax, eax
mov ecx, eax
mov byte [esp + 0x2068], 0
mov dword [0x4290bc], ecx
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x40e601
push 0x40bbf0
push 0x426bb0
push 0x7f
push 0x428420
call fcn.00408960
mov eax, dword [0x4290bc]
push 0x7f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428420
call fcn.0040a910
mov ecx, dword [0x4290bc]
mov dword [ecx + 0x34], eax
jmp 0x40e61f
mov esi, ecx
test esi, esi
je 0x40e615
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov dword [0x4290bc], 0
test bl, 0x10
jne 0x40e68d
push 0x3c
call fcn.00414c70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1e
je 0x40e647
mov ecx, eax
call fcn.00411ee0
jmp 0x40e649
xor eax, eax
push 0x40adf0
push 0x426bb0
push 0x73
push 0x428420
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a8], eax
call fcn.00408960
mov edx, dword [0x4290a8]
push 0x73
mov ecx, 0x428420
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a910
mov ecx, dword [0x4290a8]
mov dword [ecx + 0x34], eax
mov ecx, 0x42907c
call fcn.00404e10
mov ebx, eax
test bl, 0x40
je 0x40e6b5
mov eax, dword [0x4290b8]
test eax, eax
je 0x40e6b5
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428420
call fcn.0040a4d0
test bl, 0x80
je 0x40e6d1
mov eax, dword [0x4290bc]
test eax, eax
je 0x40e6d1
mov edx, dword [eax + 0x34]
mov ecx, 0x428420
push edx
call fcn.0040a4d0
push 0x422d34
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], eax
mov ecx, 0x428420
call fcn.0040a8f0
mov esi, dword [0x429084]
test esi, esi
je 0x40e704
mov ecx, esi
call fcn.00410aa0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x429088]
test esi, esi
je 0x40e71e
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x42908c]
test esi, esi
je 0x40e738
mov ecx, esi
call fcn.00402ff0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x429090]
test esi, esi
je 0x40e752
mov ecx, esi
call fcn.00410aa0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x429094]
test esi, esi
je 0x40e76c
mov ecx, esi
call fcn.00410aa0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x429098]
test esi, esi
je 0x40e786
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x42909c]
test esi, esi
je 0x40e7a0
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290a0]
test esi, esi
je 0x40e7ba
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290a4]
test esi, esi
je 0x40e7d4
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290a8]
test esi, esi
je 0x40e7ee
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290ac]
test esi, esi
je 0x40e808
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290b0]
test esi, esi
je 0x40e822
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290b4]
test esi, esi
je 0x40e83c
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290b8]
test esi, esi
je 0x40e856
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290bc]
test esi, esi
je 0x40e870
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290c0]
test esi, esi
je 0x40e88a
mov ecx, esi
call fcn.00411e10
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290c4]
test esi, esi
je 0x40e8a4
mov ecx, esi
call fcn.00410aa0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [0x4290c8]
test esi, esi
je 0x40e8be
mov ecx, esi
call fcn.00410aa0
push esi
call fcn.00414c60
add esp, 4
mov esi, dword [esp + 0x44]
test esi, esi
je 0x40e8d4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40e8e3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x42907c
call fcn.00404e10
mov ebx, eax
test bh, 0x30
je 0x40e902
and bh, 0xcf
mov ecx, 0x42907c
push ebx
call fcn.00404eb0
mov edx, dword [esp + 0x2070]
lea ecx, [esp + 0x7a8]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x7a8]
push eax
call fcn.00413b40
add esp, 4
lea ecx, [esp + 0x7a8]
push 0x422ce4
push ecx
call fcn.00413830
add esp, 8
test eax, eax
je 0x40e959
mov eax, dword [0x428708]
test eax, eax
jne 0x40e954
test bl, 0x10
je 0x40e959
call fcn.0040c740
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b0c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2060]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x205c
ret 0x10