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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e707d
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x56e408]
test eax, eax
je 0x4363ca
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x5748bc]
jg 0x4363ca
push 0x80
lea edx, [ebp - 0x110]
push edx
call fcn.004363f0
add esp, 8
lea ecx, [ebp - 0x13c]
call fcn.004152e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x509c40
lea edx, [ebp - 0x13c]
push edx
call fcn.00415bb0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x5746b0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x4363b8
call fcn.00406200
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.004157f0
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4362fc
mov dword [ebp - 0x120], 0
jmp 0x436375
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 0x43632d
mov dword [ebp - 0x124], 0
jmp 0x436369
mov eax, dword [ebp - 0x118]
shl eax, 1
call fcn.004e1240
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.004060d0
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.00415810
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.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret

Function at 0x442880
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 0x443df0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x572734]
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.004153a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00415d20
test eax, eax
jne 0x443e76
push 0x104
lea ecx, [ebp - 0x24]
call fcn.00415890
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.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x443e76
mov edx, dword [ebp - 0x14]
and edx, 0x10
je 0x443e76
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.00415310
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 0x443ea0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x572734]
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.00444170
movzx ecx, al
test ecx, ecx
je 0x443efa
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 0x443fc9
mov eax, dword [ebp - 0x210]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x443f5b
mov edx, dword [ebp - 0x210]
movzx eax, word [edx]
cmp eax, 0x2f
jne 0x443f89
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [ebp + 8]
jbe 0x443f89
mov edx, dword [ebp - 0x210]
movzx eax, word [edx - 2]
cmp eax, 0x3a
je 0x443f89
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 0x443f2e
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.004441c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00443df0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 4
Function at 0x444010
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x415], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00443ea0
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 0x50bf7c
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 0x44411b
mov byte [ebp - 0x415], 1
jmp 0x44414b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004453b0
movzx edx, al
test edx, edx
je 0x444138
mov byte [ebp - 0x416], 1
jmp 0x44413f
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.004e11cc
mov esp, ebp
pop ebp
ret 8
Function at 0x444680
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7beb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x572734]
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.004152e0
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.00415890
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00415930
lea ecx, [ebp - 0x34]
call fcn.004157f0
push eax
call fcn.00443da0
movzx edx, al
test edx, edx
je 0x4447c8
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x34]
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4447c8
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 0x4447be
cmp dword [ebp - 0x20], 0
jne 0x4447be
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 0x4447be
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 0x4447be
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x4447be
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.00444510
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 0x4447ed
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.00415310
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 0x444f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7cbf
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x224
mov eax, dword [0x572734]
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.004152e0
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 0x445012
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004155b0
jmp 0x44501a
mov dword [ebp - 4], 0
jmp 0x44502a
lea ecx, [ebp - 0x230]
call fcn.00415d20
test eax, eax
je 0x445049
push str.C:_temp
lea ecx, [ebp - 0x230]
call fcn.004155b0
lea ecx, [ebp - 0x230]
call fcn.00415d20
test eax, eax
jne 0x4450b6
lea ecx, [ebp - 0x230]
call fcn.00415810
mov dword [ebp - 0x224], eax
cmp dword [ebp + 8], 0
je 0x4450a4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x224]
jle 0x4450a2
lea ecx, [ebp - 0x230]
call fcn.004157f0
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 0x4450ab
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.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret 8
Function at 0x4456e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x572734]
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 0x445759
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 0x44574f
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 0x445768
mov dword [ebp - 0x18], 1
jmp 0x44576f
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret

Function at 0x4461b0
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 0x446222
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 0x446218
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jne 0x446218
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 0x446230
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 [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
call fcn.00406200
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 0x446293
mov ecx, dword [ebp - 0x218]
and ecx, 1
je 0x446293
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.00406530
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x44630a
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.00414270
add esp, 4
push eax
call fcn.00443df0
movzx ecx, al
test ecx, ecx
jne 0x44633b
lea edx, [ebp - 0x20c]
push edx
call fcn.00414270
add esp, 4
push eax
call fcn.00443ea0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
push eax
call fcn.00444170
movzx ecx, al
test ecx, ecx
je 0x446378
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 0x4463f6
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 0x4463e9
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x228]
jne 0x4463e9
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.004441c0
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 8
Function at 0x44e310
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 0x44e3c4
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 0x44e3c4
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 0x44e3c4
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 0x44e3c4
cmp dword [ebp + 8], 0
je 0x44e3aa
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 0x44e3aa
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 0x453b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e968a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x572734]
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.0040c240
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x453bfa
mov ecx, dword [ebp - 0x24]
add ecx, 0x1034
call fcn.004157f0
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1048
call fcn.00436ba0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.004157f0
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.00415310
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.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x455b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e98d7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x572734]
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 0x455dc0
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.004157f0
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 0x455dc0
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 0x455db3
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004153a0
mov dword [ebp - 4], 0
push 0x5120ac
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.00415e40
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.004157f0
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x455cc3
mov dword [ebp - 0x234], 1
jmp 0x455ccd
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.00415310
movzx edx, byte [ebp - 0x21d]
test edx, edx
je 0x455d83
lea ecx, [ebp - 0x240]
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004157f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x26c]
push eax
call fcn.0040a5f0
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.00415600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00415310
lea ecx, [ebp - 0x240]
call fcn.00415d20
test eax, eax
jne 0x455d83
lea ecx, [ebp - 0x240]
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
call fcn.00455900
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.00415310
jmp 0x455c17
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.004e11cc
mov esp, ebp
pop ebp
ret
Function at 0x456590
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9a1b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x572734]
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.00458ef0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00458ef0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00458ef0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00458ef0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00409150
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00415310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00415310
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00415310
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret