joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c6b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x485bc4]
sub esp, 0x20
add eax, 2
push ebx
push esi
cmp eax, 0x200
push edi
jle 0x42c6e8
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push str.mkfilter:_too_many_zeros__cant_do__Z_n
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
fld qword [0x486bf0]
fmul qword [0x45bb10]
sub esp, 8
lea edx, [esp + 0x14]
fstp qword [esp]
push edx
call fcn.00414e60
mov eax, dword [0x485bc4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
shl eax, 4
add eax, 0x483bc0
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x24], esi
mov dword [eax], ecx
mov dword [esp + 0x28], edi
fld qword [esp + 0x14]
mov dword [eax + 4], edx
fchs
mov dword [eax + 8], esi
fstp qword [esp + 0x24]
mov dword [eax + 0xc], edi
mov eax, dword [0x485bc4]
inc eax
mov dword [0x485bc4], eax
shl eax, 4
add eax, 0x483bc0
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [0x485bc4]
mov eax, dword [0x485bc0]
inc ecx
cmp eax, ecx
mov dword [0x485bc4], ecx
jge 0x42c7d5
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
shl eax, 4
add eax, 0x481bc0
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [0x485bc0]
mov ebx, dword [0x485bc4]
inc eax
cmp eax, ebx
mov dword [0x485bc0], eax
jl 0x42c7ad
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x42c9d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
mov eax, ebx
mov dword [esp + 8], 0x3ff00000
mov edx, dword [esp + 8]
push ebp
mov dword [eax], ecx
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax + 4], edx
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
test edi, edi
mov dword [eax + 0xc], edx
jle 0x42caac
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp + 0x14]
mov ebp, eax
add eax, 0x10
dec ecx
mov dword [ebp], ebx
mov dword [ebp + 4], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
jne 0x42ca59
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
test edi, edi
jle 0x42caac
mov esi, dword [esp + 0x24]
mov ebp, edi
push ebx
push edi
sub esp, 0x10
mov eax, esi
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
call fcn.0042cb10
add esp, 0x18
add esi, 0x10
dec ebp
jne 0x42ca7f
lea ecx, [edi + 1]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x2c], ecx
jle 0x42cb01
mov ebp, dword [sym.imp.MSVCRT.dll_exit]
lea edi, [ebx + 8]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
fld qword [edi]
fabs
fcomp qword [0x45bb28]
fnstsw ax
test ah, 0x41
jne 0x42caf9
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push esi
add ecx, 0x40
push str.mkfilter:_coeff_of_z_d_is_not_real__poles_zeros_are_not_complex_conjugates_n
push ecx
call ebx
add esp, 0xc
push 1
call ebp
mov ecx, dword [esp + 0x30]
add esp, 4
inc esi
add edi, 0x10
cmp esi, ecx
jl 0x42cac8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4341f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454435
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.0044e04e
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 1
call fcn.00434fc0
lea edi, [esi + 0x8c]
mov byte [esp + 0x18], 2
mov ecx, edi
call fcn.0044e04e
mov dword [edi], 0x45ce48
lea edi, [esi + 0xcc]
mov byte [esp + 0x18], 3
mov ecx, edi
call fcn.0044e04e
mov dword [edi], 0x45cd88
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
lea edi, [esi + 0x130]
mov byte [esp + 0x18], 4
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
mov ecx, edi
push eax
mov byte [esp + 0x1c], 5
mov dword [esi], 0x45ccc0
mov dword [esi + 0x40], ebx
call fcn.0044df1c
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x128], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x118], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x11c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x12c], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x140], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x120], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x124], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x13c], ecx
mov dword [esi + 0x148], 0xb4e81b4f
lea ecx, [esp + 0x20]
mov dword [esi + 0x144], edx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], eax
mov dword [esi + 0x14c], 0x3f4b4e81
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x2c
Function at 0x434d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454544
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x30]
call fcn.00419a30
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0xf8], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov ebx, 1
push eax
lea ecx, [esi + 0x44]
mov byte [esp + 0xf4], bl
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
call fcn.0040c9e0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, ebx
jne 0x434e9f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
call fcn.0040ca30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xf4], 2
call fcn.0044df1c
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x18]
fld qword [esi + 0x128]
fcomp qword [esp + 0x18]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x434e9f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.004347c0
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x434e9f
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov edi, eax
push 2
mov ecx, esi
mov ebx, dword [edi]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
push eax
push 0x40b
mov ecx, edi
call dword [ebx + 0xc0]
lea ecx, [esp + 0xc]
mov byte [esp + 0xf0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa4]
mov dword [esp + 0xf0], 4
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0044e198
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xe8
ret 0xc
Function at 0x4350b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454595
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
call fcn.0044e04e
lea edi, [esi + 0x40]
mov byte [esp + 0x14], 1
mov ecx, edi
call fcn.0044e04e
mov dword [edi], 0x456f58
lea edi, [esi + 0x80]
mov byte [esp + 0x14], 2
mov ecx, edi
call fcn.0044e04e
mov dword [edi], 0x45ce48
lea edi, [esi + 0xc0]
mov byte [esp + 0x14], 3
mov ecx, edi
call fcn.0044e04e
mov dword [edi], 0x458a08
lea edi, [esi + 0x10c]
mov byte [esp + 0x14], 4
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov byte [esp + 0x18], 5
mov dword [esi], 0x45d018
call fcn.0044df1c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x108], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x100], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x11c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x118], ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x120], edx
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], eax
mov dword [esi + 0x124], 0
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x20
Function at 0x445ccc
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor eax, eax
mov edi, dword [esi + 0x18]
test edi, edi
setne al
inc eax
mov edi, eax
mov eax, dword [esi + 0x1c]
sub eax, 0
je 0x445ecf
dec eax
jne 0x445ecf
mov ecx, dword [esi + 0xc]
push ecx
push 1
push 4
push str.RIFF
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov edx, dword [esi + 0x10]
lea eax, [esp + 0xc]
add edx, 0x24
push edx
push eax
call fcn.00445f00
mov ecx, dword [esi + 0xc]
add esp, 8
lea edx, [esp + 0xc]
push ecx
push 1
push 4
push edx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov eax, dword [esi + 0xc]
push eax
push 1
push 4
push str.WAVE
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov ecx, dword [esi + 0xc]
push ecx
push 1
push 4
push str.fmt
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
lea edx, [esp + 0xc]
push 0x10
push edx
call fcn.00445f00
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0xc]
push eax
push 1
push 4
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
lea edx, [esp + 0xc]
push 1
push edx
call fcn.00445ee0
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0xc]
push eax
push 1
push 2
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
lea edx, [esp + 0xc]
push edi
push edx
call fcn.00445ee0
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0xc]
push eax
push 1
push 2
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov edx, dword [esi + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00445f00
mov ecx, dword [esi + 0xc]
add esp, 8
lea edx, [esp + 0xc]
push ecx
push 1
push 4
push edx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov eax, edi
lea ecx, [esp + 0xc]
imul eax, dword [esi + 0x14]
shl eax, 1
push eax
push ecx
call fcn.00445f00
mov edx, dword [esi + 0xc]
add esp, 8
lea eax, [esp + 0xc]
push edx
push 1
push 4
push eax
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
lea ecx, [edi + edi]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.00445ee0
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0xc]
push eax
push 1
push 2
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
lea edx, [esp + 0xc]
push 0x10
push edx
call fcn.00445ee0
mov eax, dword [esi + 0xc]
add esp, 8
lea ecx, [esp + 0xc]
push eax
push 1
push 2
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov edx, dword [esi + 0xc]
push edx
push 1
push 4
push str.data
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 0xffffffff
je 0x445ecf
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00445f00
mov edx, dword [esi + 0xc]
add esp, 8
lea eax, [esp + 0xc]
push edx
push 1
push 4
push eax
call sub.MSVCRT.dll_fwrite
add esp, 0x10
pop edi
pop esi
ret
Function at 0x44eea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471f98
push 0x44f080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x486e74], 0xffffffff
mov dword [0x486e78], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x486e68]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x486e64]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x486e70], ecx
call fcn.0040f680
mov eax, dword [0x47c7b8]
test eax, eax
jne 0x44ef31
push 0x41f380
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.0044f0b0
push 0x47a038
push 0x47a034
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x486e60]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x486e5c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x47a030
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x44f03f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x44efa5
cmp al, 0x22
jne 0x44ef97
cmp byte [esi], 0x22
jne 0x44efae
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x44efbe
cmp al, 0x20
ja 0x44efbe
inc esi
mov dword [ebp - 0x74], esi
jmp 0x44efae
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x44efdf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x44efe4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x44f024
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x44efae
inc esi
mov dword [ebp - 0x74], esi
jmp 0x44f03f
Function at 0x502960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa6000]
push edi
jmp 0x50297a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x502981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x502970
mov eax, 1
add ebx, ebx
jne 0x502993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5029a4
jne 0x5029c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5029c3
dec eax
add ebx, ebx
jne 0x5029b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x502988
add ebx, ebx
jne 0x5029bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x502a15
xor ecx, ecx
sub eax, 3
jb 0x5029db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x502a4a
sar eax, 1
mov ebp, eax
jmp 0x5029e6
add ebx, ebx
jne 0x5029e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5029b4
inc ecx
add ebx, ebx
jne 0x5029f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5029b4
add ebx, ebx
jne 0x502a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5029f6
jne 0x502a12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5029f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x502a34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x502a26
jmp 0x502976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x502a34
add edi, ecx
jmp 0x502976
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x502a52
cmp byte [edi], 0x11
jne 0x502a52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x502a57
lea edi, [esi + 0xfc000]
mov eax, dword [edi]
or eax, eax
je 0x502ac6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x121528]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1215bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x502a84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1215c4]
or eax, eax
je 0x502ac0
mov dword [ebx], eax
add ebx, 4
jmp 0x502aa1
call dword [esi + 0x1215c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x502af7
cmp al, 0xef
ja 0x502aea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x502acc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x502ad9
mov ebp, dword [esi + 0x1215c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x502b2b
sub esp, 0xffffff80
jmp 0x435143
Function at 0x402274
Capabilities:
Delete directory

Disassembly:
push ebx
xor eax, eax
push eax
mov eax, dword [esp + 0xc]
mov dword [0x413a50], eax
mov edx, dword [0x41353c]
xor ecx, ecx
call fcn.0040f0c0
jne 0x4022b0
mov edx, dword [0x41353c]
push dword [0x413a50]
call fcn.0040f120
lea eax, [esp + 4]
push eax
call fcn.0040f040
jmp 0x40242c
push str._77
push dword [0x413538]
push 0x6e
push 0xc8
push 0
push 0
push 0
call fcn.0040ab60
push dword [0x4134bc]
push 0x14
push 0x9e
push 0xf
push 0x15
push 1
call fcn.00409d43
push 0x20
push 0x41201e
push 0x14
push 0x9e
push 0x28
push 0x15
push 2
call fcn.00409f1c
push 0x412053
push 0x14
push 0x4e
push 0x4b
push 0x3d
push 3
call fcn.0040a229
push 4
push 0xd
push 0
call fcn.0040ab83
push 2
call fcn.0040a249
call fcn.0040ad87
push eax
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x402390
push dword [0x413544]
call sub.KERNEL32.dll_RemoveDirectoryA
push 0
jmp 0x4017ab
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x4023dc
call fcn.0040d19d
push eax
mov ebx, 4
cmp ebx, dword [esp]
jne 0x4023d9
push dword [0x413a50]
push dword [0x413a50]
push 2
call fcn.0040a284
lea eax, [esp + 0xc]
push eax
call fcn.0040f040
push 0
call fcn.0040a723
add esp, 8
jmp 0x40242c
pop eax
jmp 0x402426
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x402426
call fcn.0040d1ac
push eax
mov ebx, 3
cmp ebx, dword [esp]
jne 0x402425
push dword [0x413a50]
push dword [0x413a50]
push 2
call fcn.0040a284
lea eax, [esp + 0xc]
push eax
call fcn.0040f040
push 0
call fcn.0040a723
add esp, 8
jmp 0x40242c
pop eax
pop eax
jmp 0x402366
push dword [0x413a50]
push dword [0x413a50]
push dword [esp + 8]
call fcn.004052c0
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.0040d890
inc dword [0x413a50]
push dword [0x413a50]
push dword [0x413a50]
push dword [0x413474]
push dword [0x413460]
call fcn.0040c210
pop edx
pop ecx
mov dword [0x413a50], ecx
add ecx, dword [0x412324]
add edx, dword [0x412324]
call fcn.0040f0c0
jne 0x4024b5
push 0x10
push dword [0x413520]
push dword [0x413548]
call fcn.004080d0
push dword [0x413544]
call sub.KERNEL32.dll_RemoveDirectoryA
push 1
jmp 0x4017ab
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
pop eax
add eax, dword [0x412324]
jmp 0x4024da
push dword [esp]
call fcn.0040f0f0
add esp, 4
pop ebx
ret
Function at 0x402ea8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [0x413a50], eax
push dword [0x413a50]
push dword [0x413a50]
call sub.KERNEL32.dll_GetCommandLineA
push eax
call fcn.0040c280
lea eax, [esp + 4]
push eax
call fcn.0040f040
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
lea eax, [esp + 8]
push eax
call fcn.0040f040
mov eax, dword [esp + 4]
push eax
call sub.SHLWAPI.DLL_PathRemoveArgsA
mov dword [esp + 8], eax
push dword [esp + 4]
call fcn.004052c0
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jle 0x402f65
push dword [0x413a50]
mov edx, 0x41201f
call fcn.0040f120
push dword [0x413a50]
push dword [0x413a50]
push dword [0x413a50]
push dword [0x413a50]
mov ebx, dword [esp + 0x20]
inc ebx
push ebx
push dword [esp + 0x18]
call fcn.004055a0
mov edx, dword [0x412324]
add dword [esp], edx
call fcn.00405190
pop eax
lea eax, [esp + 0x14]
push eax
call fcn.0040f040
mov edx, dword [esp + 0x10]
push dword [0x413a50]
call fcn.0040f120
pop eax
add eax, dword [0x412324]
jmp 0x402f8b
push dword [esp + 4]
call fcn.0040f0f0
push dword [esp]
call fcn.0040f0f0
push dword [esp + 0x10]
call fcn.0040f0f0
add esp, 0x14
pop ebx
ret
Function at 0x403b17
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [0x413a50], eax
call fcn.004033af
and eax, eax
je 0x403b44
call fcn.0040a60f
mov ebx, eax
cmp ebx, 0x41
je 0x403b44
mov eax, 1
jmp 0x403b46
xor eax, eax
and eax, eax
je 0x403c9f
push dword [0x413a50]
push dword [0x413a50]
push 0x800
call fcn.00405b50
lea eax, [esp + 4]
push eax
call fcn.0040f040
push 0x800
push dword [esp + 4]
call sub.KERNEL32.dll_GetWindowsDirectoryA
push dword [esp]
call sub.SHLWAPI.DLL_PathAddBackslashA
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
mov edx, 0x41203c
call fcn.0040f120
lea eax, [esp + 4]
push eax
call fcn.0040f040
push dword [esp]
call sub.SHLWAPI.DLL_PathAddBackslashA
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
mov edx, dword [0x4134c0]
call fcn.0040f120
lea eax, [esp + 8]
push eax
call fcn.0040f040
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
mov edx, dword [0x4134c0]
call fcn.0040f120
mov edx, dword [0x4134dc]
call fcn.0040f120
lea eax, [esp + 0xc]
push eax
call fcn.0040f040
push dword [esp + 4]
push 0
call fcn.0040ca00
and eax, eax
je 0x403c25
mov dword [esp + 0xc], 1
push 0
call fcn.0040c710
jmp 0x403c2d
mov dword [esp + 0xc], 0
push dword [esp + 8]
push 0
call fcn.0040ca00
and eax, eax
je 0x403c53
mov dword [esp + 0x10], 1
push 0
call fcn.0040c710
jmp 0x403c5b
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x403c9d
push dword [0x413a50]
push dword [0x413a50]
push 0x800
call fcn.00405b50
lea eax, [esp + 4]
push eax
call fcn.0040f040
push 0x800
push dword [esp + 4]
call sub.KERNEL32.dll_GetSystemDirectoryA
push dword [esp]
call sub.SHLWAPI.DLL_PathAddBackslashA
jmp 0x403cd5
push dword [0x413a50]
push dword [0x413a50]
push 0x800
call fcn.00405b50
lea eax, [esp + 4]
push eax
call fcn.0040f040
push 0x800
push dword [esp + 4]
call sub.KERNEL32.dll_GetSystemDirectoryA
push dword [esp]
call sub.SHLWAPI.DLL_PathAddBackslashA
mov edx, dword [esp]
push dword [0x413a50]
call fcn.0040f120
pop eax
add eax, dword [0x412324]
jmp 0x403cfa
push dword [esp + 8]
call fcn.0040f0f0
push dword [esp]
call fcn.0040f0f0
push dword [esp + 4]
call fcn.0040f0f0
add esp, 0x14
pop ebx
ret