joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4193a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x48a8f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
push eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00419530
lea eax, [ebp - 0x6c]
push eax
call fcn.00419420
movdqu xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
movdqu xmmword [esi], xmm0
pop esi
call fcn.00424094
mov esp, ebp
pop ebp
ret

Function at 0x41ae80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x48a8f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ebx, ecx
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
xor al, al
cmp esi, 0xffffffff
je 0x41afba
mov ecx, dword [ebx + 0x5dc4]
lea eax, [ebp - 0x108]
sub ecx, dword [ebx + 0x5dc0]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push eax
push 4
lea eax, [ebp - 0x10c]
sar ecx, 2
push eax
push esi
mov dword [ebp - 0x10c], ecx
call ebx
xor edi, edi
cmp dword [ebp - 0x10c], edi
jbe 0x41af5e
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x104]
push ecx
mov eax, dword [eax + 0x5dc0]
mov ecx, dword [eax + edi*4]
call fcn.0041ad70
movzx eax, ax
push 0
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x108]
push eax
push 2
lea eax, [ebp - 0x110]
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x108]
push eax
movzx eax, word [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call ebx
inc edi
cmp edi, dword [ebp - 0x10c]
jb 0x41af01
mov ecx, dword [str.gssmartcarddata]
pop edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41af68
push 0
lea eax, [ebp - 0x108]
sub ecx, edx
push eax
push 4
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], ecx
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x118]
push dword [0x48a87c]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
mov byte [eax + 0x5dcc], 0
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00424094
mov esp, ebp
pop ebp
ret 4
Function at 0x423d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x48a8f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x104
push 0
push eax
call fcn.00424700
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x423d74
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424094
mov esp, ebp
pop ebp
ret
cmp byte [ebp + eax - 0x805], 0x5c
je 0x423d86
mov byte [ebp + eax - 0x804], 0x5c
cmp byte [ebp - 0x804], 0
mov dword [ebp - 0x808], 0xf
mov dword [ebp - 0x80c], 0
mov byte [ebp - 0x81c], 0
jne 0x423dae
xor ecx, ecx
jmp 0x423dc0
lea ecx, [ebp - 0x804]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423db7
sub ecx, edx
push ecx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x81c]
call fcn.00406010
lea eax, [ebp - 0x81c]
cmp esi, eax
je 0x423e0c
cmp dword [esi + 0x14], 0x10
jb 0x423ded
push dword [esi]
call fcn.0042484e
add esp, 4
lea eax, [ebp - 0x81c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00404750
cmp dword [ebp - 0x808], 0x10
jb 0x423e23
push dword [ebp - 0x81c]
call fcn.0042484e
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00424094
mov esp, ebp
pop ebp
ret
Function at 0x435891
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48a8f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042dca0
mov dword [ebp - 0x14], eax
cmp dword [0x495b4c], esi
jne 0x435984
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x435911
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x435a64
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x435a64
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435a64
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x495b4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x495b50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x495b54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x495b5c], eax
test eax, eax
je 0x435981
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x495b58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4359a9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43599c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4359be
push 4
pop eax
jmp 0x435a66
cmp dword [ebp - 0x14], esi
je 0x4359be
push dword [0x495b4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4359a3
mov eax, dword [0x495b58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x435a1c
cmp dword [0x495b5c], edi
je 0x435a1c
push eax
call ebx
push dword [0x495b5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x435a1c
test eax, eax
je 0x435a1c
call ecx
test eax, eax
je 0x435a11
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x435a11
test byte [ebp - 8], 1
jne 0x435a1c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x435a4c
mov eax, dword [0x495b50]
cmp eax, edi
je 0x435a49
push eax
call ebx
test eax, eax
je 0x435a49
call eax
mov esi, eax
test esi, esi
je 0x435a49
mov eax, dword [0x495b54]
cmp eax, edi
je 0x435a49
push eax
call ebx
test eax, eax
je 0x435a49
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x495b4c]
call ebx
test eax, eax
je 0x435a64
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x435a66
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424094
mov esp, ebp
pop ebp
ret
Function at 0x454d90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ecx, ecx
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
sub ebp, edi
xor ebx, ebx
cmp edi, dword [esp + 0x18]
cmova ebp, ecx
test ebp, ebp
je 0x454dd1
nop
movsx ecx, byte [edi]
lea edi, [edi + 1]
mov edx, esi
mov eax, esi
shl edx, 6
add ecx, 0x9e3779b9
shr eax, 2
inc ebx
add edx, eax
add ecx, edx
xor esi, ecx
cmp ebx, ebp
jne 0x454db0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x455670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470bbb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
lea ecx, [edi + 0x2c]
mov dword [edi], eax
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x28], 0
push eax
push 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00456ee0
mov dword [edi + 0x38], 0
mov ecx, dword [edi]
push 0x47def2
push 0x47def1
mov dword [esp + 0x20], 0
mov eax, dword [ecx + 0x138]
mov dword [ecx + 0x13c], eax
mov eax, dword [edi]
mov dword [eax + 0x18], 0
mov eax, dword [edi + 4]
mov ecx, dword [eax]
call fcn.0045d350
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 4]
push 0x47def3
push 0x47def2
mov ecx, dword [eax]
call fcn.0045d350
mov dword [edi + 0x40], eax
mov eax, dword [edi + 4]
push 0x47def9
push str.lower
mov ecx, dword [eax]
call fcn.0045d350
mov dword [edi + 0x44], eax
mov eax, dword [edi + 4]
push 0x47df01
push str.upper
mov ecx, dword [eax]
call fcn.0045d350
mov dword [edi + 0x48], eax
mov eax, dword [edi + 4]
push 0x47df09
push str.alpha
mov ecx, dword [eax]
call fcn.0045d350
mov ecx, dword [edi]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x140], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x45cc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4712c9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 1
push 0x495de4
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.004660d0
xor ecx, ecx
mov dword [esp + 0x28], 1
cmp byte [esp + 0x10], cl
lea eax, [esp + 0xc]
cmove eax, ecx
test eax, eax
je 0x45cce2
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.0045ac60
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x28], 0
call fcn.004660f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
lea eax, [esp + 8]
mov dword [esp + 8], str.Error_in_thread_safety_code:_could_not_acquire_a_lock
push eax
lea ecx, [esp + 0x18]
call fcn.004250ca
mov dword [esp + 0x14], vtable.std::runtime_error.0
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 2
push eax
call fcn.00416b30
int3
Function at 0x464890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4719f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48a8f0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x13c]
sub eax, dword [ecx + 0x138]
cmp dword [esi + 0x70], eax
jne 0x46493f
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x46493f
mov eax, dword [esi + 0x7c]
cmp dword [eax - 4], ebx
jle 0x46493f
mov eax, dword [ecx + 0x14]
test al, 3
jne 0x4648fd
test eax, 0x1000000
je 0x46493f
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x14]
call fcn.00403b40
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 0
push eax
mov eax, dword [esi + 0x5c]
mov ecx, esi
sub eax, dword [esi + 0x54]
push eax
push 0x11
call fcn.0045c380
cmp dword [esp + 0x24], 0x10
jb 0x46493b
push dword [esp + 0x10]
call fcn.0042484e
add esp, 4
xor al, al
jmp 0x4649a7
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4649a5
lea esp, [esp]
mov eax, dword [esi + 0x7c]
mov edi, dword [eax - 4]
cmp edi, ebx
jle 0x4649a5
add dword [esi + 0x7c], 0xfffffffc
mov edx, dword [esi]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [edx + 0x138]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [edx + 0x138]
mov dword [edx + 0x13c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
sub ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x138]
sub ecx, edi
mov dword [eax + edi + 8], ecx
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
jne 0x464950
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00424094
add esp, 0x28
ret 4
Function at 0x465c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
mov eax, dword [0x48a8f0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov dword [esp], 0x475dce
mov dword [esp + 4], str.___.___
mov dword [esp + 8], 0x47ed28
mov dword [esp + 0xc], 0x47ed2c
mov dword [esp + 0x10], 0x47a59c
mov dword [esp + 0x14], 0x47ed30
mov dword [esp + 0x18], 0x475dcc
mov dword [esp + 0x1c], 0x47a56c
mov dword [esp + 0x20], 0x47ed34
mov dword [esp + 0x24], 0x47ed38
mov dword [esp + 0x28], 0x47ed3c
mov dword [esp + 0x2c], 0x47a5a0
mov dword [esp + 0x30], 0x47ed40
mov dword [esp + 0x34], 0x47ed44
mov dword [esp + 0x38], 0x476410
mov dword [esp + 0x3c], 0x47ed48
mov dword [esp + 0x40], 0x47ed4c
mov dword [esp + 0x44], 0x47ed50
mov dword [esp + 0x48], 0x47e958
mov dword [esp + 0x4c], 0x47e95c
mov dword [esp + 0x50], 0x47a580
mov dword [esp + 0x54], 0x47a588
mov dword [esp + 0x58], 0x475dce
mov dword [esp + 0x5c], 0x475dce
mov dword [esp + 0x60], 0x47ed5c
mov dword [esp + 0x64], 0x47ed60
mov dword [esp + 0x68], 0x47640c
mov dword [esp + 0x6c], 0x47a590
mov dword [esp + 0x70], 0x47ce98
mov dword [esp + 0x74], 0x47e960
mov dword [esp + 0x78], 0x47e964
mov dword [esp + 0x7c], 0x47ce94
mov dword [esp + 0x80], 0x47e968
mov dword [esp + 0x84], 0x47e96c
mov dword [esp + 0x88], 0x47e970
mov dword [esp + 0x8c], 0x47e974
mov dword [esp + 0x90], 0x476c50
mov dword [esp + 0x94], 0x47a538
mov dword [esp + 0x98], 0x47e978
mov dword [esp + 0x9c], 0x475dce
mov dword [esp + 0xa0], 0x475dce
mov dword [esp + 0xa4], 0x475dce
mov dword [esp + 0xa8], 0x475dce
mov dword [esp + 0xac], 0x475dce
mov dword [esp + 0xb0], 0x475dce
mov dword [esp + 0xb4], 0x475dce
mov dword [esp + 0xb8], 0x475dce
mov dword [esp + 0xbc], 0x47e97c
mov dword [esp + 0xc0], 0x47e980
mov dword [esp + 0xc4], 0x47e984
mov dword [esp + 0xc8], 0x47c0f4
mov dword [esp + 0xcc], 0x47e988
mov dword [esp + 0xd0], 0x47e98c
mov dword [esp + 0xd4], 0x47a544
mov dword [esp + 0xd8], 0x47e990
mov dword [esp + 0xdc], 0x47e994
mov dword [esp + 0xe0], 0x47e998
mov dword [esp + 0xe4], 0x47ed64
mov dword [esp + 0xe8], 0x47e99c
mov dword [esp + 0xec], 0x47e9a0
cmp cl, 0x3c
jb 0x465e86
mov eax, 0x475dce
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00424094
add esp, 0xf4
ret
movzx eax, cl
mov ecx, dword [esp + 0xf0]
xor ecx, esp
mov eax, dword [esp + eax*4]
call fcn.00424094
add esp, 0xf4
ret
Function at 0x466fd0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471d30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], eax
push 0x47c0f4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00403cb0
lea eax, [esp + 0xc]
mov byte [esp + 0x74], 1
push eax
call fcn.0043ce38
add esp, 4
lea ecx, [esp + 0x38]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00404220
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
Function at 0x467ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x471f90
mov eax, dword fs:[0]
push eax
push ebx
push ebp
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 3
lea ebx, [ebx]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
cmp ebp, dword [esp + 0x54]
jne 0x467f41
cmp ecx, eax
je 0x467fbc
cmp ebx, dword [esp + 0x94]
jne 0x467f50
cmp dword [esp + 0x78], edx
je 0x467fbc
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push dword [esp + 0x6c]
cmovae eax, dword [esp + 0x60]
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x34]
push 0
call fcn.00467330
test eax, eax
js 0x46800b
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x74]
push 0
call fcn.00467330
test eax, eax
js 0x468004
lea eax, [esp + 0x1c]
push eax
call fcn.004680c0
lea eax, [esp + 0x60]
push eax
call fcn.004680c0
add esp, 8
jmp 0x467f20
cmp ebp, dword [esp + 0x54]
jne 0x467ff2
cmp ecx, eax
jne 0x467ff2
cmp ebx, dword [esp + 0x94]
jne 0x467fd9
cmp dword [esp + 0x78], edx
jne 0x467fd9
xor ebx, ebx
jmp 0x46800e
cmp ecx, eax
jne 0x467ff2
xor ebx, ebx
mov eax, 1
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x46800e
xor ebx, ebx
xor eax, eax
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x46800e
mov ebx, 1
jmp 0x46800e
or ebx, 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x468021
push dword [esp + 0x1c]
call fcn.0042484e
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x46804b
push dword [esp + 0x3c]
call fcn.0042484e
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x468075
push dword [esp + 0x5c]
call fcn.0042484e
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x90], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x4680a2
push dword [esp + 0x7c]
call fcn.0042484e
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x468ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x472250
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48a8f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a8f0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
jb 0x468f28
mov eax, dword [edi]
jmp 0x468f2a
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x468f4a
push ebp
push edi
push ebx
call fcn.00468d80
add esp, 0xc
jmp 0x469060
test eax, 0x400
je 0x469019
cmp dword [edi + 0x14], 8
jb 0x468f5f
mov eax, dword [edi]
jmp 0x468f61
mov eax, edi
push eax
lea ecx, [esp + 0x24]
call fcn.00467070
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0
cmovae eax, dword [esp + 0x24]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x44], 2
jb 0x468fb5
push dword [esp + 0x20]
call fcn.0042484e
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp esi, 0xffffffff
je 0x468f3a
push edi
call fcn.004688e0
add esp, 4
test al, al
jne 0x46900a
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.004689d0
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
mov dword [esp + 0x44], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x469060
push esi
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x46902c
mov dword [ebp], 0
call fcn.00452c10
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 3
push eax
push edi
test al, 0x10
jne 0x469046
mov dword [esp + 0x1c], 2
call fcn.004689d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
add esp, 8
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00424094
add esp, 0x34
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2e600a88
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x189195e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401965
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov eax, 0x40300c
or esi, 0xffffffff
lock xadd dword [eax], esi
dec esi
jne 0x4019a9
push 4
pop ecx
call fcn.004013c5
xor ecx, ecx
push ecx
push ecx
push eax
push 0x401937
push ecx
push ecx
mov dword [eax], 0x493e0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4019a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4019a9
call fcn.00401573
mov eax, esi
pop esi
ret

Function at 0x402594
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x402ae8
call fcn.0040290c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
mov esi, ebx
mov edx, 0x40344c
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4023d0
cmp eax, edi
jne 0x4023e3
xor esi, esi
inc esi
cmp dword [0x403450], 1
jne 0x4023f0
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402426
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4023b8
cmp dword [0x403450], ebx
jne 0x40241c
mov dword [0x403450], 1
push 0x401020
push 0x401014
call fcn.0040256b
pop ecx
pop ecx
test eax, eax
je 0x402426
jmp 0x402554
mov dword [0x40301c], 1
cmp dword [0x403450], 1
jne 0x40244a
push 0x401010
push 0x401004
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403450], 2
test esi, esi
jne 0x402457
xor eax, eax
mov ecx, 0x40344c
xchg dword [ecx], eax
cmp dword [0x403454], 0
je 0x402479
push 0x403454
call fcn.00402730
pop ecx
test eax, eax
je 0x402479
push ebx
push 2
push ebx
call dword [0x403454]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x402554
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, si
ja 0x4024e8
test ax, ax
je 0x4024a2
test edx, edx
jne 0x4024e8
movzx eax, word [ecx]
test ax, ax
je 0x4024b7
cmp ax, si
ja 0x4024b7
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x4024a2
test byte [ebp - 0x3c], 1
je 0x4024c3
movzx eax, word [ebp - 0x38]
jmp 0x4024c6
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x403018], eax
cmp dword [0x403030], 0
jne 0x402530
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x4024f9
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x402491
cmp dword [0x40301c], 0
jne 0x402544
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x403018]
mov dword [ebp - 4], 0xfffffffe
jmp 0x402560
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00402951
ret
call fcn.00402838
jmp 0x402381