joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46aa70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec353
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5294ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x529538]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046a960
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x46ac51
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004711f0
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x501310
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ac51
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x46ab45
cmp eax, 2
jne 0x46ac51
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x46ab66
test cl, 1
jne 0x46ac51
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x46ab6c
jmp 0x46ac51
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x46ac51
call fcn.00406210
mov ecx, eax
test ecx, ecx
je 0x46ac7c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.00468b60
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x501318
push eax
call fcn.0041a360
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.004690f0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x46ac35
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x46abd6
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.0046acd0
push dword [0x529540]
lea eax, [ebp - 0x74]
push dword [0x52953c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x46ac12
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ac2e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x46ac53
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ac51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x46ac5e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004641d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405ac0
int3
Function at 0x46adc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec388
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5294ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x529538]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046a960
test eax, eax
je 0x46aee8
mov esi, dword [ebp - 0x18]
mov edi, dword [str.SOFTWAREComMaster]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x46ae93
cmp dword [esi], 0
je 0x46ae86
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x46ae53
mov eax, 1
jmp 0x46aeb4
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46ae8c
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x46aeb4
cmp dword [esi + 4], 0
jne 0x46ae93
mov eax, 1
jmp 0x46aeb4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46aede
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x46aec6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x46aeeb
xor ebx, ebx
jmp 0x46af8f
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x46af8f
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x46af48
mov ecx, dword [ebx]
test ecx, ecx
je 0x46afae
push ecx
push eax
call fcn.0048c6d8
add esp, 8
test eax, eax
je 0x46af48
mov edx, dword [edi]
test edx, edx
je 0x46af48
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46af20
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x46af53
lea eax, [edx + 0xd]
jmp 0x46af88
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46af60
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x501310
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x46af9a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405ac0
int3
Function at 0x46c7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46c841
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x46c80f
cmp eax, 2
jne 0x46c82b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x46c83b
test ecx, ecx
je 0x46c836
test cl, 1
jne 0x46c82b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x46c83b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x470e40
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5294ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x470fac
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
test esi, esi
jle 0x470eaf
lea eax, [ebp - 0x20c]
push eax
call edi
sub esi, 1
jne 0x470ea1
mov eax, dword [0x52e2cc]
mov esi, dword [eax]
cmp esi, eax
je 0x470fac
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x470fd3
cmp ecx, 8
jne 0x470f64
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x1a
push eax
push 0
call edi
push str.MasterPDFData
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x470fbf
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x470f8a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x470f86
cmp esi, dword [eax + 8]
jne 0x470f86
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x470f76
mov esi, eax
jmp 0x470fa0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x470fa0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x470f94
cmp esi, dword [0x52e2cc]
jne 0x470ed0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004641d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004641d8
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004641d8
mov esp, ebp
pop ebp
ret

Function at 0x4a8a83
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a8688

Function at 0x4a8a8e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a8809

Function at 0x4af88e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af068

Function at 0x4af899
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af2a3

Function at 0x4b0589
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b0310
Function at 0x4bfe80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.004c0490
add esp, 8
test al, al
je 0x4bfea5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4bfea5
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x4c0490
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x4c1940
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c196b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4c196b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x42c49f
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0042c448
test eax, eax
je 0x42c5f8
lea ecx, [esp + 0x18]
call fcn.0042c448
lea ecx, [esp + 0x18]
test eax, eax
je 0x42c567
call fcn.0042c448
test eax, eax
je 0x42c529
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.0042c448
lea edi, [eax + edi*2]
dec ebx
jne 0x42c4ff
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x42c520
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x42c523
mov byte [edx], 0
inc edx
jmp 0x42c60a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x42c55f
test ecx, ecx
je 0x42c5f3
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42c551
jmp 0x42c5ef
xor ebp, ebp
inc ebp
jmp 0x42c5f3
call fcn.0042c47e
test edi, edi
jne 0x42c59c
cmp eax, 2
jne 0x42c597
lea ecx, [esp + 0x18]
call fcn.0042c47e
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x42c5f3
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x42c58c
jmp 0x42c5ef
sub eax, 3
jmp 0x42c59f
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.0042c47e
mov ecx, eax
cmp esi, 0x7d00
jb 0x42c5c6
inc ecx
cmp esi, 0x500
jb 0x42c5cf
inc ecx
cmp esi, 0x80
jae 0x42c5da
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x42c5f3
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42c5e6
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x42c610
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x42c4cf
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c795
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x42c7c7
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x42c7a8
jmp 0x42c7cb
mov eax, dword [esp + 0x10]
test edi, edi
je 0x42c7d5
xor byte [esi], al
inc esi
dec edi
jne 0x42c7cf
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00406dc2
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00406dc2
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00406dc2
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00406dc2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00406dc2
mov dword [0x41203c], eax
call fcn.00406dc2
test eax, eax
jge 0x402550
push 8
call fcn.00406dc2
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00406dc2
pop ecx
push 1
call fcn.00406dc2
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00406dc2
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00406dc2
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00406dc2
jmp 0x402495

Function at 0x406dc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x406dd1
pop dword [ebp - 0x3c]
mov eax, 0xdd9b46e6
add eax, 0x22a526eb
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x356c1
push 0
mov eax, 0xfeaefb20
add eax, 0x191e5b8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x98325747
sub ecx, 0x98321ec5
xor edx, edx
add edx, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x3c]
mov edi, 0x352d0911
xor dword [ebp - 0x24], 0x3c6827fc
mov esi, dword [ebx]
add esi, edi
add dword [ebp - 0x10], 0x1a0933cd
mov dword [edx], esi
add dword [ebp - 0x18], 0x31e563cd
add edx, 4
add ebx, 4
loop 0x406e26
add eax, 0x30c3b82a
sub eax, 0x30c2e34f
mov ebx, eax
add eax, 0x5b142af0
add eax, 0xa4ebd515
mov ecx, 0xb26f85ef
add ecx, 0x4dd07a11
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x31a57291
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4563653f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x405c62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x405c71
pop dword [ebp - 0x40]
mov eax, 0x405c71
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x6e2c6afd
add dword [ebp - 0x50], 0xe025da4e
mov dword [ebp - 0x4c], 0xc3b51198
sub dword [ebp - 0x4c], 0x9181c553
mov dword [ebp - 0x48], 0x6bbecf2c
add dword [ebp - 0x48], 0xe08d7502
mov dword [ebp - 0x44], 0x5fd4d73
sub dword [ebp - 0x44], 0x5fd4d73
lea eax, [ebp - 0x50]
push eax
mov eax, 0xfd378177
add eax, 0x3094ed5
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x52d2d138
sub dword [ebp - 0x50], 0xde6067e2
mov dword [ebp - 0x4c], 0x75d958f7
add dword [ebp - 0x4c], 0xcb93087e
mov dword [ebp - 0x48], 0xc1cf8ca0
add dword [ebp - 0x48], 0xa19fdfcc
mov dword [ebp - 0x44], 0x5085065a
add dword [ebp - 0x44], 0xaf7af9a6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xafc67a7
add eax, 0xf54468a1
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39452
push 0
call eax
mov ecx, 0xfcd578cb
add ecx, 0x32acd68
mov esi, eax
mov edx, 0x5bebafb5
add edx, 0xa456004b
add edx, dword [ebp - 0x40]
mov ebx, 0x55668b14
sub ebx, 0x314727db
add dword [ebp - 0x20], 0xb12823ec
mov edi, dword [edx]
add dword [ebp - 0x20], 0x182025b3
xor edi, ebx
sub dword [ebp - 0x18], 0x20247c04
mov dword [esi], edi
add esi, 0xd397f1ea
sub esi, 0xd397f1e6
add edx, 0x9cd2f038
sub edx, 0x9cd2f034
loop 0x405d8e
add eax, 0x10b9f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40ab38
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ba5f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040791f
and dword [ebp - 0x14], 0
cmp dword [0x4be718], 0
mov dword [ebp - 0x18], eax
jne 0x40abeb
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ac93
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ac93
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x4be718], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x4be71c], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x4be720], eax
call edi
push eax
call esi
mov dword [0x4be728], eax
test eax, eax
je 0x40abeb
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x4be724], eax
mov eax, dword [0x4be724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ac44
cmp dword [0x4be728], ecx
je 0x40ac44
push eax
call esi
push dword [0x4be728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ac44
test ebx, ebx
je 0x40ac44
call edi
test eax, eax
je 0x40ac3b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ac3b
test byte [ebp - 8], 1
jne 0x40ac44
or dword [ebp + 0x10], 0x200000
jmp 0x40ac77
mov eax, dword [0x4be71c]
cmp eax, dword [ebp - 0x18]
je 0x40ac77
push eax
call esi
test eax, eax
je 0x40ac77
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ac77
mov eax, dword [0x4be720]
cmp eax, dword [ebp - 0x18]
je 0x40ac77
push eax
call esi
test eax, eax
je 0x40ac77
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4be718]
call esi
test eax, eax
je 0x40ac93
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ac95
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aea3
leave
ret

Function at 0x40aea3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ba5f8]
jne 0x40aead
repz ret
jmp fcn.0040dcf5