joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447e40
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.0046f72a
mov ecx, dword [esp + 0x20]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x447e6b
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x447e7a
mov eax, 1
pop ecx
ret

Function at 0x449aae
Capabilities:
Resume thread
Suspend thread
Terminate thread

Disassembly:
cmp dword [0x4b9da4], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_EndDialog]
push esi
mov esi, ecx
je 0x449abb
mov eax, dword [esi + 4]
push 0
push eax
call ebx
cmp dword [0x4b9d98], 0
je 0x449aff
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
test dword [0x4b44ac], 0x100
je 0x449b3c
mov ecx, esi
call fcn.004499e0
test eax, eax
jne 0x449b3c
push eax
mov eax, dword [0x4b9d98]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x4b9cf0], 1
je 0x449b63
push edi
mov edi, dword [0x4b9b78]
test edi, edi
je 0x449b62
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test dword [0x4b44ac], 0x100
je 0x449b47
mov ecx, esi
call fcn.004499e0
test eax, eax
jne 0x449b47
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esi + 4]
push 0
push ecx
call ebx
pop esi
pop ebx
ret
push 0x16
push edi
mov dword [0x4b9d94], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push 0
push edx
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x44a541
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x44a569
mov eax, dword [esi + 4]
push 0x4b5
push eax
call edi
test eax, eax
je 0x44a569
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
mov ebx, dword [0x4b9ca4]
push 0x4b5
push ecx
call edi
mov edi, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.00405330
add esp, 4
mov ecx, esi
call fcn.00449210
pop edi
mov ecx, esi
pop esi
pop ebx
jmp method.CSfxDialog_ExtractPath.virtual_12

Function at 0x44b210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4baec0], ecx
inc edx
cmp edx, 0x100
jb 0x44b212
cmp edx, 0x800
jae 0x44b2e9
lea esp, [esp]
mov eax, dword [edx*4 + 0x4baac0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4baec0]
inc edx
mov dword [edx*4 + 0x4baebc], eax
cmp edx, 0x800
jb 0x44b2c0
mov eax, 0x48bae0
mov dword [0x4baeb0], eax
mov dword [0x4bcec0], eax
mov dword [0x4baeac], 0x48ba00
call fcn.004543f0
test eax, eax
jne 0x44b315
mov dword [0x4bcec0], 0x48ba00
ret

Function at 0x44b520
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x491524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [esp], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, 8
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x44]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
mov eax, dword [eax + 8]
push eax
call fcn.0046f7da
mov byte [esp + 0x18], 7
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046f7da
mov byte [esp + 0x1c], 6
mov eax, dword [esi + 0x38]
push eax
call fcn.0046f7da
mov byte [esp + 0x20], 5
mov eax, dword [esi + 0x34]
push eax
call fcn.0046f7da
mov byte [esp + 0x24], 4
mov eax, dword [esi + 0x30]
push eax
call fcn.0046f7da
mov byte [esp + 0x28], 3
mov eax, dword [esi + 0x2c]
push eax
call fcn.0046f7da
mov byte [esp + 0x2c], 2
mov eax, dword [esi + 0x28]
push eax
call fcn.0046f7da
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0x24]
push eax
call fcn.0046f7da
add esp, 0x20
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.004048d0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 8]
push eax
call fcn.0046f7da
mov ecx, dword [esp + 0x10]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44e4d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, 8
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x44]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
mov eax, dword [eax + 8]
push eax
call fcn.0046f7da
mov byte [esp + 0x18], 7
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046f7da
mov byte [esp + 0x1c], 6
mov eax, dword [esi + 0x38]
push eax
call fcn.0046f7da
mov byte [esp + 0x20], 5
mov eax, dword [esi + 0x34]
push eax
call fcn.0046f7da
mov byte [esp + 0x24], 4
mov eax, dword [esi + 0x30]
push eax
call fcn.0046f7da
mov byte [esp + 0x28], 3
mov eax, dword [esi + 0x2c]
push eax
call fcn.0046f7da
mov byte [esp + 0x2c], 2
mov eax, dword [esi + 0x28]
push eax
call fcn.0046f7da
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0x24]
push eax
call fcn.0046f7da
add esp, 0x20
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.004048d0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 8]
push eax
call fcn.0046f7da
mov ecx, dword [esp + 0x10]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44e9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491c5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esp], eax
mov dword [eax + 8], ecx
mov dword [esp + 0x10], ecx
lea edx, [eax + 0xc]
mov dword [esp + 4], edx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov byte [esp + 0x10], 1
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov byte [esp + 0x10], 3
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 4
mov dword [eax + 0x28], ecx
mov byte [esp + 0x10], 5
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x10], 6
mov dword [eax + 0x30], ecx
mov byte [esp + 0x10], 7
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 8
mov dword [eax + 0x38], ecx
mov byte [esp + 0x10], 9
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov byte [esp + 0x10], 0xa
lea edx, [eax + 0x44]
mov byte [edx], cl
mov dword [edx + 4], ecx
mov dword [esp + 4], edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ece0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491e4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0044eb40
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea eax, [esi + 0xe0]
mov dword [esp + 8], eax
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov byte [esp + 0x14], 2
mov dword [esi + 0x118], ecx
mov byte [esp + 0x14], 3
mov dword [esi + 0x11c], ecx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x451b60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x491f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
mov ebp, ecx
push ebx
mov dword [esp + 0x18], ebp
call fcn.0044fd10
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044f9e0
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
call fcn.0044be50
mov ecx, dword [esi]
mov edi, dword [edi]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x34], edi
test ebx, ebx
jbe 0x451c0d
nop
mov esi, dword [esp + 0x30]
xor edx, edx
xor eax, eax
cmp byte [ecx + esi], dl
je 0x451c01
mov eax, dword [ebp + 0x38]
mov esi, dword [eax + 8]
lea ebp, [esi + 8]
cmp ebp, dword [eax + 4]
ja 0x451c69
mov edx, dword [eax]
mov edi, dword [esi + edx]
mov edx, dword [esi + edx + 4]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0x34]
mov dword [edi + ecx*8], eax
mov dword [edi + ecx*8 + 4], edx
inc ecx
cmp ecx, ebx
jb 0x451bd0
or edx, 0xffffffff
mov dword [esp + 0x24], edx
cmp byte [esp + 0x18], 0
je 0x451c54
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x38]
mov esi, dword [ecx + 4]
sub esi, dword [ecx + 8]
je 0x451c2e
mov byte [eax + 0x3c], 1
add dword [eax + 4], edx
mov ecx, dword [eax + 4]
je 0x451c4f
cmp byte [esp + 0x19], 0
lea edx, [ecx + ecx*2]
lea edx, [eax + edx*4]
lea ecx, [edx - 4]
mov dword [eax + 0x38], ecx
je 0x451c4f
mov eax, dword [edx + 0x10]
add dword [ecx + 8], eax
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
call fcn.0044ef20
int3
Function at 0x453000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [esp], eax
mov dword [eax], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 4], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4548f0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
mov dword [esi], 0
jmp 0x454910
mov ecx, dword [0x4b7900]
mov eax, ebp
cmp ebp, ecx
jbe 0x45491e
mov eax, ecx
mov edx, dword [ebx]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [esi], ecx
test eax, eax
je 0x454955
test ecx, ecx
je 0x45494c
add edi, ecx
sub ebp, ecx
jne 0x454910
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc

Function at 0x455c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov dword [eax], vtable.ICompressCoder.0
mov dword [eax + 4], vtable.ICompressSetOutStreamSize.0
mov dword [eax + 8], vtable.ICompressInitEncoder.0
mov dword [eax + 0xc], vtable.ICompressSetInStream.0
mov dword [eax + 0x10], vtable.ISequentialInStream.0
mov dword [eax + 0x14], vtable.ICompressSetOutStream.0
mov dword [eax + 0x18], vtable.ISequentialOutStream.0
mov dword [eax + 0x1c], vtable.IOutStreamFinish.0
mov dword [eax + 0x20], vtable.ICompressSetBufSize.0
xor ecx, ecx
mov dword [eax + 0x24], vtable.ICompressSetDecoderProperties2.0
mov dword [eax + 0x28], ecx
mov dword [esp], eax
mov dword [eax + 0x2c], ecx
mov dword [esp + 0xc], ecx
mov edx, 0x100000
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dl, byte [esp + 0x14]
mov dword [eax], vtable.CFilterCoder.9.0
mov dword [eax + 4], vtable.CFilterCoder.8.0
mov dword [eax + 8], vtable.CFilterCoder.7.0
mov dword [eax + 0xc], vtable.CFilterCoder.6.0
mov dword [eax + 0x10], vtable.CFilterCoder.5.0
mov dword [eax + 0x14], vtable.CFilterCoder.4.0
mov dword [eax + 0x18], vtable.CFilterCoder.3.0
mov dword [eax + 0x1c], vtable.CFilterCoder.2.0
mov dword [eax + 0x20], vtable.CFilterCoder.1.0
mov dword [eax + 0x24], vtable.CFilterCoder.0
mov dword [eax + 0x30], ecx
mov byte [eax + 0x3c], dl
mov byte [eax + 0x3d], cl
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x54], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x64], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x68], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x45b8f9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492473
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], vtable.ICompressCoder2.0
mov dword [esi + 4], vtable.ICompressSetFinishMode.0
mov dword [esi + 8], vtable.ICompressSetInStream2.0
mov dword [esi + 0xc], vtable.ISequentialInStream.0
mov dword [esi + 0x10], vtable.ICompressSetOutStreamSize.0
mov dword [esi + 0x14], vtable.ICompressSetBufSize.0
mov dword [esi + 0x18], ebx
mov eax, 0x40000
mov dword [esp + 8], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
mov dword [esp + 0x14], ebx
push fcn.0044df60
push 0x44b3f0
push 4
push 4
lea eax, [esi + 0x98]
push eax
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.5.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.0
call fcn.004729cf
mov byte [esp + 0x14], 1
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45f96f
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x49289a
call fcn.00473d7b
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x45fa81
cmp byte [esi + 0x42], bl
je 0x45fa81
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x45f9ab
xor al, al
jmp 0x45fa83
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0045ccef
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8f0
mov ecx, eax
call fcn.00409e40
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8f0
mov ecx, eax
call fcn.00409e40
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x45fa1b
dec eax
je 0x45fa1f
dec eax
dec eax
je 0x45fa7d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408ff0
mov al, bl
jmp 0x45fa83
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8f0
mov ecx, eax
call fcn.00409e40
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x45fa5f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8f0
mov ecx, eax
call fcn.00409e40
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0047823a
add esp, 0x10
cmp edi, eax
jne 0x45fa09
cmp byte [esi + 0x42], 0
je 0x45fa7d
test edi, edi
jne 0x45f9b9
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040d5f0
jmp 0x45f9b9
mov bl, 1
jmp 0x45fa0b
mov al, 1
call fcn.00473dc5
ret

Function at 0x46de80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x46de8f
mov eax, dword [eax + 4]
jmp 0x46de92
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46df1b
push esi
mov esi, dword [0x4ba314]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x46df00
cmp eax, 3
je 0x46df00
cmp eax, 0x7b
je 0x46df00
cmp eax, 0x57
je 0x46df00
cmp eax, 0xa1
je 0x46df00
cmp eax, 0x35
je 0x46df00
cmp eax, 0x20
jne 0x46def5
mov eax, dword [0x4ba31c]
mov dword [ecx], eax
mov edx, dword [0x4ba320]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x4ba31c]
mov dword [ecx], eax
mov edx, dword [0x4ba320]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x4ba31c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x4ba320]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x46df48
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret
Function at 0x46df60
Capabilities:
Delete directory

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x46df7b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x46df90
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x46dfab
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x46dfe0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x46dff3
mov ecx, dword [eax + 4]
jmp 0x46dff6
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x46e004
mov eax, dword [eax + 4]
jmp 0x46e007
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x46e025
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x4ba314]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x4ba314]
mov dword [eax + 4], ecx
ret

Function at 0x46e040
Capabilities:
Create directory

Disassembly:
sub esp, 8
push ebp
push esi
push edi
xor esi, esi
call fcn.0046e4e0
mov ebp, eax
mov dword [esp + 0xc], esi
call fcn.0046e4e0
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], eax
jb 0x46e06b
mov eax, dword [edi + 4]
jmp 0x46e06e
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x46e08f
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 1
pop ebp
add esp, 8
ret
mov ebp, dword [0x4ba314]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x46e0df
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.0046de80
add esp, 0xc
cmp dword [esp + 0x1c], 3
jne 0x46e0df
mov eax, dword [esp + 0x18]
mov edx, dword [0x4ba31c]
mov ecx, dword [0x4ba320]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret

Function at 0x473d03
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b89e8]
jne 0x473d0d
repz ret
jmp fcn.0047e8a9
Function at 0x486971
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047a4ca
and dword [ebp - 4], 0
cmp dword [0x4bae84], 0
mov ebx, eax
jne 0x486a22
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x486ad3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49cc7c
push edi
call esi
test eax, eax
je 0x486ad3
push eax
call fcn.0047a458
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4bae84], eax
call esi
push eax
call fcn.0047a458
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4bae88], eax
call esi
push eax
call fcn.0047a458
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4bae8c], eax
call esi
push eax
call fcn.0047a458
pop ecx
mov dword [0x4bae94], eax
test eax, eax
je 0x486a22
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047a458
pop ecx
mov dword [0x4bae90], eax
mov eax, dword [0x4bae90]
cmp eax, ebx
je 0x486a7a
cmp dword [0x4bae94], ebx
je 0x486a7a
push eax
call fcn.0047a4d3
push dword [0x4bae94]
mov esi, eax
call fcn.0047a4d3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x486a7a
test edi, edi
je 0x486a7a
call esi
test eax, eax
je 0x486a71
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x486a71
test byte [ebp - 0xc], 1
jne 0x486a7a
or dword [ebp + 0x10], 0x200000
jmp 0x486ab3
mov eax, dword [0x4bae88]
cmp eax, ebx
je 0x486ab3
push eax
call fcn.0047a4d3
pop ecx
test eax, eax
je 0x486ab3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x486ab3
mov eax, dword [0x4bae8c]
cmp eax, ebx
je 0x486ab3
push eax
call fcn.0047a4d3
pop ecx
test eax, eax
je 0x486ab3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bae84]
call fcn.0047a4d3
pop ecx
test eax, eax
je 0x486ad3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x486ad5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xce009ec
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x1aa175cb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219