joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10057110
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x24
mov eax, dword [0x100d1444]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x30]
push edi
mov eax, dword [ebx]
sub eax, 2
je 0x10057175
sub eax, 0x15
jne 0x1005720c
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov eax, 0x17
mov word [esp + 0x10], ax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], 0x1c
test eax, eax
je 0x1005715d
push eax
jmp 0x10057160
push dword [esi + 0x14]
call fcn.10059aa0
movups xmm0, xmmword [ebx + 4]
mov word [esp + 0x16], ax
movups xmmword [esp + 0x1c], xmm0
jmp 0x100571ae
mov eax, 2
mov dword [esp + 0xc], 0x10
mov word [esp + 0x10], ax
xorps xmm0, xmm0
mov eax, dword [ebx + 0x14]
movlpd qword [esp + 0x18], xmm0
test eax, eax
je 0x1005719a
push eax
jmp 0x1005719d
push dword [esi + 0x14]
call fcn.10059aa0
mov word [esp + 0x16], ax
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x91b8]
add esp, 4
mov ecx, dword [ebx]
test eax, eax
je 0x100571d1
push dword [esi + 0x91bc]
mov eax, dword [eax]
push 0
push 2
push ecx
call eax
add esp, 0x10
jmp 0x100571dc
push 0
push 2
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005720c
push esi
push dword [ebx]
push edi
call fcn.100568a0
add esp, 0xc
test eax, eax
jns 0x1005723d
mov eax, dword [esi + 0x91b8]
test eax, eax
je 0x10057221
push dword [esi + 0x91bc]
mov eax, dword [eax + 4]
push edi
call eax
add esp, 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x24
ret
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x24
ret
mov eax, dword [esi + 0x91b0]
push ebp
test eax, eax
je 0x1005725c
push dword [esi + 0x91b4]
push 2
push edi
call eax
mov ebp, eax
add esp, 0xc
test ebp, ebp
js 0x100572c6
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.10056580
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100572a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x100572a8
cmp eax, 0x2733
je 0x100572a8
push edi
push esi
call fcn.10056550
add esp, 8
or eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x24
ret
mov eax, dword [esi + 0x91a8]
test eax, eax
je 0x100572e5
push dword [esi + 0x91ac]
push 2
push edi
call eax
mov ebp, eax
add esp, 0xc
test ebp, ebp
jns 0x100572e5
push edi
push esi
call fcn.10056550
add esp, 8
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x24
ret
mov eax, dword [esi + 0x91a0]
test eax, eax
je 0x100572ff
push 0
push 1
push edi
push dword [esi + 0x91a4]
call eax
add esp, 0x10
mov ecx, dword [esp + 0x30]
xor eax, eax
pop ebp
mov dword [ebx + 0x1c], edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005e4a8
add esp, 0x24
ret
Function at 0x100580b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
mov edx, dword [ecx + 0x91b8]
test edx, edx
je 0x100580ee
push dword [ecx + 0x91bc]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 4]
push 1
push eax
push dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
call eax
add esp, 0x10
add esp, 8
ret
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
add esp, 8
ret
Function at 0x10058270
Capabilities:
Send data
Send data on socket

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10058289
cmp edx, 0xffffffff
je 0x1005844e
push ebx
mov ebx, dword [esp + 0x18]
push ebp
xor ebp, ebp
cmp dword [ebx + 0x78], ebp
jle 0x1005844c
xor eax, eax
mov dword [esp + 0xc], eax
push edi
mov edi, dword [ebx + 0x74]
add edi, eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x10058436
mov ecx, dword [edi + 0x20]
cmp ecx, 0xffffffff
je 0x10058436
cmp dword [edi + 0x54], 0
jne 0x10058436
test esi, esi
je 0x10058337
push esi
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10058432
mov esi, dword [esi]
xor ecx, ecx
test esi, esi
je 0x10058332
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x20]
add eax, 4
nop dword [eax]
cmp dword [eax], edx
je 0x10058301
inc ecx
add eax, 4
cmp ecx, esi
jb 0x100582f0
mov eax, dword [edi + 0x38]
jmp 0x1005833f
lea eax, [esi - 1]
cmp ecx, eax
jae 0x10058329
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 4]
lea edx, [edx + ecx*4]
mov eax, dword [edx + 4]
lea edx, [edx + 4]
mov dword [edx - 4], eax
inc ecx
mov esi, dword [ebx]
lea eax, [esi - 1]
cmp ecx, eax
jb 0x10058312
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [esi - 1]
mov dword [ecx], eax
mov eax, dword [edi + 0x38]
jmp 0x1005833f
cmp ecx, edx
jne 0x10058436
xor ecx, ecx
test eax, eax
je 0x1005834d
mov eax, dword [eax + 0x10]
inc ecx
test eax, eax
jne 0x10058345
lea eax, [ecx*8]
push eax
call dword [0x100d1434]
mov ecx, dword [edi + 0x38]
mov esi, eax
add esp, 4
test esi, esi
je 0x100583e2
xor edx, edx
test ecx, ecx
je 0x10058385
mov eax, dword [ecx]
mov dword [esi + edx*8], eax
mov eax, dword [ecx + 4]
mov dword [esi + edx*8 + 4], eax
inc edx
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x10058371
mov ecx, dword [ebx + 0x91b8]
mov eax, dword [edi + 0x20]
test ecx, ecx
je 0x100583a5
push dword [ebx + 0x91bc]
push edx
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x10
jmp 0x100583b0
push edx
push esi
push eax
call fcn.1005cd40
add esp, 0xc
push esi
mov edi, eax
call dword [0x100d143c]
add esp, 4
test edi, edi
jns 0x100583df
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x1005842e
cmp eax, 0x2733
je 0x1005842e
push dword [esp + 0x2c]
push ebp
push ebx
call fcn.10056b40
jmp 0x1005842b
push edi
jmp 0x10058424
mov esi, dword [ebx + 0x91b8]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, dword [edi + 0x20]
test esi, esi
je 0x10058414
push dword [ebx + 0x91bc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x10]
push edx
call eax
add esp, 0x10
jmp 0x1005841f
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x100583c0
push eax
push ebp
push ebx
call fcn.100564c0
add esp, 0xc
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
inc ebp
add eax, 0x58
mov dword [esp + 0x10], eax
cmp ebp, dword [ebx + 0x78]
jl 0x100582a1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x10059260
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 2
jne 0x1005926e
lea ecx, [eax + 2]
jmp 0x10059276
cmp eax, 0x17
jne 0x100592d3
lea ecx, [eax - 7]
push esi
sub eax, 2
je 0x100592a1
sub eax, 0x15
je 0x10059291
push 0x273f
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x100592b9
push ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.100597c0
jmp 0x100592af
push ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.10059440
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x100592c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100592c8
xor eax, eax
pop esi
ret
sar esi, 0x1f
and esi, 0xfffffffe
lea eax, [esi + 1]
pop esi
ret
push 0x273f
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
ret
Function at 0x1005b3e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
push ebx
push edi
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1005b5ab
mov eax, dword [eax + 0x1c]
inc ebx
test eax, eax
jne 0x1005b3f6
test ebx, ebx
je 0x1005b5ab
push ebp
lea ebp, [ebx + ebx*4]
shl ebp, 3
push esi
push ebp
mov dword [esp + 0x24], ebp
call dword [0x100d1434]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x1005b431
lea eax, [esi + 0xf]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x14
ret
mov ecx, dword [edi + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test ebx, ebx
jle 0x1005b53f
lea ebp, [esi + 0x24]
nop dword [eax]
mov dword [ebp], eax
mov dword [ebp - 0x24], ecx
mov esi, dword [ecx + 0x18]
movzx ecx, word [esi]
mov eax, ecx
sub eax, 2
je 0x1005b476
sub eax, 0x15
je 0x1005b46f
xor eax, eax
jmp 0x1005b511
mov eax, 0x1c
jmp 0x1005b47b
mov eax, 0x10
push 0x11
push 2
push ecx
push dword [esp + 0x34]
mov dword [esp + 0x20], eax
call fcn.10056620
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
jne 0x1005b4b0
call fcn.10078894
cmp dword [eax], 0x273f
jne 0x1005b591
xor eax, eax
jmp 0x1005b511
push dword [esp + 0x10]
push esi
push edi
push dword [esp + 0x34]
call fcn.10056580
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005b4e5
call fcn.10078894
cmp dword [eax], 0x2714
je 0x1005b4b0
push edi
push dword [esp + 0x2c]
call fcn.10056550
add esp, 8
xor eax, eax
jmp 0x1005b511
lea eax, [esp + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
push edi
push dword [esp + 0x2c]
mov esi, eax
call fcn.10056550
add esp, 8
test esi, esi
jne 0x1005b591
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword [ebp - 0x20], eax
add ebp, 0x28
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, ebx
jl 0x1005b450
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
push 0x1005b910
push 0x28
push ebx
push esi
call fcn.10078ff0
mov eax, dword [esi]
dec ebx
add esp, 0x10
mov dword [edi + 0x1c], eax
test ebx, ebx
jle 0x1005b572
mov ecx, esi
nop dword [eax]
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
mov ecx, dword [ecx]
mov dword [ecx + 0x1c], eax
lea ecx, [edx]
sub ebx, 1
jne 0x1005b560
mov eax, dword [esi + ebp - 0x28]
push esi
mov dword [eax + 0x1c], 0
call dword [0x100d143c]
add esp, 4
xor eax, eax
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x14
ret
push dword [esp + 0x1c]
call dword [0x100d143c]
add esp, 4
mov eax, 4
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x14
ret
pop edi
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x1005cd40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
jle 0x1005cde2
mov esi, dword [esp + 0x18]
xor ecx, ecx
add esi, 4
mov edx, esi
nop dword [eax]
mov ebp, dword [edx]
mov eax, closesocket
sub eax, edi
cmp ebp, eax
ja 0x1005cde2
inc ecx
add edi, ebp
add edx, 8
cmp ecx, ebx
jl 0x1005cd60
test edi, edi
jne 0x1005cd82
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push edi
call dword [0x100d1434]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1005cda4
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov ebp, eax
push dword [esi]
push dword [esi - 4]
push ebp
call fcn.1005fb50
add ebp, dword [esi]
lea esi, [esi + 8]
add esp, 0xc
sub ebx, 1
jne 0x1005cda6
push ebx
push edi
mov edi, dword [esp + 0x24]
push edi
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call dword [0x100d143c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x2726
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x1005d3e0
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x100d1444]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x228]
mov dword [esp + 0xc], esi
mov byte [esp + 0x14], 0
call fcn.10059b10
cmp eax, 3
jne 0x1005d483
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005d49c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x104
push eax
lea eax, [esp + 0x11c]
push eax
push 0
push 0
push str.DatabasePath
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x104
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1005d49c
cmp eax, 2
jne 0x1005d5f6
push 0x104
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x14]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1005d4a1
mov eax, dword [str.hosts]
mov dword [ecx], eax
mov ax, word [0x100c49c4]
mov word [ecx + 4], ax
mov al, byte [0x100c49c6]
mov byte [ecx + 6], al
lea eax, [esp + 0x14]
push 0x100c49c8
push eax
call fcn.10079863
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x1005d512
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x1005d5f6
mov dword [esi], 0
mov eax, 0xe
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x218
ret
push ebx
push esi
push dword [ebp]
push eax
call fcn.1005deb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1005d576
push edi
mov edi, dword [esi]
mov edx, dword [ebp]
movsx ecx, word [edi + 8]
cmp edx, ecx
jne 0x1005d5b0
cmp edx, 2
jne 0x1005d547
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp + 4]
je 0x1005d575
jmp 0x1005d5b0
cmp edx, 0x17
jne 0x1005d5b0
mov eax, dword [edi + 0xc]
lea edx, [ebp + 4]
mov esi, 0xc
mov ecx, dword [eax]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1005d5ac
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1005d560
mov esi, dword [esp + 0x14]
pop edi
push dword [esp + 0xc]
call fcn.100692aa
add esp, 4
cmp ebx, 0xd
jne 0x1005d5d2
mov ebx, 4
mov dword [esi], 0
mov eax, ebx
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x218
ret
mov esi, dword [esp + 0x14]
push edi
call fcn.1005de40
push esi
push dword [ebp]
push dword [esp + 0x1c]
call fcn.1005deb0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1005d527
jmp 0x1005d575
test ebx, ebx
je 0x1005d5dc
mov dword [esi], 0
mov eax, ebx
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1005e4a8
add esp, 0x218
ret
mov ecx, dword [esp + 0x21c]
mov eax, 4
pop esi
pop ebp
xor ecx, esp
call fcn.1005e4a8
add esp, 0x218
ret

Function at 0x1009ebe0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009e7c7
Function at 0x1009ebeb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009e951

Function at 0x100a5b39
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a54fb

Function at 0x100b061d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b04f1
Function at 0x401ab0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
jne 0x401adf
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp - 4]
mov esi, 1
cmp edi, esi
jle 0x401b32
lea ecx, [ecx]
mov ecx, dword [ebx + esi*4]
mov eax, str.__typeutility
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x401b1e
test dx, dx
je 0x401b1a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x401b1e
add ecx, 4
add eax, 4
test dx, dx
jne 0x401af8
xor eax, eax
jmp 0x401b23
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401b2d
mov eax, dword [ebp - 8]
mov byte [eax], 0
inc esi
cmp esi, edi
jl 0x401af0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b4d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.00477d50
mov eax, dword [0x49f750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4a2a08]
mov dword [ebp - 0x105c], 0
test al, 1
jne 0x401bc7
or eax, 1
mov dword [0x4a2a04], 7
mov dword [0x4a2a08], eax
xor eax, eax
push 0x4865b0
mov dword [0x4a2a00], 0
mov word [0x4a29f0], ax
call fcn.00461b1f
add esp, 4
cmp dword [0x4a2a00], 0
jne 0x401d41
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.004653d0
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x1010], 0
je 0x401d41
push 0x48dbf8
lea ecx, [ebp - 0x1058]
call fcn.004031e0
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1028]
call fcn.004031e0
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x1028]
lea ecx, [ebp - 0x1040]
call fcn.004075e0
mov edi, eax
add esp, 4
cmp edi, 0x4a29f0
je 0x401ca3
cmp dword [0x4a2a04], 8
jb 0x401c7c
push dword [0x4a29f0]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [0x4a2a04], 7
push edi
mov ecx, 0x4a29f0
mov dword [0x4a2a00], 0
mov word [0x4a29f0], ax
call fcn.00403580
cmp dword [ebp - 0x102c], 8
jb 0x401cba
push dword [ebp - 0x1040]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [ebp - 0x102c], 7
cmp dword [ebp - 0x1014], 8
mov dword [ebp - 0x1030], 0
mov word [ebp - 0x1040], ax
jb 0x401cee
push dword [ebp - 0x1028]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1044], 8
mov dword [ebp - 0x1014], 7
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
jb 0x401d29
push dword [ebp - 0x1058]
call fcn.00461b75
add esp, 4
mov ecx, 0x4a29f0
call fcn.0040a520
test al, al
jne 0x401d41
mov ecx, 0x4a29f0
call fcn.0040ac70
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4a29f0
mov word [esi], ax
call fcn.004035e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461397
mov esp, ebp
pop ebp
ret
Function at 0x409200
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], 0
mov word [esi + 4], 0
cmp dword [eax + 0x10], 0
je 0x409223
cmp dword [eax + 0x14], 8
jb 0x409225
mov eax, dword [eax]
jmp 0x409225
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x40924d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
jne 0x40924f
mov byte [esi + 5], 1
pop esi
ret 4
mov eax, esi
pop esi
ret 4

Function at 0x409280
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x409296
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 8]
mov word [esi + 4], 0
cmp dword [eax + 0x10], 0
je 0x4092b0
cmp dword [eax + 0x14], 8
jb 0x4092b2
mov eax, dword [eax]
jmp 0x4092b2
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x4092d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4092d4
mov byte [esi + 5], 1
cmp dword [esi], 0
pop esi
setne al
ret 4

Function at 0x4092e0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x47bc68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x40932a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [esp + 0x14]
mov word [edi + 4], 0
mov dword [esp + 0x14], 0
call fcn.0041ae60
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x409357
lea eax, [esi + 8]
jmp 0x409359
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x409369
cmp dword [ebx + 0x14], 8
jb 0x40936b
mov ebx, dword [ebx]
jmp 0x40936b
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x40938c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40938c
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x4093b6
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4093cb
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call fcn.00461b75
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00461397
add esp, 0x18
ret 4
Function at 0x409400
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x47bc98
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x40944b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [esp + 0x18]
mov word [edi + 4], 0
mov dword [esp + 0x18], 0
call fcn.0041afa0
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x409479
lea ebp, [esi + 8]
jmp 0x40947b
xor ebp, ebp
cmp dword [ebx + 0x10], 0
je 0x40948f
cmp dword [ebx + 0x14], 8
jb 0x40948b
mov eax, dword [ebx]
jmp 0x409491
mov eax, ebx
jmp 0x409491
xor eax, eax
push eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4094dd
call eax
cmp eax, 5
jne 0x4094d3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x10], 0
je 0x4094c5
cmp dword [ebx + 0x14], 8
jb 0x4094c7
mov ebx, dword [ebx]
jmp 0x4094c7
xor ebx, ebx
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
cmp dword [edi], 0
je 0x4094f4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp eax, 0xb7
jne 0x4094ea
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.00413490
cmp dword [edi], 0
setne bl
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x40951b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x409530
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push esi
call fcn.00461b75
add esp, 4
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00461397
add esp, 0x14
ret 4