joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f30
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415f4c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.C17E
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415f8c
mov eax, dword [eax + 4]
jmp 0x415f8f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415fb2
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415ffc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415ff5
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415fee
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8

Function at 0x416010
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
xor eax, eax
push edi
cmp dword [0x514450], ebx
je 0x4160d2
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x2c], esp
mov word [esi + 4], ax
push 4
mov eax, str.C17E
call fcn.00401b70
lea edi, [esp + 0x30]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x416064
mov eax, dword [eax + 4]
jmp 0x416067
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x2c], edi
jb 0x41608a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a4a1a
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp esi, ebx
je 0x4160d0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4160c9
mov eax, dword [0x514450]
cmp eax, ebx
je 0x4160c2
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x4170d0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x1c], eax
lea ecx, [esp]
call fcn.00416dc0
cmp dword [esp + 0x18], 8
mov eax, dword [esp + 4]
jae 0x4170f5
lea eax, [esp + 4]
push esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417119
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x1c], 8
jb 0x41712d
mov eax, dword [esp + 8]
push eax
call fcn.004a4a1a
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a4a25
add esp, 0x20
ret

Function at 0x4175e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6e7e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov al, 0x8d
mov cl, 0x9c
mov byte [esp + 9], al
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
mov byte [esp + 0x15], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
mov dl, 0xee
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], al
mov byte [esp + 0x35], al
mov byte [esp + 0x39], al
mov eax, 1
mov byte [esp + 8], 0xf4
mov byte [esp + 0xa], 0xe6
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], 0xc1
mov byte [esp + 0xe], 0xfd
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0xd0
mov byte [esp + 0x12], 0xe8
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0xd5
mov byte [esp + 0x16], 0xec
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0xfb
mov byte [esp + 0x1a], 0xda
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0xc8
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0xc8
mov byte [esp + 0x22], 0xfc
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], 0xe7
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0xd7
mov byte [esp + 0x2a], 0xfc
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0xd3
mov byte [esp + 0x2e], 0xd5
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], dl
mov byte [esp + 0x32], 0xc4
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], 0xe2
mov byte [esp + 0x36], 0xd9
mov byte [esp + 0x37], cl
mov byte [esp + 0x38], 0xe5
test byte [0x51e498], al
jne 0x417761
or dword [0x51e498], eax
xor esi, esi
mov dword [esp + 0x48], esi
push 0x32
mov byte [0x51e494], 7
mov dword [0x51e488], esi
mov dword [0x51e484], esi
mov dword [0x51e490], 0x32
call fcn.004a41a8
add esp, 4
mov dword [0x51e48c], eax
cmp eax, esi
je 0x41774c
push 0x32
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004a7010
add esp, 0xc
push 0x4d6550
call fcn.004a4f07
add esp, 4
mov dword [esp + 0x48], 0xffffffff
mov esi, 0x51e484
call fcn.004215e0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a4a25
add esp, 0x44
ret
Function at 0x417f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6dfe
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov al, 0xa7
mov cl, 0x98
mov dl, 0xe4
mov bl, 0xdd
mov byte [esp + 0xb], al
mov byte [esp + 0xf], al
mov byte [esp + 0x13], al
mov byte [esp + 0x17], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x23], al
mov byte [esp + 0x27], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x33], al
mov byte [esp + 0x37], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x3f], al
mov byte [esp + 0x43], al
mov eax, 1
mov byte [esp + 8], 0xda
mov byte [esp + 9], cl
mov byte [esp + 0xa], 0xe0
mov byte [esp + 0xc], 0xc6
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov byte [esp + 0x10], 0x88
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0xbb
mov byte [esp + 0x14], 0x9d
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], dl
mov byte [esp + 0x18], 0x81
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1c], 0x9c
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], 0xe7
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0xf3
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0xe1
mov byte [esp + 0x28], 0x9c
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0xf7
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], 0xf9
mov byte [esp + 0x30], 0x9d
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], 0xf8
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], 0xe0
mov byte [esp + 0x38], 0xc7
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], 0xe7
mov byte [esp + 0x3c], 0x9c
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], dl
mov byte [esp + 0x40], 0xda
mov byte [esp + 0x41], cl
mov byte [esp + 0x42], dl
test byte [0x51e468], al
jne 0x418124
or dword [0x51e468], eax
mov dword [esp + 0x50], 0
push 0x3c
mov byte [0x51e464], 0x12
mov dword [0x51e458], 0
mov dword [0x51e454], 0
mov dword [0x51e460], 0x3c
call fcn.004a41a8
add esp, 4
mov dword [0x51e45c], eax
test eax, eax
je 0x41810f
push 0x3c
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004a7010
add esp, 0xc
push 0x4d65a0
call fcn.004a4f07
add esp, 4
mov dword [esp + 0x50], 0xffffffff
mov eax, 0x51e454
call fcn.004216d0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004a4a25
add esp, 0x4c
ret
Function at 0x418150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov al, 0xac
mov cl, 0xbb
mov dl, 0xd8
mov byte [esp + 0xa], dl
mov byte [esp + 0x12], dl
mov byte [esp + 0x16], dl
mov dl, 0xa9
mov byte [esp + 0x1c], dl
mov byte [esp + 0x20], dl
mov byte [esp + 0x28], dl
mov byte [esp + 0x30], dl
mov dl, 0x9e
mov byte [esp + 5], al
mov byte [esp + 9], al
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
mov byte [esp + 0x15], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], al
mov byte [esp + 0x35], al
mov byte [esp + 0x39], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x41], al
mov byte [esp + 0x45], al
mov byte [esp + 0x38], dl
mov byte [esp + 0x3a], dl
mov dl, 0xb6
mov eax, 1
mov byte [esp + 4], 0xae
mov byte [esp + 6], 0xdc
mov byte [esp + 7], cl
mov byte [esp + 8], 0xb2
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], 0xfc
mov byte [esp + 0xe], 0x87
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0xe9
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0xf5
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0xe8
mov byte [esp + 0x1a], 0xdb
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1e], 0xcf
mov byte [esp + 0x1f], cl
mov byte [esp + 0x22], 0xdd
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0xe8
mov byte [esp + 0x26], 0xcb
mov byte [esp + 0x27], cl
mov byte [esp + 0x2a], 0xc5
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0xe9
mov byte [esp + 0x2e], 0xc4
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], 0xdc
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], 0xb3
mov byte [esp + 0x36], 0xdb
mov byte [esp + 0x37], cl
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3c], 0xf2
mov byte [esp + 0x3e], 0x86
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], dl
mov byte [esp + 0x42], 0xc0
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], dl
test byte [0x51e450], al
jne 0x418320
or dword [0x51e450], eax
mov dword [esp + 0x54], 0
push 0x42
mov byte [0x51e44c], 0x26
mov dword [0x51e440], 0
mov dword [0x51e43c], 0
mov dword [0x51e448], 0x42
call fcn.004a41a8
add esp, 4
mov dword [0x51e444], eax
test eax, eax
je 0x41830b
push 0x42
lea ecx, [esp + 8]
push ecx
push eax
call fcn.004a7010
add esp, 0xc
push 0x4d65b0
call fcn.004a4f07
add esp, 4
mov dword [esp + 0x54], 0xffffffff
mov eax, 0x51e43c
call fcn.004216d0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a4a25
add esp, 0x54
ret
Function at 0x418880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6d88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov cl, 0xb5
mov al, 0xc4
mov dl, 0xc3
mov byte [esp + 0x26], dl
mov byte [esp + 0x2a], dl
mov dl, 0xd4
mov bl, 0xaa
push 0x18
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0xc9
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0xbf
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0xdd
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0xa0
mov byte [esp + 0x29], cl
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0xe1
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0xb7
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], al
mov byte [esp + 0x1c], 0x2f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0x18
call fcn.004a41a8
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x418977
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004216d0
mov ecx, eax
call fcn.004189c0
lea ecx, [esp + 8]
mov bl, al
call fcn.00421580
mov al, bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004a4a25
add esp, 0x3c
ret
Function at 0x41a4e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov edi, eax
test esi, esi
je 0x41a622
test ebp, ebp
je 0x41a622
cmp dword [esp + 0x14], 0
je 0x41a622
lea ecx, [edi + 2]
test ecx, ecx
jl 0x41a622
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40000000
jge 0x41a622
cmp edi, 2
mov ecx, ebp
jle 0x41a5af
lea edx, [edi - 3]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
push ebx
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
shr ebx, 6
movzx eax, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x41a550
pop ebx
test edi, edi
je 0x41a60f
movzx edx, byte [esi]
shr edx, 2
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
cmp edi, 1
jle 0x41a5f5
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shl edx, 4
shr eax, 4
movzx edx, byte [edx + eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx eax, byte [esi + 1]
inc ecx
and eax, 0xf
movzx edx, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x41a60a
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [esp + 0x14]
mov eax, ecx
sub eax, ebp
pop edi
mov dword [edx], eax
pop esi
mov byte [ecx], 0
xor eax, eax
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret

Function at 0x41b120
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41b9b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041b150
push 0x10
lea esi, [esp + 0x10]
call fcn.0041b1f0
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.004a4a25
mov esp, ebp
pop ebp
ret

Function at 0x41ba30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041b150
mov eax, dword [ebp + 0x10]
push eax
lea esi, [esp + 0x10]
call fcn.0041b1f0
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.004a4a25
mov esp, ebp
pop ebp
ret

Function at 0x41bb90
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41bc87
push 0xa000
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.004a41a8
add esp, 4
push edi
lea edx, [esp + 0x14]
push edx
push 0xa000
mov esi, eax
push esi
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call edi
test eax, eax
je 0x41bc68
jmp 0x41bc30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41bc63
push esi
lea ecx, [esp + 0x1c]
call fcn.0041b150
add esp, 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xa000
push esi
push ebx
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x41bc30
jmp 0x41bc68
mov byte [esp + 0xf], 1
push esi
call fcn.004a588e
mov edi, dword [esp + 0x18]
push 0x10
lea esi, [esp + 0x20]
call fcn.0041b1f0
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x74]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a4a25
mov esp, ebp
pop ebp
ret
Function at 0x41bf50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c889b
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov eax, dword [esp + 0x850]
mov edi, edx
lea edx, [esp + 0x14]
push edx
push 1
xor ebp, ebp
push ebp
push ecx
mov dword [esp + 0x20], ebp
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 0x14]
cmp esi, ebp
jne 0x41bfd0
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
mov word [edi + 4], ax
mov eax, edi
jmp 0x41c0e7
push 0x7fe
lea edx, [esp + 0x42]
xor ecx, ecx
push ebp
push edx
xor edi, edi
mov word [esp + 0x48], cx
call fcn.004a7380
xor eax, eax
add esp, 0xc
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], ax
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x858], ebp
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
call esi
test eax, eax
jne 0x41c08f
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41c03b
cmp eax, 2
je 0x41c03b
cmp eax, 7
jne 0x41c08f
mov eax, dword [esp + 0x18]
cmp eax, 0x800
jae 0x41c04c
lea edi, [esp + 0x3c]
jmp 0x41c057
push eax
call fcn.004a41a8
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push ebp
push ebx
push edx
call esi
test eax, eax
jne 0x41c08f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41c074
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x24]
call fcn.00401b70
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
je 0x41c0af
lea ecx, [esp + 0x3c]
cmp edi, ecx
je 0x41c0af
push edi
call fcn.004a4a1a
add esp, 4
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
push ebp
lea eax, [esp + 0x28]
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401c20
cmp dword [esp + 0x38], 8
jb 0x41c0e5
mov eax, dword [esp + 0x24]
push eax
call fcn.004a4a1a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.004a4a25
add esp, 0x83c
ret
Function at 0x41c110
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 2
push 0
push esi
push reloc.WS2_32.dll_accept
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x41c163
lea ecx, [esp + 8]
push ecx
push esi
push reloc.WS2_32.dll_accept
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
mov eax, dword [esp + 8]
je 0x41c15d
test eax, eax
je 0x41c163
mov dword [esp + 4], eax
jmp 0x41c167
mov eax, dword [esp + 4]
test eax, eax
jne 0x41c172
xor al, al
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret