joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9b5d82
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg word [esp + 6], di
not edi
cld
mov ah, ch
mov word [esp + 9], bx
jmp 0x9b5dc2
sub esp, 9
push dword [esp]
push word [esp + 0x11]
jmp 0x9b5d6c
std
mov al, dl
pop di
sub esp, 0x19
push dword [esp + 0x10]
jmp 0x9b5dec
mov ah, dl
xchg edx, ebp
pop dword [esp + 0xb]
mov ebp, dword [esp + 6]
mov byte [esp], bh
add esp, 0x14
jmp 0x9b5dac
lea eax, [esi*4]
bswap edi
xchg word [esp + 1], dx
jmp 0x9b5e1f
xchg word [esp + 0x19], si
btc ecx, esi
mov cx, 0xb8bb
lea ebp, [esp + esi]
bt eax, ebx
jmp 0x9b5dd6
mov word [esp + 0x10], bp
push dword [esp + 0xd]
add esp, 0x1d
neg dl
jmp 0x9b5f37
sbb di, 0x5c6b
mov di, bx
xchg bh, dh
bt eax, ecx
sete cl
mov ebx, 0x932c6389
jmp 0x9b5e8e
add esp, 0
rdtsc
neg ax
pop dx
bswap ebx
lea edi, [esi*4]
jmp 0x9b5e44
dec ebp
rdtsc
ror dh, cl
ror edx, 0x15
bt bp, bx
bswap ebp
call fcn.009b5e78
lea esp, [esp + 6]
not bp
lea esp, [esp + 1]
jmp 0x9b5ee3
pop di
add esp, 2
mov eax, 0xc3281b51
xchg ebp, esi
mov word [esp], cx
xchg byte [esp], bh
jmp 0x9b5e63
lea eax, [ebp*4]
mov di, 0x8b96
call fcn.009b5f16
xchg ebp, eax
adc al, byte [eax + 0x15f212e7]
xchg edi, eax
pop es
bound edx, qword [ecx + 0x54258a71]
invalid
mov word [esp + 5], sp
sbb eax, edx
xchg edx, ebp
rcl eax, 0x10
pop word [esp]
std
jmp 0x9b5ece
mov edx, 0x51699714
mov ch, al
push si
rdtsc
xchg bp, di
mov byte [esp + 3], al
jmp 0x9b5f03
Function at 0x9b67fc
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
pop bx
bswap ebx
rdtsc
rdtsc
mov byte [esp + 1], cl
jmp 0x9b67fe
jmp 0x9b67e6
lea ebp, [edi*4]
xchg ebp, edi
add esp, 0
xchg word [esp], si
btr ax, dx
xchg word [esp], bx
jmp 0x9b687e
sub esp, 5
mov ebx, 0x8c12021c
neg ebp
pushfd
mov dword [esp + 3], esi
jmp 0x9b6854
pop edx
lea edx, [eax + ebp]
mov byte [esp], cl
mov al, byte [esp]
adc ch, al
cpuid
jmp 0x9b682e
bsr si, sp
xchg di, ax
mov si, word [esp + 5]
lea esi, [edi + 0x43]
xchg byte [esp + 2], dh
push dword [esp + 9]
jmp 0x9b6893
push dx
bt si, sp
mov ecx, esp
bt ebp, edi
mov bp, word [esp + 3]
not ax
jmp 0x9b6844
rdtsc
inc al
bsr ax, bp
mov ah, cl
pop dword [esp + 4]
pop dword [esp]
jmp 0x9b6a0d
pop word [esp + 1]
not dh
add esp, 1
mov cx, 0xc5a7
mov bp, si
lea esp, [esp + 2]
jmp 0x9b68d1
mov ebp, edx
rdtsc
not al
add di, 0xb1a7
xchg word [esp + 2], ax
bsr bp, cx
jmp 0x9b68e9
Function at 0x9b6965
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bp, 0xd4e5
xchg byte [esp + 2], dh
xchg edx, edi
mov ebp, edi
jmp 0x9b6997
sub esp, 0x14
lea eax, [ecx*4]
mov edx, dword [esp + 0xd]
dec edi
lea esi, [ecx + ebx]
add esp, 0xa
jmp 0x9b69dc
pop dword [esp]
mov dword [esp], edi
lea esp, [esp + 5]
mov ebp, ebx
neg edi
jmp 0x9b69f1
lea ecx, reloc.KERNEL32.dll_GetStartupInfoA
pop dword [esp]
setp bl
rdtsc
lea ebx, [edx + edi]
cpuid
jmp 0x9b69c6
mov ax, word [esp]
lea esp, [esp]
xchg byte [esp], cl
lea ebx, [ecx*4]
stc
add esp, 0
jmp 0x9b6a9a
xchg byte [esp + 2], dl
mov cx, dx
xchg word [esp + 6], cx
xchg byte [esp + 0x18], al
jmp 0x9b6a69
xchg si, cx
pushal
add cx, bx
mov ax, word [esp + 0x10]
xchg word [esp + 0x18], ax
pop di
jmp 0x9b6a26
cpuid
rdtsc
xchg word [esp + 0x2b], di
mov ecx, 0xf38c338e
bt edi, esp
jmp 0x9b6a7c
setl cl
sub esp, 0x19
mov bx, 0xf20e
rcr ch, 2
not eax
xchg cl, dl
jmp 0x9b6a51
push dword [esp + 0x10]
mov ecx, edx
setno al
xchg byte [esp + 1], cl
mov di, 0xc323
pop word [esp + 0x26]
jmp 0x9b6aae
rol dl, 1
adc edx, 0xe5ee527a
std
cmp dh, 0xe7
mov edi, 0x8f0a32fd
clc
jmp 0x9b6a3c
pop dword [esp + 0x20]
mov ax, di
mov cx, word [esp + 0x35]
push dword [esp + 0x17]
add esp, 0x29
mov dword [esp + 7], edx
jmp 0x9b6b01
rdtsc
pop si
mov si, word [esp + 3]
inc dh
neg edi
jmp 0x9b6b29
mov dh, 0xf9
not bl
xchg al, cl
sub esp, 0x1b
mov dh, byte [esp + 0x16]
bt edi, ebx
jmp 0x9b6aeb
mov bl, 0x7d
mov ebp, 0xdde6bf25
pop edx
shr ecx, cl
mov ax, 0x96d8
neg edi
jmp 0x9b6b56
mov eax, dword [esp + 0x1b]
pop word [esp + 0xc]
bsf bp, ax
rdtsc
lea esp, [esp + 4]
cpuid
jmp 0x9b6b13
lea edi, [edx + edi]
xchg byte [esp + 6], ah
setg dh
pop word [esp + 1]
jmp 0x9b6b87
bsr esi, edi
mov bh, dh
mov si, word [esp + 0x11]
add esp, 0x16
lea esp, [esp]
mov ch, dh
jmp 0x9b6b40
xchg ah, bl
dec dh
neg ch
mov word [esp + 2], cx
pop dx
pop bx
jmp 0x9b6b9d
not bl
lea esp, [esp + 3]
adc di, cx
bsf dx, bp
xchg bp, bx
btr dx, si
jmp 0x9b6b6a
bswap ebp
add esp, 0
not dh
xchg ebx, ecx
stc
setge ah
jmp 0x9b6d6e
mov cx, word [esp]
neg ebp
mov byte [esp], ah
shr bp, 3
cmp cx, 0xd0b1
setae ah
jmp 0x9b6bc8
bswap ebx
add esp, 0
add esp, 0
rdtsc
mov ax, 0xa276
btc eax, edx
jmp 0x9b6bde
inc si
add esp, 0
mov bx, word [esp]
mov byte [esp], dh
mov byte [esp], ah
mov bl, 4
jmp 0x9b6c10
inc cl
rol ax, cl
bswap esi
mov ah, byte [esp]
xchg dx, di
lea esp, [esp]
jmp 0x9b6c5b
Function at 0x409a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x409b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x409b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x409b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409b71
test eax, eax
je 0x409b67
add ebx, 0x14
jmp 0x409b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x409b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x409ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x409ddd
mov eax, 1
test eax, eax
je 0x409ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x409ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x409dd3
mov ebx, eax
and eax, 0x80000000
jne 0x409d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x409ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x409ddd
mov eax, 1
test eax, eax
je 0x409ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x409ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x409ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x409ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x409b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x409ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x409ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x409e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x409fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x409fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.00409ff8
test eax, eax
je 0x409fee
add ebx, 0x28
dec ecx
jne 0x409fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x40a09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x40a0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x40a12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x40a0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x40a12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x40a105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x40a12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x40a123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x40a12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x40a16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x40a172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x40a1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x40a1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x40adff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0040af04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0040af20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0040aeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040af04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040aecb
push ecx
push dword [ebp + 8]
call fcn.0040af04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040af04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040aecb
push ecx
push dword [ebp + 8]
call fcn.0040af04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040af04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040aecb
push ecx
push dword [ebp + 8]
call fcn.0040af04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040af04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040aecb
cmp ecx, 0x2b
jne 0x40ae0f
leave
ret 0xc

Function at 0x40c4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x40c544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x2210
push 0
call dword [eax + 0x20]
test eax, eax
je 0x40c5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x2210
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x2210
call fcn.0040c3fa
push 0x2210
push dword [ebp + 0xc]
call fcn.0040a1a8
test eax, eax
jne 0x40c5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x2210
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0040c5dd
test eax, eax
je 0x40c5d6
jmp 0x40c574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x40c5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x40c60b
Capabilities:
Terminate process

Disassembly:
call fcn.0040c618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4011f8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
call fcn.00412e8c
push fcn.00414059
call dword [0x54aa90]
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, edi
je 0x40128f
cmp dword [ebp - 4], 4
jne 0x40128f
push str.ExcptionHandler
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40128f
push ebx
push 0x10
push edi
push dword [esi + 0xc]
call fcn.004d6592
push 0x10
push edi
push dword [esi + 8]
mov ebx, eax
call fcn.004d6592
add esp, 0x18
push str.Except_Mutex
push edi
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push dword [ebp - 8]
mov edi, eax
call fcn.0041414b
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop ebx
jmp 0x4012a1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0040184c
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
leave
ret

Function at 0x4012a5
Capabilities:
Suspend thread
Terminate process
Terminate thread

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00469e20
mov ebx, eax
call fcn.00469e5c
mov eax, dword [0x546fac]
test eax, eax
je 0x4012cb
push eax
call sub.gdiplus.dll_GdiplusShutdown
and dword [0x546fac], 0
xor esi, esi
inc esi
mov dword [0x546fb0], esi
call fcn.00402404
push esi
push 0xffffffffffffffff
call fcn.0040268b
call fcn.00407db9
call fcn.0043155a
call fcn.004198de
call fcn.0043155a
call fcn.00428594
call fcn.004242b1
mov esi, eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40130f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x40134d
push 0x3e8
push eax
call ebp
test eax, eax
je 0x401340
push dword [esi + 0x28]
call edi
push 0xffffffffffffffff
push dword [esi + 0x28]
call ebx
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
call fcn.00404cb4
call fcn.00421fa3
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x401367
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401393
push 0x3e8
push eax
call ebp
test eax, eax
je 0x401386
push dword [esi + 0xc]
call edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc], 0
lea edi, [esi + 0x18]
call fcn.00429939
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4013af
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2094
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x54ab00], 0
je 0x4013d9
mov eax, 0x54ab08
jmp 0x4014db
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x5c
push 0x549bac
mov esi, eax
call fcn.004d62f7
push esi
push 0x50e498
mov ebx, eax
lea eax, [ebp - 0x2094]
push 0x1047
push eax
call fcn.004d5add
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x18
push ebx
lea eax, [ebp - 0x2094]
push eax
call edi
test eax, eax
je 0x40143a
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x401425
sub ecx, esi
sar ecx, 1
lea esi, [eax + ecx*2]
test esi, esi
jne 0x401465
add ebx, 2
push ebx
lea eax, [ebp - 0x2094]
push eax
call edi
test eax, eax
je 0x4014c7
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x401450
sub ecx, esi
sar ecx, 1
lea esi, [eax + ecx*2]
test esi, esi
je 0x4014c7
push 0x5077d0
push esi
call edi
test eax, eax
je 0x401476
lea esi, [eax + 4]
jmp 0x40148d
push 2
push 0x5077d8
push esi
call fcn.004d65be
add esp, 0xc
test eax, eax
jne 0x40148d
add esi, 4
cmp word [esi], 0
je 0x4014c7
push esi
push 0x50e498
push 0x1047
mov ebx, 0x54ab08
push ebx
call fcn.004d5add
xor eax, eax
add esp, 0x10
mov word [0x54cb96], ax
call fcn.0046c2bd
mov eax, ebx
call fcn.0043ec59
call fcn.0046c2bd
jmp 0x4014cc
mov ebx, 0x54ab08
pop edi
pop esi
mov eax, ebx
mov dword [0x54ab00], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5a7d
leave
ret
Function at 0x4015f5
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
xor eax, eax
movzx ecx, word [eax + 0x549bac]
mov word [ebp + eax - 0x7c], cx
inc eax
inc eax
cmp cx, bx
jne 0x401619
lea eax, [ebp - 0x7c]
push eax
call fcn.00436f6b
pop ecx
lea eax, [ebp - 0x7c]
call fcn.0043eb15
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x549b54], eax
cmp eax, ebx
je 0x401738
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401738
xor edi, edi
inc edi
call fcn.004014e7
mov dword [0x5473c8], eax
cmp eax, ebx
jne 0x401693
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x14
jb 0x40166b
cmp dword [0x5473c8], ebx
je 0x401738
push dword [0x549b54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x80]
push eax
push dword [0x5473c8]
mov dword [0x549b54], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp word [esi], bx
jne 0x4016c9
push ebx
jmp 0x401704
mov ecx, 0x5077e0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4016f6
cmp dx, bx
je 0x4016f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4016f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4016d0
xor eax, eax
jmp 0x4016fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40171a
push 0x1e0000
push 0xffffffffffffffff
call fcn.00402a71
push eax
push dword [0x5473c8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x401733
mov eax, esi
call fcn.004027db
cmp eax, ebx
je 0x401733
push ebx
push dword [0x5473c8]
call fcn.00416e78
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x40173a
xor eax, eax
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5a7d
add ebp, 0x190
leave
ret

Function at 0x401752
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x549bac
push str._s.updatte
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004d5add
lea eax, [ebp - 0x20c]
push eax
call fcn.00436f6b
add esp, 0x14
lea eax, [ebp - 0x20c]
call fcn.0043eb15
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4017c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4017c1
xor eax, eax
inc eax
jmp 0x4017c3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5a7d
leave
ret