joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10075e1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x1007602
xor eax, eax
jmp 0x1007628
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x10073f9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x1007625
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1007e02
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101207c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [edx], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, ebx
je 0x1007f1e
cmp dword [ebp - 0x20], 1
jle 0x1007f1e
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1007f1e
push eax
lea ecx, [ebp - 0x18]
call fcn.0100745c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
cmp esi, ebx
jl 0x1007f27
push 0x24
call fcn.01009693
pop ecx
cmp eax, ebx
je 0x1007ea1
push ebx
mov ecx, eax
call fcn.01007a28
mov edi, eax
jmp 0x1007ea3
xor edi, edi
cmp edi, ebx
jne 0x1007eae
mov esi, 0x8007000e
jmp 0x1007f27
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [edi + 8]
call fcn.01007159
mov esi, eax
cmp esi, ebx
jl 0x1007ec8
xor esi, esi
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp esi, ebx
jne 0x1007eea
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x1001cb4
push edi
call dword [eax]
mov esi, eax
cmp esi, ebx
je 0x1007ef7
push 1
mov ecx, edi
call fcn.010075b8
cmp esi, ebx
jl 0x1007f27
push 0x101a488
push 1
push 4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x1007f27
jmp 0x1007f23
mov esi, 0x80070057
cmp esi, ebx
jge 0x1007f48
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.01009bb1
leave
ret 8
mov bl, 1
jmp 0x1007f2c
Function at 0x10094fb
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x101207c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01009490
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100956e
cmp dword [ebp - 0x94], 5
jb 0x100958f
jmp 0x100958b
cmp dword [ebp - 0x88], 1
jne 0x100958f
cmp dword [ebp - 0x94], 4
ja 0x100958b
jne 0x100958f
cmp dword [ebp - 0x90], 0
jbe 0x100958f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1001b70
call fcn.01007109
test eax, eax
jge 0x10095b0
mov byte [0x10123dc], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01009bb1
leave
ret
Function at 0x1009a8c
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1010848
call fcn.01009d00
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x102aa88
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1009843
cmp eax, esi
jne 0x1009836
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1009846
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100981d
xor esi, esi
inc esi
mov eax, dword [0x102aa84]
cmp eax, esi
jne 0x1009859
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1009888
mov eax, dword [0x102aa84]
test eax, eax
jne 0x1009882
mov dword [0x102aa84], esi
push 0x1001318
push 0x100130c
call fcn.01009782
pop ecx
pop ecx
test eax, eax
je 0x1009888
jmp 0x10099b0
mov dword [0x1022690], esi
mov eax, dword [0x102aa84]
cmp eax, esi
jne 0x10098ac
push 0x1001308
push 0x10012e8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x102aa84], 2
test ebx, ebx
jne 0x10098b8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x102aa98], 0
je 0x10098dc
push 0x102aa98
call fcn.0100a689
pop ecx
test eax, eax
je 0x10098dc
push 0
push 2
push 0
call dword [0x102aa98]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1009938
test al, al
je 0x10098f6
cmp dword [ebp - 0x1c], 0
jne 0x1009938
mov al, byte [esi]
test al, al
je 0x1009906
cmp al, 0x20
ja 0x1009906
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10098f6
test byte [ebp - 0x3c], 1
je 0x1009912
movzx eax, word [ebp - 0x38]
jmp 0x1009915
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x102268c], eax
cmp dword [0x1022680], 0
jne 0x100998c
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1009947
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100995a
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10098e3
cmp dword [0x1022690], 0
jne 0x100999b
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x102268c]
jmp 0x10099bc
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01009d45
ret
call fcn.0100a7d6
jmp 0x10097e3
Function at 0x100ca8d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x38]
push eax
xor ebx, ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 4], ebx
jne 0x100cc73
push edi
push dword [ebp + 8]
call fcn.0100dde5
mov dword [esi + 4], eax
test eax, eax
jne 0x100caee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cad9
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cae0
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x100cc67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001d68
push eax
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x100cb32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cb1d
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cb24
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x100cc67
push 0x1001d54
push dword [esi + 4]
call edi
mov dword [esi + 0x10], eax
test eax, eax
jne 0x100cb72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cb5d
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cb64
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
jmp 0x100cc67
push 0x1001d3c
push dword [esi + 4]
call edi
mov dword [esi + 0x14], eax
test eax, eax
jne 0x100cbb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cb9d
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cba4
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 4
jmp 0x100cc67
push 0x1001d30
push dword [esi + 4]
call edi
mov dword [esi + 0x18], eax
test eax, eax
jne 0x100cbef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cbdd
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cbe4
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 5
jmp 0x100cc67
push 0x1001d1c
push dword [esi + 4]
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100cc2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cc1a
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cc21
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 6
jmp 0x100cc67
push 0x1001d0c
push dword [esi + 4]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x100cc72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100cc57
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x100cc5e
mov ebx, 0x80004005
mov eax, dword [ebp + 0xc]
mov dword [eax], 7
test ebx, ebx
jge 0x100cc72
mov ecx, esi
call fcn.0100ca4d
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x100d3fe
Capabilities:
Print debug messages

Disassembly:
push 0x18
mov eax, 0x101008d
call fcn.01009bfe
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi], edi
jne 0x100d466
lea ecx, [ebp - 0x1c]
call fcn.0100d0b1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0100d29e
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
call fcn.0100d3b4
jmp 0x100d457
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01005b39
mov eax, edi
jmp 0x100d4ce
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x50]
ja 0x100d4cc
sub eax, edi
je 0x100d4cc
dec eax
je 0x100d487
dec eax
je 0x100d480
dec eax
mov ecx, 0x4000000
jmp 0x100d48c
mov ecx, 0x3000000
jmp 0x100d48c
mov ecx, 0x2000000
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x100d4d4
cmp dword [esi + 0x10], edi
je 0x100d4d4
cmp dword [esi + 0x18], edi
je 0x100d4d4
lea edx, [ebp + 0x18]
push edx
push dword [ebp + 0x14]
push ecx
call eax
push edi
push edi
push edi
mov ebx, eax
call dword [esi + 0x18]
push eax
push 0x1001e18
push 0x1001dd8
push 0xe6
push edi
push 0x1001ba8
push dword [ebp + 0xc]
push ebx
call dword [esi + 0x10]
xor eax, eax
call fcn.01009cb2
ret
push 0x102256c
lea ecx, [ebp + 8]
mov dword [ebp - 4], 3
call fcn.0100cf4e
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0100d29e
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esi - 0x10]
call fcn.01005b39
jmp 0x100d4cc
Function at 0x100d51f
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x10100c3
call fcn.01009c74
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x22c], edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x102256c
push esi
lea ecx, [ebp - 0x228]
call fcn.0100cf4e
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x220]
call fcn.0100cf4e
and dword [edi], 0
xor ebx, ebx
lea eax, [ebp - 0x228]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0100e197
mov esi, eax
test esi, esi
jl 0x100d6a2
push dword [0x10123b0]
mov edi, 0x1001e38
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.0100d3e3
add esp, 0x10
push dword [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.0100f2d3
test eax, eax
jne 0x100d670
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100d5fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100d5fa
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x100d670
push dword [0x10123b0]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.0100d3e3
add esp, 0x10
push dword [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.0100f2d3
test eax, eax
jne 0x100d670
mov esi, 0x80070002
jmp 0x100d6a2
test esi, esi
jl 0x100d6a2
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.0100cf33
mov ecx, dword [ebp - 0x22c]
mov dword [ecx], eax
test eax, eax
jne 0x100d6a2
mov esi, 0x8007000e
jmp 0x100d6a2
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.01005b39
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.01005b39
mov eax, esi
call fcn.01009cdf
ret 4
Function at 0x100e445
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101207c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x102aa70], edi
jne 0x100e561
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x100e4ac
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x102aa70], edi
pop esi
je 0x100e534
dec eax
jne 0x100e561
cmp dword [ebp - 0x11c], 5
jne 0x100e521
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x100e515
dec eax
je 0x100e502
dec eax
je 0x100e4e8
mov dword [0x102aa70], 0x14
jmp 0x100e561
cmp word [ebp - 0xc], 1
jb 0x100e4f9
mov dword [0x102aa70], 0x10
or dword [0x102aa70], 4
jmp 0x100e561
cmp word [ebp - 0xc], 2
jb 0x100e4f9
mov dword [0x102aa70], 8
jmp 0x100e4f9
mov dword [0x102aa70], 4
jmp 0x100e561
cmp dword [ebp - 0x11c], 4
ja 0x100e573
mov dword [0x102aa70], 2
cmp dword [ebp - 0x11c], 4
jne 0x100e561
cmp dword [ebp - 0x118], edi
je 0x100e557
cmp dword [ebp - 0x118], 0xa
je 0x100e557
cmp dword [ebp - 0x118], 0x5a
jne 0x100e561
mov dword [0x102aa70], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x102aa70]
xor ecx, ebp
pop edi
call fcn.01009bb1
leave
ret
mov dword [0x102aa70], 0x20
jmp 0x100e561

Function at 0x100e584
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x101207c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e5d8
push 3
lea eax, [ebp - 0x44]
push 0x1002428
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01009bb1
leave
ret

Function at 0x100e5ed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101207c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x102aa74]
jne 0x100e688
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x1002358
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100e687
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1002410
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x100e687
push 3
push dword [esi*8 + 0x10021a8]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x100e679
inc esi
cmp esi, 0x1c
jb 0x100e658
jmp 0x100e687
mov ax, word [esi*8 + 0x10021ac]
mov word [0x102aa74], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x102aa74]
xor ecx, ebp
call fcn.01009bb1
leave
ret
Function at 0x100f2d3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp eax, edi
je 0x100f342
xor ecx, ecx
cmp cx, word [eax]
je 0x100f342
push esi
push edi
push eax
call fcn.0100f648
mov esi, eax
test esi, esi
je 0x100f32e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100f314
test al, 0x10
je 0x100f30f
push 2
pop edi
jmp 0x100f31c
xor ebx, ebx
inc ebx
jmp 0x100f31c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100f336
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
pop esi
jmp 0x100f34c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4
Function at 0x401000
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4357fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea edi, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [edi], eax
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
lea ebx, [esi + 0xc]
lea ebp, [esi + 0x10]
mov dword [ebx], eax
mov dword [ebp], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0x43e030
push 0x20
push eax
push eax
push eax
push 0x86
push eax
push eax
push eax
push 0x190
push eax
mov dword [esi + 0x2c], eax
push eax
mov dword [esi + 0x30], eax
push eax
mov dword [esi + 0x34], eax
push 0xfffffffffffffff4
mov byte [esp + 0x58], 6
mov dword [esi], 0x438520
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x43e030
push 0x20
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xfffffffffffffff4
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push ecx
mov dword [esi + 0x28], eax
mov eax, esp
mov ecx, edi
mov dword [esp + 0x18], esp
mov dword [eax], 0xd3
call fcn.00401480
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x53
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xca
call fcn.00401500
lea ecx, [esi + 0x1c]
call fcn.00401520
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x24
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xd0
call fcn.00401500
mov ecx, ebx
call fcn.00401520
push ecx
mov ecx, ebp
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0xd7
call fcn.00401480
push ecx
lea ecx, [esi + 0x14]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0xd8
call fcn.00401480
push ecx
lea ecx, [esi + 0x18]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0xe4
call fcn.00401480
push ecx
lea ecx, [esi + 0x20]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0xd9
call fcn.00401480
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x24
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xdc
call fcn.00401500
lea ecx, [esi + 0x24]
call fcn.00401520
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x1b
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xcd
call fcn.00401500
lea ecx, [esi + 0x2c]
call fcn.00401520
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x1b
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xcf
call fcn.00401500
lea ecx, [esi + 0x34]
call fcn.00401520
push 0x2000
push 0
push 0xffffffffffffffff
push 0
push 0x1b
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xce
call fcn.00401500
lea ecx, [esi + 0x30]
call fcn.00401520
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x4015d0
Capabilities:
Check mutex on windows

Disassembly:
push 0x43e0b0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x401635
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401635
push esi
push 0
push 0x43e08c
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x40162e
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 8]
test eax, eax
je 0x40162e
mov eax, dword [eax + 4]
push 0
push eax
push 0x7ec
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x403450
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x4c4
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
test eax, eax
je 0x4034a5
mov eax, dword [esp + 0x4dc]
mov edi, dword [0x4424f0]
cmp eax, 0x10
push ebx
jne 0x40349c
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0xd5
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
jmp 0x403614
push 0xc
call esi
push eax
push 0xb
jmp 0x403484
push 0x43e190
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x403618
push 0x43e178
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x4034dc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403618
mov eax, dword [esp + 0x4d8]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x30], 0
call ebp
test eax, eax
je 0x403558
mov eax, dword [esp + 0x4dc]
mov edx, dword [esp + 0x4d8]
push 0
push 1
lea ecx, [esp + 0x18]
push 0
push ecx
push eax
push eax
push 0
push edx
call ebp
cmp eax, 1
jne 0x40352e
mov ebx, dword [esp + 0x10]
jmp 0x40360d
mov ecx, dword [esp + 0x4d8]
push 1
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x40360d
mov ebx, dword [esp + 0x10]
jmp 0x40360d
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x224]
mov dword [esp + 0x220], 0
push 0x11
lea edx, [esp + 0x224]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4dc]
push 0x2b4
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4035a2
mov ebx, dword [esp + 0x220]
jmp 0x403609
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x29
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x403609
lea edx, [esp + 0x18]
push 0x43e160
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x403609
push 0
push 1
lea eax, [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x4ec]
push eax
push eax
lea ecx, [esp + 0x30]
push 2
push ecx
call ebp
cmp eax, 1
jne 0x403609
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x403658
mov eax, dword [esp + 0x4dc]
mov edi, dword [0x4424f0]
cmp eax, 0x10
push 0
jne 0x403635
push 0x32
call esi
push eax
push 0x31
jmp 0x40363c
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0xd4
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c4
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x4c4
ret