joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f665
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x1001f68d
cmp esi, dword [ebx + 0x54]
je 0x1001f74f
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x1001f74f
cmp dword [ebx + 0x54], 0
push edi
je 0x1001f6e0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
mov ecx, ebx
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [ebx + 0x54], edi
test esi, esi
je 0x1001f74e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x1001f74e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x1001f74e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x1001f74e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebx + 0x54], esi
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
mov ecx, ebx
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10039112
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1009a1a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x1003917f
cmp dword [esi + 0x14], 0
je 0x1003917f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.10050a60
mov ebx, esp
test ebx, ebx
je 0x1003917f
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1b8
call fcn.10012ab4
mov ecx, dword [esi + 0x14]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b3bc
leave
ret 0x10
Function at 0x1003a8d2
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x10067629
call fcn.1004f34e
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [eax + 0x5b8], ebx
cmp dword [edi + 4], ebx
jne 0x1003a964
lea eax, [ebp - 0xa8]
push eax
call fcn.1003a5ce
mov ecx, dword [edi + 0x14]
push ebx
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call sym.nsDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edi, dword [ebp - 0x98]
push eax
mov ecx, edi
call sym.nsDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 0x14]
mov ecx, esi
call sym.nsDui.dll_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call sym.nsDui.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x94]
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov bl, al
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, 0x5a8
test bl, bl
je 0x1003a9a3
mov eax, dword [edi + 0x14]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x14]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
call fcn.1004f30c
ret 4
Function at 0x1003f5a2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1009a1a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1003f658
movzx eax, word [esi]
test ax, ax
je 0x1003f658
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x1003f5e2
cmp ax, 0x5c
jne 0x1003f5e4
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x1003f5d6
cmp edi, esi
je 0x1003f62b
sub edi, esi
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1005005f
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x1003f666
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.1003f5a2
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.1004ff3a
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.1004ff0b
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b3bc
leave
ret
call fcn.1004d030
int3

Function at 0x1003fc37
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x1003fcb3
cmp dword [edi + 4], 0xffffffff
jne 0x1003fcb3
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x10079030
push esi
call fcn.1004ff0b
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x1003fc85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x1003fc85
mov eax, 0x2000000
jmp 0x1003fcb8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1004212d
add esp, 0x10
test eax, eax
jne 0x1003fca3
mov eax, dword [ebp - 4]
jmp 0x1003fcb8
push eax
call fcn.1004282e
mov dword [edi], eax
mov eax, dword [0x1009bd08]
pop ecx
jmp 0x1003fcb8
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x1004223a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x1004226e
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10042269
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x10042295
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x1004227e
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.1004f830
add esp, 0xc
add dword [edi + 0x18], esi
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10042414
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x100424cf
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 1]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 2]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 3]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 4]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 5]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 6]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
movzx eax, byte [edx + 7]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
add edx, 8
sub esi, 8
dec edi
jne 0x10042432
pop edi
test esi, esi
je 0x100424e8
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070720]
inc edx
dec esi
jne 0x100424d3
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x100476a1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x100476c5
cmp dword [esi + 8], edi
jge 0x100476bd
push esi
call fcn.1004597d
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov ecx, dword [esi + 8]
xor edx, edx
test ecx, ecx
jle 0x100476eb
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
mov byte [ebp + edx + 8], al
shr edi, 8
sub ecx, 8
inc edx
mov dword [esi + 0xc], edi
test ecx, ecx
jg 0x100476d1
mov dword [esi + 8], ecx
jmp 0x10047703
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x100476f6
xor eax, eax
jmp 0x100476fe
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
mov byte [ebp + edx + 8], al
inc edx
cmp edx, 4
jl 0x100476eb
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
movzx eax, byte [ebp + 0xa]
shl ecx, 8
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x1004773d
push str.zlib_corrupt
call fcn.1004583a
add esp, 4
jmp 0x1004777a
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1004774d
push str.read_past_buffer
jmp 0x10047733
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x10047764
push edi
push esi
call fcn.10045849
pop ecx
pop ecx
test eax, eax
je 0x1004777a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1004f830
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x1005fd66
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009a1a0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1005a39c
mov dword [ebp - 0x14], eax
cmp dword [0x1009ce20], edi
jne 0x1005fe57
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1005fde4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005ff37
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1005ff37
push 0x100755cc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005ff37
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1009ce20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1009ce24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x1009ce28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1009ce30], eax
test eax, eax
je 0x1005fe54
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1009ce2c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005fe7c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005fe6f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1005fe91
push 4
pop eax
jmp 0x1005ff39
cmp dword [ebp - 0x14], edi
je 0x1005fe91
push dword [0x1009ce20]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005fe76
mov eax, dword [0x1009ce2c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1005feef
cmp dword [0x1009ce30], esi
je 0x1005feef
push eax
call ebx
push dword [0x1009ce30]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005feef
test eax, eax
je 0x1005feef
call ecx
test eax, eax
je 0x1005fee4
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 0x1005fee4
test byte [ebp - 8], 1
jne 0x1005feef
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1005ff1f
mov eax, dword [0x1009ce24]
cmp eax, esi
je 0x1005ff1c
push eax
call ebx
test eax, eax
je 0x1005ff1c
call eax
mov edi, eax
test edi, edi
je 0x1005ff1c
mov eax, dword [0x1009ce28]
cmp eax, esi
je 0x1005ff1c
push eax
call ebx
test eax, eax
je 0x1005ff1c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1009ce20]
call ebx
test eax, eax
je 0x1005ff37
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1005ff39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b3bc
leave
ret
Function at 0x1acddb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x753000]
push edi
or ebp, 0xffffffff
jmp 0x1acddd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1acddd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1acddc8
mov eax, 1
add ebx, ebx
jne 0x1acddeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1acddfc
jne 0x1acde1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1acde1b
dec eax
add ebx, ebx
jne 0x1acde08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1acdde0
add ebx, ebx
jne 0x1acde17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1acde6d
xor ecx, ecx
sub eax, 3
jb 0x1acde33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1acdea2
sar eax, 1
mov ebp, eax
jmp 0x1acde3e
add ebx, ebx
jne 0x1acde3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1acde0c
inc ecx
add ebx, ebx
jne 0x1acde4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1acde0c
add ebx, ebx
jne 0x1acde59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1acde4e
jne 0x1acde6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1acde4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1acde8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1acde7e
jmp 0x1acddce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1acde8c
add edi, ecx
jmp 0x1acddce
pop esi
mov edi, esi
mov ecx, 0x3f23f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1acdeaa
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1acdeaf
lea edi, [esi + 0xbc9000]
mov eax, dword [edi]
or eax, eax
je 0x1acdf17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc49b70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc49cb0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1acded5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc49cb4]
or eax, eax
je 0x1acdf11
mov dword [ebx], eax
add ebx, 4
jmp 0x1acdef2
call dword [esi + 0xc49cc4]
mov ebp, dword [esi + 0xc49cb8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1acdf4b
sub esp, 0xffffff80
jmp 0x14d6a40

Function at 0x847517
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8472a2
add edi, eax
call fcn.00847553
mov eax, eax
mov edi, edi
xor dword [ebx], edx
add eax, 0x9cf1e6d5
sub edi, 1
inc ebx
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp]
add esp, 4
or eax, edi
push edi
mov eax, dword [esp]
add esp, 4
cmp ebx, esi
jne fcn.00847517
inc eax
ret
Function at 0x62a0ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303b0
cmp edx, dword [eax]
je 0x62a0cf
add eax, 8
inc ecx
cmp eax, 0x630440
jl 0x62a0c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303b0]
jne 0x62a1fd
mov eax, dword [0x637d40]
cmp eax, 1
je 0x62a1d7
test eax, eax
jne 0x62a100
cmp dword [0x6302d8], 1
je 0x62a1d7
cmp edx, 0xfc
je 0x62a1fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a137
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062aa90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062af20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a17a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062af20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f4ac
push edi
call fcn.0062cdf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062aa90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062aaa0
lea eax, [ebp - 0xa0]
push 0x62f48c
push eax
call fcn.0062aaa0
push dword [esi + 0x6303b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062aaa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062cd64
add esp, 0x2c
pop edi
jmp 0x62a1fd
lea eax, [ebp + 8]
lea esi, [esi + 0x6303b4]
push 0
push eax
push dword [esi]
call fcn.0062af20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401005
Capabilities:
Terminate process

Disassembly:
jmp 0x401860
push 0x14
push 0x406670
call fcn.0040106e
push 1
call fcn.00401181
pop ecx
test al, al
je 0x401781
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040119f
mov byte [ebp - 0x24], al
mov eax, dword [0x407130]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401781
test eax, eax
jne 0x4016a5
mov dword [0x407130], ecx
push 0x404618
push 0x40430c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401688
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401771
push 0x404208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x407130], 2
jmp 0x4016aa
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004010c8
pop ecx
call fcn.0040102d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4016db
push esi
call fcn.0040109b
pop ecx
test al, al
je 0x4016db
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.0040101e
mov esi, eax
cmp dword [esi], edi
je 0x4016f9
push esi
call fcn.0040109b
pop ecx
test al, al
je 0x4016f9
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00401064
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push esi
push eax
push edi
push 0x400000
call fcn.004011d6
mov esi, eax
call fcn.004011a9
test al, al
je 0x401788
test bl, bl
jne 0x401727
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004010cd
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401771
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004010f0
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004011ef
jmp 0x40161b

Function at 0x4011a9
Capabilities:
Parse pe header

Disassembly:
jmp 0x401fcc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40200b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40200b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40200b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40200b
cmp dword [ecx + 0x74], 0xe
jbe 0x40200b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440004]
jne 0x401010
repz ret
jmp fcn.004017c6