joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417bd5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
push edi
push 0x407478
xor esi, esi
push esi
push 0x60
mov ebx, 0x407290
push ebx
mov edi, 0x4074a4
push edi
mov byte [ebp - 1], 0
call fcn.00420542
add esp, 0x14
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
cmp eax, 0xffffffff
je 0x417da0
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x250], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x417d8d
mov ecx, dword [ebp - 0x248]
cmp ecx, esi
jbe 0x417d7d
cmp ecx, dword [0x42aee8]
je 0x417d7d
xor eax, eax
cmp dword [ebp - 8], esi
jbe 0x417c73
mov edx, dword [ebp - 0xc]
cmp dword [edx + eax*4], ecx
je 0x417d7d
inc eax
cmp eax, dword [ebp - 8]
jb 0x417c61
push ecx
call fcn.0041c9f2
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x417d7d
push dword [ebp - 0x248]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x417d72
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041fe26
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x417d72
mov eax, dword [ebp - 0x20]
cmp eax, dword [0x42ac88]
jne 0x417d6a
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, dword [0x42ac80]
jne 0x417d6a
mov ecx, dword [esi]
push eax
mov eax, dword [0x42ac7c]
mov eax, dword [eax]
call fcn.0041e872
test eax, eax
jne 0x417d6a
mov ecx, dword [ebp - 8]
lea ecx, [ecx*4 + 4]
lea esi, [ebp - 0xc]
call fcn.0041e78c
test al, al
je 0x417d54
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 8]
inc dword [ebp - 0x10]
mov dword [ecx + edx*4], eax
push dword [ebp - 0x248]
push 0x4074c0
push 0
push 0x8d
push ebx
push edi
call fcn.00420542
add esp, 0x18
push dword [ebp - 0x18]
push dword [ebp - 0x248]
call fcn.00417ab0
test al, al
je 0x417d6a
mov byte [ebp - 1], 1
jmp 0x417d6a
push 0x4074e8
push 2
push 0x92
push ebx
push edi
call fcn.00420542
add esp, 0x14
push dword [ebp - 0x1c]
call fcn.0041e801
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x417c40
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x417db6
push 0x407528
push 2
push 0xa2
push ebx
push edi
call fcn.00420542
add esp, 0x14
cmp dword [ebp - 0x10], esi
jne 0x417c09
push dword [ebp - 0xc]
call fcn.0041e801
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417dcf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp word [0x42a728], 0
push esi
push edi
mov edi, 0x42a728
mov esi, 0x42a930
jne 0x417e29
push 2
call fcn.0041ce55
mov ecx, edi
call fcn.0041f350
add eax, eax
push eax
push edi
push esi
call fcn.0041e83d
xor ecx, ecx
push esi
mov word [eax + 0x42a930], cx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
push 0x40755c
push 0
push 0x4a
push 0x407580
push 0x4075c4
call fcn.00420542
add esp, 0x18
test ebx, ebx
je 0x417e45
or eax, 0xffffffff
mov ecx, edi
mov edx, ebx
call fcn.0041eba2
push 0x4075d4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
cmp byte [esp + 0xc], 0
je 0x417e77
cmp byte [0x42aee4], 1
jbe 0x417e77
push esi
call fcn.00424294
push 1
push esi
call fcn.004222b1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417e77
push 1
push edi
call fcn.004222b1
pop edi
pop esi
ret 4
Function at 0x417f30
Capabilities:
Get session user name
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
push edi
mov bl, 1
mov byte [ebp - 1], 0
jne 0x417f60
call fcn.0042456e
mov dword [esi], eax
test eax, eax
jne 0x417f5c
xor al, al
jmp 0x418165
mov byte [ebp - 1], 1
test byte [ebp + 0xc], 1
mov edi, 0x20000
je 0x417fb2
lea eax, [ebp - 0x228]
push eax
call fcn.0041ce00
push 0x2711
push esi
lea ecx, [ebp - 0x224]
call fcn.0042462f
mov bl, al
test bl, bl
je 0x417fd5
lea eax, [ebp - 0x3c]
push eax
call fcn.0041cf60
cmp word [ebp - 0x3c], 0
je 0x417fae
push 0x2712
push esi
lea ecx, [ebp - 0x3c]
call fcn.0042462f
mov bl, al
test bl, bl
je 0x417fd5
test byte [ebp + 0xc], 2
je 0x417fd5
lea eax, [ebp - 8]
push eax
push edi
push 0x2713
push 4
pop ebx
mov eax, esi
mov dword [ebp - 8], 0x2010001
call fcn.00424582
mov bl, al
test byte [ebp + 0xc], 4
je 0x41804e
test bl, bl
je 0x418153
call fcn.0041e903
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x2719
push 4
pop ebx
mov eax, esi
call fcn.00424582
mov bl, al
test bl, bl
je 0x418153
call fcn.0041e92b
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x271b
push 4
pop ebx
mov eax, esi
call fcn.00424582
mov bl, al
test bl, bl
je 0x418153
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x271a
push 4
pop ebx
mov eax, esi
call fcn.00424582
mov bl, al
test bl, bl
je 0x418153
test byte [ebp + 0xc], 8
je 0x4180a8
lea esi, [ebp - 0x10]
call fcn.0041b47e
mov eax, esi
push eax
mov eax, dword [ebp + 8]
push edi
push 0x271c
push 6
pop ebx
call fcn.00424582
mov bl, al
test bl, bl
je 0x418150
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push edi
push 0x271d
push 2
pop ebx
call fcn.00424582
mov esi, dword [ebp + 8]
mov bl, al
test bl, bl
je 0x418153
test byte [ebp + 0xc], 0x10
je 0x418134
push 0x103
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4180ee
xor ecx, ecx
push 0x271e
mov word [ebp + eax*2 - 0x248], cx
push esi
lea ecx, [ebp - 0x248]
call fcn.0042462f
mov bl, al
mov dword [ebp + 8], 0x104
test bl, bl
je 0x418153
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x248]
push eax
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x418134
mov eax, dword [ebp + 8]
test eax, eax
je 0x418134
xor ecx, ecx
push 0x271f
mov word [ebp + eax*2 - 0x248], cx
push esi
lea ecx, [ebp - 0x248]
call fcn.0042462f
mov bl, al
test bl, bl
je 0x418153
test byte [ebp + 0xc], 0x20
je 0x418163
push 2
push esi
call fcn.00417e7c
push 0x17
push esi
call fcn.00417e7c
jmp 0x418163
mov esi, dword [ebp + 8]
cmp byte [ebp - 1], 1
jne 0x418163
push dword [esi]
call fcn.0041e801
and dword [esi], 0
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x418bf6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
lea eax, [ebp - 0x424]
push eax
push 0xf6
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0xf5
ja 0x418cb0
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x407964
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x418cb0
lea eax, [ebp - 0x21c]
push eax
call fcn.00423fe8
test al, al
je 0x418cb0
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp + 8]
call fcn.00422c14
test al, al
je 0x418cb0
lea eax, [ebp - 0x21c]
push eax
push 2
pop eax
lea esi, [ebp - 0x10]
call fcn.00423ea2
test al, al
je 0x418ca4
lea eax, [ebp - 0x21c]
cmp dword [ebp + 8], ebx
je 0x418c89
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push eax
push 2
call fcn.004189bf
mov bl, al
lea eax, [ebp - 0x10]
call fcn.00423f4a
lea eax, [ebp - 0x21c]
push eax
call fcn.00423fe8
pop esi
mov al, bl
pop ebx
leave
ret 0xc

Function at 0x418e48
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
sub eax, 0xa1
push ebx
push edi
je 0x418ea5
push 3
pop ecx
sub eax, ecx
je 0x418e9c
sub eax, ecx
je 0x418e93
sub eax, 0x15a
je 0x418e8a
sub eax, ecx
je 0x418e81
sub eax, ecx
jne 0x418f1e
mov dword [ebp - 4], 0x209
xor bl, bl
jmp 0x418eae
mov dword [ebp - 4], 0x206
jmp 0x418e7d
mov dword [ebp - 4], 0x203
jmp 0x418e7d
mov dword [ebp - 4], 0xa9
jmp 0x418eac
mov dword [ebp - 4], 0xa6
jmp 0x418eac
mov dword [ebp - 4], 0xa3
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x16c], eax
jne 0x418f09
mov ecx, dword [esi + 0x168]
cmp ecx, dword [ebp + 0xc]
jne 0x418f09
mov ecx, edi
sub ecx, dword [esi + 0x164]
cmp ecx, 0x3e8
ja 0x418f09
test bl, bl
jne 0x418eed
push 0xffffffffffffffe6
push eax
call dword [sym.imp.USER32.dll_GetClassLongW]
test al, 8
je 0x418f06
xor eax, eax
mov dword [esi + 0x168], eax
mov dword [esi + 0x164], eax
mov dword [esi + 0x16c], eax
mov eax, dword [ebp - 4]
jmp 0x418f21
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x168], ecx
mov dword [esi + 0x164], edi
mov dword [esi + 0x16c], eax
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
leave
ret 8
Function at 0x419da4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0xd0]
push eax
push 0xff220829
call fcn.0041ca6e
push 3
lea esi, [ebp - 0x68]
pop eax
call fcn.004106a9
xor bl, bl
mov edi, reloc.WS2_32.dll_accept
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x419e2e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419e21
lea eax, [ebp - 0xd0]
push eax
lea esi, [ebp - 4]
call fcn.00422f95
jmp 0x419e23
xor al, al
test al, al
je 0x419e35
inc bl
cmp bl, 5
jb 0x419dd5
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x419e30

Function at 0x419e39
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 2
mov dword [ebp - 4], 0x104
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x419e8a
mov eax, dword [ebp - 4]
test eax, eax
je 0x419e8a
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, esi
cmp word [esi], cx
je 0x419e92
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x419e79
cmp ecx, 0x5c
jne 0x419e7f
push 0x7c
pop ecx
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x419e6c
jmp 0x419e92
push 6
pop eax
call fcn.004106a9
pop esi
leave
ret

Function at 0x41a725
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push esi
push edi
push 0x26
lea esi, [esp + 0x24]
pop eax
call fcn.004106a9
mov eax, esi
mov dword [esp + 8], eax
xor edi, edi
lea eax, [esp + 0x30]
push eax
push edi
push edi
push 0x21
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41a7bf
push 0x27
lea esi, [esp + 0x1c]
pop eax
call fcn.004106a9
push edi
push edi
push edi
lea eax, [esp + 0x18]
push eax
mov esi, 0x41a69c
push esi
push 4
push 1
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.004243b6
lea eax, [esp + 0x30]
push eax
push eax
lea eax, [esp + 0x20]
call fcn.00424512
test al, al
je 0x41a7bf
push edi
push edi
push edi
lea eax, [esp + 0x18]
push eax
push esi
push 4
push 1
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.004243b6
test bl, 2
je 0x41a7d6
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41a8a6
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 0x1000
call fcn.0041e7d1
xor esi, esi
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x41a8db
push esi
call fcn.0041e801
xor al, al
jmp 0x41a9b7
mov ebx, dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push 0x41a83c
push dword [ebp + 8]
call ebx
push 0x28
pop edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push edx
mov dword [eax], esi
push esi
lea eax, [esp + 0x20]
push eax
mov dword [edi], esi
mov byte [esp + 0x1b], 1
call fcn.0041e8b4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
push esi
push 8
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov dword [esp + 0x40], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x41a94b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41a981
lea eax, [ebp + 0xc]
push eax
call fcn.004223a8
jmp 0x41a916
cmp dword [esp + 0x30], esi
je 0x41a986
mov ecx, dword [edi]
add ecx, dword [esp + 0x30]
mov esi, dword [ebp + 0x10]
call fcn.0041e78c
test al, al
je 0x41a981
push dword [esp + 0x30]
mov eax, esi
mov eax, dword [eax]
push dword [esp + 0x14]
add eax, dword [edi]
push eax
call fcn.0041e83d
mov eax, dword [esp + 0x30]
add dword [edi], eax
xor esi, esi
jmp 0x41a916
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x14]
inc eax
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
push eax
push dword [ebp + 8]
call ebx
push dword [esp + 0x10]
call fcn.0041e801
cmp byte [esp + 0xf], 0
jne 0x41a9b3
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.0041e801
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41b3a8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
lea eax, [ebp - 0xa4]
push eax
xor esi, esi
mov dword [ebp - 0xa4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b476
push 2
pop eax
cmp dword [ebp - 0x94], eax
jne 0x41b476
xor ecx, ecx
inc ecx
cmp byte [ebp + 0x76], cl
jne 0x41b436
cmp dword [ebp - 0xa0], 5
jne 0x41b415
cmp dword [ebp - 0x9c], esi
jne 0x41b401
mov esi, ecx
jmp 0x41b476
cmp dword [ebp - 0x9c], ecx
je 0x41b411
cmp dword [ebp - 0x9c], eax
jne 0x41b476
mov esi, eax
jmp 0x41b476
cmp dword [ebp - 0xa0], 6
jne 0x41b476
cmp dword [ebp - 0x9c], esi
jne 0x41b42a
push 4
jmp 0x41b475
cmp dword [ebp - 0x9c], ecx
jne 0x41b476
push 6
jmp 0x41b475
cmp byte [ebp + 0x76], al
je 0x41b441
cmp byte [ebp + 0x76], 3
jne 0x41b476
cmp dword [ebp - 0xa0], 5
jne 0x41b456
cmp dword [ebp - 0x9c], eax
jne 0x41b476
push 3
jmp 0x41b475
cmp dword [ebp - 0xa0], 6
jne 0x41b476
cmp dword [ebp - 0x9c], esi
jne 0x41b46b
push 5
jmp 0x41b475
cmp dword [ebp - 0x9c], ecx
jne 0x41b476
push 7
pop esi
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x41b641
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, eax
movzx eax, word [ebp + 8]
push eax
push 0x4081a4
push 0
push 0x54
mov esi, 0x4081c8
push esi
mov ebx, 0x408210
push ebx
call fcn.00420542
add esp, 0x18
cmp word [ebp + 8], 0
je 0x41b69e
mov eax, dword [ebp + 8]
push 2
pop edx
call fcn.0041b5a7
test al, al
je 0x41b69e
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0x17
pop edx
call fcn.0041b5a7
mov ax, word [ebp + 8]
jmp 0x41b71e
push 2
xor eax, eax
pop edx
call fcn.0041b5a7
test al, al
je 0x41b709
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [edi]
mov dword [ebp - 4], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x41b6f4
mov ax, word [ebp - 0x86]
rol ax, 8
movzx eax, ax
mov dword [ebp + 8], eax
movzx eax, ax
push eax
push 0x408224
push 0
push 0x62
push esi
push ebx
call fcn.00420542
add esp, 0x18
jmp 0x41b687
mov esi, dword [edi]
call fcn.00421fd3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x4081c8
push 0x40824c
push 2
push 0x6a
push esi
push ebx
call fcn.00420542
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41c025
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0x3c]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [eax + edi + 0x78]
add esi, edi
cmp dword [esi + 0x18], 0
jbe 0x41c06a
mov ebx, dword [esi + 0x20]
add ebx, edi
test ebx, ebx
je 0x41c05c
mov ecx, dword [ebx]
push dword [ebp + 8]
or eax, 0xffffffff
add ecx, edi
or edx, eax
call fcn.0041f364
test eax, eax
je 0x41c072
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 4
cmp eax, dword [esi + 0x18]
jb 0x41c043
xor eax, eax
pop esi
pop ebx
leave
ret 4
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + edi]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + edi]
add eax, edi
jmp 0x41c06c

Function at 0x41c0eb
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push esi
push edi
cld
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
mov ecx, 0x18
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41c10e
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41c105
cmp edi, 0x6a4abc5b
mov eax, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41c0fb
pop edi
pop esi
ret

Function at 0x41c2c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
test byte [ebp + 8], 1
push esi
jne 0x41c318
mov esi, 0x42acd8
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x41c311
push 0x408874
push 2
push 0x1a5
push 0x408630
push 0x4088a8
call fcn.00420542
add esp, 0x14
xor al, al
jmp 0x41c351
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
call fcn.0041ebbd
mov dword [0x42acd4], eax
test eax, eax
jne 0x41c34f
push 0x407638
push 2
push 0x1b3
jmp 0x41c2fb
mov al, 1
pop esi
leave
ret 4

Function at 0x41c3a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
test byte [ebp + 8], 1
push ebx
push esi
push edi
je 0x41c46b
cmp byte [0x42aee4], 1
jbe 0x41c47e
xor edi, edi
xor ebx, ebx
mov ax, word [ebx + 0x402a50]
lea esi, [ebp - 0x498]
call fcn.004106a9
lea eax, [ebp - 0x208]
push eax
xor esi, esi
push esi
push esi
push dword [ebx + 0x402a58]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41c42b
lea eax, [ebp - 0x208]
push eax
push eax
lea eax, [ebp - 0x498]
call fcn.00424512
test al, al
je 0x41c42b
push dword [0x42acd4]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41c436
add ebx, 0xc
inc edi
cmp ebx, 0x54
jb 0x41c3cf
jmp 0x41c47e
lea eax, [ebp - 0x498]
push eax
push 0x4088b4
push esi
push 0x20c
push 0x408630
push 0x4088e4
call fcn.00420542
imul edi, edi, 0xc
mov eax, dword [edi + 0x402a54]
add esp, 0x18
or dword [0x42ac78], eax
jmp 0x41c47e
test byte [0x42ac78], 1
je 0x41c47e
or dword [0x42ac78], 0x1e0
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4
Function at 0x41c487
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x4088f8
xor ebx, ebx
push ebx
push 0x227
push 0x408630
push 0x408934
call fcn.00420542
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0x14
push 0x42a558
call esi
xor eax, eax
push 0x42a570
mov dword [0x42a54c], ebx
mov word [0x42a554], ax
mov word [0x42a550], ax
mov dword [0x42a548], ebx
mov dword [0x42a590], ebx
mov dword [0x42a588], ebx
mov dword [0x42a58c], ebx
call esi
push ebx
lea edi, [ebp - 0x210]
call fcn.0041ce55
or dword [ebp - 8], 0xffffffff
push ebx
push ebx
push 3
push ebx
push 1
push accept
mov eax, edi
push eax
mov dword [ebp - 4], 0x1fe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41c54c
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c545
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x41c558
test al, 1
je 0x41c55a
xor eax, eax
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
lea eax, [ebp - 0x210]
call fcn.0041a35a
lea eax, [ebp - 0x210]
call fcn.0040ac5f
push 0x42b144
mov dword [0x42ac74], ebx
mov dword [0x42b15c], ebx
call esi
call fcn.00412f41
push 0x401958
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x41c5ac
mov edi, eax
call fcn.0040f8f6
jmp 0x41c5ae
xor al, al
cmp al, bl
je 0x41c5d6
or dword [0x42a724], 1
push 0x407bc8
push ebx
push 0x24f
push 0x408630
push 0x408934
call fcn.00420542
add esp, 0x14
call fcn.0040f6be
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x41c9f2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x52c
push esi
lea eax, [esp + 0x258]
call fcn.0041cdd3
lea eax, [esp + 0x70]
push eax
call fcn.0041ce00
push 2
lea eax, [esp + 0x32a]
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x25a]
push 0x42aef0
lea ecx, [esp + 0x18]
call fcn.00423298
lea eax, [esp + 8]
push eax
push 1
push 0x42acb0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x41ca65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41ca65
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41cdd3
Capabilities:
Encode data using xor

Disassembly:
push esi
mov edx, 0x2d8
push edx
push 0x402aa8
push eax
call fcn.0041e83d
mov ecx, dword [0x42ac8c]
add ecx, dword [0x42b138]
mov esi, edx
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x41cdf5
pop esi
ret