Function at 0x1000afa0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3094
call fcn.10013ac0
mov eax, dword [0x10041280]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10043614], 0
jne 0x1000afd1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10043614], eax
push 0xffffffffffffffff
mov eax, dword [0x10043614]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x10]
push ecx
push str.DA_SLA_Challenge_len_d_in_HEX:
push 0x1003dae4
push 0x298
push 0x1003daf8
call fcn.10009640
add esp, 0x14
mov dword [ebp - 0x3080], 0
mov byte [ebp - 0x3044], 0
push 0xfff
push 0
lea edx, [ebp - 0x3043]
push edx
call fcn.10015040
add esp, 0xc
mov dword [ebp - 0x3080], 0
jmp 0x1000b041
mov eax, dword [ebp - 0x3080]
add eax, 1
mov dword [ebp - 0x3080], eax
mov ecx, dword [ebp - 0x3080]
cmp ecx, dword [ebp + 0x10]
jae 0x1000b076
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x3080]
movzx eax, byte [edx]
push eax
push 0x1003db0c
mov ecx, dword [ebp - 0x3080]
lea edx, [ebp + ecx*2 - 0x3044]
push edx
call fcn.1000e80b
add esp, 0xc
jmp 0x1000b032
lea eax, [ebp - 0x3044]
push eax
push 0x1003db14
push 0x29f
push 0x1003db28
call fcn.10009640
add esp, 0x10
push str.DA_SLA_Challenge_in_DEC:
push 0x1003db58
push 0x2a0
push 0x1003db6c
call fcn.10009640
add esp, 0x10
push 0x1003d349
lea ecx, [ebp - 0x305c]
call fcn.10002c20
mov dword [ebp - 0x3080], 0
jmp 0x1000b0db
mov ecx, dword [ebp - 0x3080]
add ecx, 1
mov dword [ebp - 0x3080], ecx
mov edx, dword [ebp - 0x3080]
cmp edx, dword [ebp + 0x10]
jae 0x1000b14b
mov byte [ebp - 0x44], 0
push 0x3f
push 0
lea eax, [ebp - 0x43]
push eax
call fcn.10015040
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x3080]
movzx edx, byte [ecx]
push edx
push 0x1003db80
lea eax, [ebp - 0x44]
push eax
call fcn.1000e80b
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x305c]
push edx
lea eax, [ebp - 0x3074]
push eax
call fcn.1000c060
add esp, 0xc
push eax
lea ecx, [ebp - 0x305c]
call fcn.10002cb0
lea ecx, [ebp - 0x3074]
call fcn.10002d60
jmp 0x1000b0cc
lea ecx, [ebp - 0x305c]
call fcn.10002ef0
push eax
push 0x1003db84
push 0x2a9
push 0x1003db98
call fcn.10009640
add esp, 0x10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
call fcn.1000a320
cmp dword [0x10042414], 0xffffffff
jne 0x1000b198
call fcn.10009f90
mov dword [0x10042414], eax
cmp dword [0x10042414], 0xffffffff
jne 0x1000b1e9
push 0x1003dbac
push 0x1003dbc4
push 0x2b3
push 0x1003dbd8
call fcn.10009640
add esp, 0x10
mov eax, dword [0x10043614]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x3090], 0xffffffff
lea ecx, [ebp - 0x305c]
call fcn.10002d60
mov eax, dword [ebp - 0x3090]
jmp 0x1000b5f9
mov ecx, dword [ebp + 0x10]
push ecx
push str.DA_SLA_Challenge_input_lenght__d
push 0x1003dc10
push 0x2b9
push 0x1003dc24
call fcn.10009640
add esp, 0x14
mov dword [ebp - 0x3078], 0xfffffffe
mov dword [ebp - 0x3084], 0
mov dword [ebp - 0x3088], 0
mov dword [ebp - 0x308c], 1
push 4
lea edx, [ebp - 0x308c]
push edx
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b250
jmp 0x1000b413
mov eax, dword [ebp - 0x3078]
sub eax, 1
mov dword [ebp - 0x3078], eax
push str.LoopWrite_1
push 0x1003dc44
push 0x2c2
push 0x1003dc58
call fcn.10009640
add esp, 0x10
push 4
lea ecx, [ebp + 0x10]
push ecx
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b297
jmp 0x1000b413
mov edx, dword [ebp - 0x3078]
sub edx, 1
mov dword [ebp - 0x3078], edx
push str.LoopWrite_2
push 0x1003dc78
push 0x2c4
push 0x1003dc8c
call fcn.10009640
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b2e0
jmp 0x1000b413
mov edx, dword [ebp - 0x3078]
sub edx, 1
mov dword [ebp - 0x3078], edx
push str.LoopWrite_3
push 0x1003dcac
push 0x2c6
push 0x1003dcc0
call fcn.10009640
add esp, 0x10
push 4
lea eax, [ebp - 0x3084]
push eax
push 0x10042414
call fcn.1000a020
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x1000b32d
jmp 0x1000b413
mov edx, dword [ebp - 0x3078]
sub edx, 1
mov dword [ebp - 0x3078], edx
mov eax, dword [ebp - 0x3084]
push eax
push str.1_LoopRead_sign_len___d
push 0x1003dcf0
push 0x2c9
push 0x1003dd04
call fcn.10009640
add esp, 0x14
cmp dword [ebp - 0x3084], 0
jne 0x1000b36d
jmp 0x1000b413
mov ecx, dword [ebp - 0x3078]
sub ecx, 1
mov dword [ebp - 0x3078], ecx
mov edx, dword [ebp - 0x3084]
push edx
call fcn.1000dc3e
add esp, 4
mov dword [ebp - 0x3088], eax
cmp dword [ebp - 0x3088], 0
jne 0x1000b39c
jmp 0x1000b413
mov eax, dword [ebp - 0x3078]
sub eax, 1
mov dword [ebp - 0x3078], eax
mov ecx, dword [ebp - 0x3084]
push ecx
mov edx, dword [ebp - 0x3088]
push edx
push 0x10042414
call fcn.1000a020
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x1000b3cf
jmp 0x1000b413
mov ecx, dword [ebp - 0x3078]
sub ecx, 1
mov dword [ebp - 0x3078], ecx
mov edx, dword [ebp - 0x3084]
push edx
push str.2_LoopRead_sign_len___d
push 0x1003dd34
push 0x2d1
push 0x1003dd48
call fcn.10009640
add esp, 0x14
mov dword [ebp - 0x3078], 0
xor eax, eax
jne 0x1000b227
mov ecx, dword [ebp - 0x3078]
push ecx
push 0x1003dd5c
push 0x1003dd78
push 0x2d6
push 0x1003dd8c
call fcn.10009640
add esp, 0x14
cmp dword [ebp - 0x3078], 0
je 0x1000b45c
cmp dword [ebp - 0x3088], 0
je 0x1000b457
mov edx, dword [ebp - 0x3088]
push edx
call fcn.1000c4dd
add esp, 4
jmp 0x1000b5cf
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x3084]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3088]
mov dword [edx], eax
push str.inputut:
push 0x1003ddac
push 0x2e1
push 0x1003ddc0
call fcn.10009640
add esp, 0x10
mov dword [ebp - 0x307c], 0
mov byte [ebp - 0x2044], 0
push 0xfff
push 0
lea ecx, [ebp - 0x2043]
push ecx
call fcn.10015040
add esp, 0xc
mov byte [ebp - 0x1044], 0
push 0xfff
push 0
lea edx, [ebp - 0x1043]
push edx
call fcn.10015040
add esp, 0xc
mov dword [ebp - 0x307c], 0
jmp 0x1000b4ed
mov eax, dword [ebp - 0x307c]
add eax, 1
mov dword [ebp - 0x307c], eax
mov ecx, dword [ebp - 0x307c]
cmp ecx, dword [ebp + 0x10]
jae 0x1000b522
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x307c]
movzx eax, byte [edx]
push eax
push 0x1003ddd4
mov ecx, dword [ebp - 0x307c]
lea edx, [ebp + ecx*2 - 0x2044]
push edx
call fcn.1000e80b
add esp, 0xc
jmp 0x1000b4de
lea eax, [ebp - 0x2044]
push eax
push 0x1003dddc
push 0x2e9
push 0x1003ddf0
call fcn.10009640
add esp, 0x10
push str.out:
push 0x1003de0c
push 0x2eb
push 0x1003de20
call fcn.10009640
add esp, 0x10
mov dword [ebp - 0x307c], 0
jmp 0x1000b577
mov ecx, dword [ebp - 0x307c]
add ecx, 1
mov dword [ebp - 0x307c], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x307c]
cmp eax, dword [edx]
jae 0x1000b5b1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x307c]
movzx ecx, byte [edx + eax]
push ecx
push str._02x
mov edx, dword [ebp - 0x307c]
lea eax, [ebp + edx*2 - 0x1044]
push eax
call fcn.1000e80b
add esp, 0xc
jmp 0x1000b568
lea ecx, [ebp - 0x1044]
push ecx
push 0x1003de3c
push 0x2f0
push 0x1003de50
call fcn.10009640
add esp, 0x10
mov edx, dword [0x10043614]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x3078]
mov dword [ebp - 0x3094], eax
lea ecx, [ebp - 0x305c]
call fcn.10002d60
mov eax, dword [ebp - 0x3094]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c244
mov esp, ebp
pop ebp
ret 0x14