joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4983d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4ed3dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00470e10
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x498451
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
push 0x4d6078
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccd0
mov ecx, eax
call fcn.00401c00
jmp 0x498558
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 2
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x22c]
mov ax, word [edx]
mov word [ebp - 0x232], ax
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x232], 0
jne 0x49846c
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x230]
sar ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
movzx eax, word [ebp + edx*2 - 0x212]
cmp eax, 0x5c
jne 0x498514
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
add edx, 2
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x23c]
mov cx, word [eax]
mov word [ebp - 0x242], cx
add dword [ebp - 0x23c], 2
cmp word [ebp - 0x242], 0
jne 0x4984cf
mov edx, dword [ebp - 0x23c]
sub edx, dword [ebp - 0x240]
sar edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov word [ebp + eax*2 - 0x212], 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0049a5c0
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.0049a480
lea ecx, [ebp - 0x224]
call fcn.00499a80
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ec29
mov esp, ebp
pop ebp
ret 4
Function at 0x499b70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a40a1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ed3dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
call fcn.00496450
movzx eax, al
test eax, eax
je 0x499bb1
mov ecx, dword [ebp + 8]
call fcn.00401c10
jmp 0x499cd2
mov ecx, dword [ebp - 0x24]
call fcn.00499970
movzx ecx, al
test ecx, ecx
jne 0x499bf8
mov ecx, dword [ebp - 0x24]
call fcn.004999f0
movzx edx, al
test edx, edx
jne 0x499bf8
mov ecx, dword [ebp - 0x24]
call fcn.0049b9c0
push eax
push 0x4d6fb4
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x499cd2
lea ecx, [ebp - 0x1c]
call fcn.0049be10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0x4d7700
mov ecx, dword [ebp - 0x24]
call fcn.0049b9c0
push eax
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.0049c0b0
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.0049ba10
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049bc90
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0049b990
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x499cad
lea ecx, [ebp - 0x1c]
call fcn.0049c0f0
push 0x4d7708
mov ecx, dword [ebp + 8]
call fcn.0049ce30
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
mov byte [ebp - 0x1d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0049ba50
mov al, byte [ebp - 0x1d]
jmp 0x499cd2
lea ecx, [ebp - 0x1c]
call fcn.0049c0f0
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0049ba50
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x499cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
call fcn.00496450
movzx eax, al
test eax, eax
je 0x499d12
mov ecx, dword [ebp + 8]
call fcn.00401c10
jmp 0x499f2e
mov ecx, dword [ebp - 0xc]
call fcn.00499970
movzx ecx, al
test ecx, ecx
jne 0x499d59
mov ecx, dword [ebp - 0xc]
call fcn.004999f0
movzx edx, al
test edx, edx
jne 0x499d59
mov ecx, dword [ebp - 0xc]
call fcn.0049b9c0
push eax
push 0x4d6914
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0049b990
push eax
push 0x4d6928
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jg 0x499f26
mov ecx, dword [ebp - 0xc]
call fcn.0049b9c0
push eax
push 0x4d6944
mov ecx, dword [ebp - 8]
push ecx
push 0x4d6934
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccf0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x20
ja case.0x499ddf.1
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x499f6c]
jmp dword [ecx*4 + 0x499f34]
push 0x4d6950
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d69b8
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6a38
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6a90
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6b28
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6ba8
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6c10
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6d00
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6d38
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6e08
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6e78
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d6fc8
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
push 0x4d69fc
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x499f2e
mov ecx, dword [ebp + 8]
call fcn.00401c00
jmp 0x499f2e
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov esp, ebp
pop ebp
ret 0x14
Function at 0x49a1a0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
push 0x80
mov ecx, dword [ebp - 0x34]
call fcn.0049b990
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x49a23e
mov ecx, dword [ebp - 0x34]
call fcn.0049b990
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49a239
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
jne 0x49a205
mov ecx, dword [ebp - 0x34]
call fcn.004999f0
movzx edx, al
test edx, edx
jne 0x49a205
mov ecx, dword [ebp + 8]
call fcn.00401c10
jmp 0x49a3cd
mov ecx, dword [ebp - 0x34]
call fcn.0049b9c0
push eax
push 0x4d67e4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0049ce70
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x49a3cd
jmp 0x49a3c5
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
jne 0x49a262
mov ecx, dword [ebp - 0x34]
call fcn.004999f0
movzx edx, al
test edx, edx
jne 0x49a262
mov ecx, dword [ebp + 8]
call fcn.00401c10
jmp 0x49a3cd
mov ecx, dword [ebp - 0x34]
call fcn.0049ba10
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.0046ef1b
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x49a2b0
mov ecx, dword [ebp - 0x34]
call fcn.0049b9c0
push eax
push 0x4d67f4
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x49a3cd
mov ecx, dword [ebp - 0x34]
call fcn.0049b9c0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0046fdc1
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov word [ecx + eax*2 - 2], 0
mov dword [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 3
mov word [ebp - 0x20], 0x454
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call fcn.0046f0cc
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x49a3c5
cmp dword [ebp - 0xc], 0x402
jne 0x49a388
mov eax, dword [ebp - 0xc]
push eax
push 0x4d6824
mov ecx, dword [ebp - 0x34]
call fcn.0049b9c0
push eax
push 0x4d680c
mov ecx, dword [ebp + 8]
call fcn.0049ce30
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccf0
mov ecx, eax
call fcn.00401c00
jmp 0x49a3cd
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4d6840
mov ecx, dword [ebp - 0x34]
call fcn.0049b9c0
push eax
push 0x4d6828
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccf0
mov ecx, eax
call fcn.00401c00
jmp 0x49a3cd
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49ad40
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4266
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ed3dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
call fcn.0049a720
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0049a870
movzx ecx, al
test ecx, ecx
je 0x49adc1
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
call fcn.0049a900
movzx eax, al
test eax, eax
jne 0x49adc1
mov ecx, dword [ebp + 8]
call fcn.00401c00
mov byte [ebp - 0x21], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00499a80
mov al, byte [ebp - 0x21]
jmp 0x49ae8a
mov dword [ebp - 0x10], 8
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x49add9
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0049b990
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x49ae59
mov ecx, dword [ebp - 0x28]
call fcn.0049b9c0
push eax
push 0x4d68f0
mov ecx, dword [ebp + 8]
call fcn.0049ce30
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
push str.______
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, dword [ebp + 8]
call fcn.00401c00
mov byte [ebp - 0x22], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00499a80
mov al, byte [ebp - 0x22]
jmp 0x49ae8a
push 0x80
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov byte [ebp - 0x23], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00499a80
mov al, byte [ebp - 0x23]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49aea0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4289
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ed3dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x1c]
call fcn.0049a720
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0049a870
movzx ecx, al
test ecx, ecx
je 0x49af21
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0049a900
movzx eax, al
test eax, eax
jne 0x49af21
mov ecx, dword [ebp + 8]
call fcn.00401c00
mov byte [ebp - 0x1d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00499a80
mov al, byte [ebp - 0x1d]
jmp 0x49aff7
push 0x80
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0049b990
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x49afb6
mov ecx, dword [ebp - 0x24]
call fcn.0049b9c0
push eax
push 0x4d68cc
mov ecx, dword [ebp + 8]
call fcn.0049ce30
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
push 0x4d68dc
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, dword [ebp + 8]
call fcn.00401c00
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00499a80
mov al, byte [ebp - 0x1e]
jmp 0x49aff7
push 0x80
mov ecx, dword [ebp + 0xc]
call fcn.00499a40
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
call fcn.00499890
mov ecx, dword [ebp + 0xc]
call fcn.00499b10
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov byte [ebp - 0x1f], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00499a80
mov al, byte [ebp - 0x1f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49cea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], 0
push 0x20804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49cecb
jmp 0x49cf7b
mov ecx, dword [ebp - 4]
push ecx
push 0x20804
call fcn.00401c80
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49cefc
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0041d590
mov dword [ebp - 0x20], eax
jmp 0x49cf03
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
push 0x4d7ab4
push 0x4d7ac0
mov al, byte [ebp + 0x10]
push eax
push 0x10000
mov ecx, dword [ebp - 8]
add ecx, 0x804
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0049c8c0
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x804]
test eax, eax
jne 0x49cf44
jmp 0x49cf71
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x49c7a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49cf6f
jmp 0x49cf71
jmp 0x49cf7b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a25c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a2699
cmp dword [ebp + 0x14], 0
je 0x4a2612
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx]
test edx, edx
jne 0x4a264b
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049b9c0
push eax
push 0x4d59cc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0049ce70
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x4a2733
mov ecx, dword [ebp + 0x14]
push ecx
push 0x4d59ec
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049b9c0
push eax
push 0x4d59dc
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0049ce70
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x4a2733
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
je 0x4a272b
cmp dword [ebp + 0x14], 0
je 0x4a26b5
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx]
test edx, edx
jne 0x4a26e0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049b9c0
push eax
push 0x4d59f0
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x4a2733
mov eax, dword [ebp + 0x14]
push eax
push 0x4d5a20
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049b9c0
push eax
push 0x4d5a08
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049ce70
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.00401c00
jmp 0x4a2733
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44c25f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004471af
test eax, eax
jne 0x44c2cb
push ebp
push 0x50af14
mov ecx, edi
call fcn.0044b4df
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00446d2f
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0043e41f
push ebx
mov dword [esp + 0x4c], ebp
call fcn.0044735f
add esp, 4
test eax, eax
je 0x44c36e
add esi, 0x18
push esi
call fcn.0043ee6f
add esi, eax
push esi
call fcn.0043ee6f
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x44c671
jmp dword [ecx*4 + 0x446200]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.0044b61f
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.0043ee6f
add esi, eax
push esi
call fcn.0043ee6f
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x44c3bf
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004eb64c]
test eax, eax
je 0x44c3bf
mov eax, 1
jmp 0x44c3c1
xor eax, eax
cmp ebx, 8
jge 0x44c626
cmp ebx, 7
ja 0x44c671
jmp dword [ebx*4 + 0x446210]
test eax, eax
jne 0x44c639
mov ecx, dword [esp + 0x10]
push eax
push 0x50af00
call fcn.0044b4df
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.0044cb7f
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x4f1098
call fcn.0043e61f
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x4553bf
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x532980]
xor edx, edx
cmp eax, edx
jne 0x4553e5
xor eax, eax
mov byte [eax + 0x532880], al
inc eax
cmp eax, 0x100
jl 0x4553cd
mov dword [0x532980], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x532880
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x455476
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x455449
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x455417
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45547f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4554d2
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4554b9
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret