joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e527c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x56b400]
test eax, eax
je 0x43181a
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x5718a4]
jg 0x43181a
push 0x80
lea edx, [ebp - 0x110]
push edx
call fcn.00431840
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.004142b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x506760
lea edx, [ebp - 0x13c]
push edx
call fcn.00414ba0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x571698
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x431808
call fcn.00405870
mov dword [ebp - 0x130], eax
push 2
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x13c]
call fcn.004147c0
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x43174c
mov dword [ebp - 0x120], 0
jmp 0x4317c5
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x3fffffff
jle 0x43177d
mov dword [ebp - 0x124], 0
jmp 0x4317b9
mov eax, dword [ebp - 0x118]
shl eax, 1
call fcn.004dfa20
mov dword [ebp - 0x12c], esp
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x118]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.00405740
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
push 0
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.004147e0
push eax
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004142e0
lea esp, [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret

Function at 0x43dce0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret
Function at 0x43f250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5d88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00414370
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00414db0
test eax, eax
jne 0x43f2d6
push 0x104
lea ecx, [ebp - 0x24]
call fcn.00414860
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x24]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x43f2d6
mov edx, dword [ebp - 0x14]
and edx, 0x10
je 0x43f2d6
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004142e0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x43f300
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x224], 0xc
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x224]
push eax
call fcn.0043f470
movzx ecx, al
test ecx, ecx
je 0x43f35a
lea edx, [ebp - 0x224]
mov dword [ebp - 0x214], edx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x210], edx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x210]
movzx edx, word [ecx]
test edx, edx
je 0x43f429
mov eax, dword [ebp - 0x210]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x43f3bb
mov edx, dword [ebp - 0x210]
movzx eax, word [edx]
cmp eax, 0x2f
jne 0x43f3e9
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [ebp + 8]
jbe 0x43f3e9
mov edx, dword [ebp - 0x210]
movzx eax, word [edx - 2]
cmp eax, 0x3a
je 0x43f3e9
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x210]
add ecx, 2
mov dword [ebp - 0x210], ecx
xor edx, edx
mov eax, dword [ebp - 0x218]
mov word [eax], dx
jmp 0x43f38e
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x214]
push eax
call fcn.0043f4c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043f250
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 4
Function at 0x43f540
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x415], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0043f300
push 0x1e
push 0
lea ecx, [ebp - 0x43c]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x438], 2
mov edx, 0x414
mov word [ebp - 0x42c], dx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
push 0x508a8c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x430], ecx
lea edx, [ebp - 0x43c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x43f64b
mov byte [ebp - 0x415], 1
jmp 0x43f67b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00440800
movzx edx, al
test edx, edx
je 0x43f668
mov byte [ebp - 0x416], 1
jmp 0x43f66f
mov byte [ebp - 0x416], 0
mov al, byte [ebp - 0x416]
mov byte [ebp - 0x415], al
mov al, byte [ebp - 0x415]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x43fae0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5dab
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x34]
call fcn.004142b0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea ecx, [ebp - 0x34]
call fcn.00414860
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00414900
lea ecx, [ebp - 0x34]
call fcn.004147c0
push eax
call fcn.0043f200
movzx edx, al
test edx, edx
je 0x43fc28
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x43fc28
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43fc1e
cmp dword [ebp - 0x20], 0
jne 0x43fc1e
mov edx, dword [ebp - 0x14]
push edx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x43fc1e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43fc1e
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x43fc1e
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043f970
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x43fc4d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004142e0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4403d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5e7f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x224
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x21d], 0
lea ecx, [ebp - 0x230]
call fcn.004142b0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x234], 0x104
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x440472
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00414580
jmp 0x44047a
mov dword [ebp - 4], 0
jmp 0x44048a
lea ecx, [ebp - 0x230]
call fcn.00414db0
test eax, eax
je 0x4404a9
push str.C:_temp
lea ecx, [ebp - 0x230]
call fcn.00414580
lea ecx, [ebp - 0x230]
call fcn.00414db0
test eax, eax
jne 0x440516
lea ecx, [ebp - 0x230]
call fcn.004147e0
mov dword [ebp - 0x224], eax
cmp dword [ebp + 8], 0
je 0x440504
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x224]
jle 0x440502
lea ecx, [ebp - 0x230]
call fcn.004147c0
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov byte [ebp - 0x21d], 1
jmp 0x44050b
mov byte [ebp - 0x21d], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
mov al, byte [ebp - 0x21d]
mov byte [ebp - 0x21e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004142e0
mov al, byte [ebp - 0x21e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x440b30
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x440ba9
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x440b9f
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], 0
je 0x440bb8
mov dword [ebp - 0x18], 1
jmp 0x440bbf
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret

Function at 0x441600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x441672
mov dword [ebp - 0xc], 0xc8
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x441668
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jne 0x441668
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x441680
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
call fcn.00405870
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x4416e3
mov ecx, dword [ebp - 0x218]
and ecx, 1
je 0x4416e3
mov edx, dword [ebp - 0x218]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
push 0x5c
lea edx, [ebp - 0x20c]
push edx
call fcn.00405bb0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x44175a
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov edx, dword [ebp - 0x214]
mov word [edx], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.004131a0
add esp, 4
push eax
call fcn.0043f250
movzx ecx, al
test ecx, ecx
jne 0x44178b
lea edx, [ebp - 0x20c]
push edx
call fcn.004131a0
add esp, 4
push eax
call fcn.0043f300
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
push eax
call fcn.0043f470
movzx ecx, al
test ecx, ecx
je 0x4417c8
lea edx, [ebp - 0x234]
mov dword [ebp - 0x21c], edx
push 0
push 0x22
push 2
mov eax, dword [ebp - 0x21c]
push eax
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
je 0x441846
mov dword [ebp - 0x224], 0xc8
push 0
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441839
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x228]
jne 0x441839
mov byte [ebp - 0x20d], 1
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0043f4c0
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4498c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x449974
mov ecx, dword [ebp + 0x14]
push ecx
movzx edx, word [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x449974
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x449974
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449974
cmp dword [ebp + 8], 0
je 0x44995a
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x44995a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44f0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e785a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x62
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x62
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 0x62
mov byte [ebp - 0x15], 0
xor eax, eax
mov byte [ebp - 0x14], al
push 0xffffffffffffffff
push 0
push 1
push 0
push 1
call fcn.0040b600
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x44f1aa
mov ecx, dword [ebp - 0x24]
add ecx, 0x1034
call fcn.004147c0
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1048
call fcn.00431fb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.004147c0
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x2e0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004142e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x4511a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7aa7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x34], 0
jne 0x4513f0
mov ecx, dword [ebp - 0x224]
mov dword [ecx + 0x34], 1
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0x104
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004147c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x4513f0
mov dword [ebp - 0x22c], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4513e3
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00414370
mov dword [ebp - 4], 0
push 0x50ebbc
push str.DllName
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
push eax
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x240]
call fcn.00414ed0
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x250]
call fcn.004147c0
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4512f3
mov dword [ebp - 0x234], 1
jmp 0x4512fd
mov dword [ebp - 0x234], 0
mov cl, byte [ebp - 0x234]
mov byte [ebp - 0x21d], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004142e0
movzx edx, byte [ebp - 0x21d]
test edx, edx
je 0x4513b3
lea ecx, [ebp - 0x240]
call fcn.004147c0
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004147c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x26c]
push eax
call fcn.004099d0
add esp, 0x10
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x254], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x254]
push edx
lea ecx, [ebp - 0x240]
call fcn.004145d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004142e0
lea ecx, [ebp - 0x240]
call fcn.00414db0
test eax, eax
jne 0x4513b3
lea ecx, [ebp - 0x240]
call fcn.004147c0
push eax
mov ecx, dword [ebp - 0x224]
call fcn.00450f30
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], 0x104
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004142e0
jmp 0x451247
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df9ac
mov esp, ebp
pop ebp
ret
Function at 0x451bb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7c4b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0045a680
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0045a680
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0045a680
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0045a680
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004085a0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004142e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004142e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004142e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004142e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret