joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015558
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x1019001], bl
push esi
push edi
je 0x1015594
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x101570e
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x10155cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1015710
and eax, 0xffff
or eax, 0x80070000
jmp 0x1015710
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0x18], esp
jne 0x10155e3
mov eax, 0x8007000e
jmp 0x1015710
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x18]
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x10155b0
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10155b0
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0x14], esp
je 0x10155d9
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
test eax, eax
je 0x10155b0
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10155b0
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0x10], esp
je 0x10155d9
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
test eax, eax
je 0x10155b0
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10156b3
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10155b0
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0xc], esp
je 0x10155d9
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x1c]
push ebx
push ebx
call esi
test eax, eax
je 0x10155b0
jmp 0x10156ca
push 4
pop eax
call fcn.010049ec
mov eax, esp
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x10155d9
mov byte [eax], bl
mov esi, dword [ebp + 0x18]
lea eax, [esi + 1]
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 8], esp
je 0x10155d9
push dword [ebp - 0x18]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push dword [ebp + 0x14]
push edi
push dword [ebp - 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10155b0
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001508
leave
ret 0x18
Function at 0x1015729
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x1019001], bl
push esi
push edi
je 0x101575f
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1015842
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
or edi, 0xffffffff
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x1015798
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1015849
and eax, 0xffff
or eax, 0x80070000
jmp 0x1015849
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0x10], esp
jne 0x10157ae
mov eax, 0x8007000e
jmp 0x1015849
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp + 8]
push ebx
push ebx
call esi
test eax, eax
je 0x101577b
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x101577b
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 0xc], esp
je 0x10157a4
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push ebx
push ebx
call esi
test eax, eax
je 0x101577b
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x101577b
call fcn.010049db
cmp esp, ebx
mov dword [ebp - 8], esp
je 0x10157a4
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 8]
push edi
push dword [ebp + 0x10]
push ebx
push ebx
call esi
test eax, eax
je 0x101577b
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001508
leave
ret 0x14

Function at 0x1015efd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1015f51
push 3
lea eax, [ebp - 0x44]
push 0x1015f64
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01001508
leave
ret
Function at 0x1015f80
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x1015fd9
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x11c]
xor eax, eax
dec ecx
pop esi
je 0x101602d
dec ecx
jne 0x1016050
cmp edx, 5
jne 0x1016025
mov ecx, dword [ebp - 0x118]
sub ecx, eax
je 0x1016021
dec ecx
je 0x1016016
dec ecx
je 0x1016007
push 0x14
jmp 0x1016078
cmp word [ebp - 0xc], 1
jb 0x1016011
push 0x10
pop eax
or eax, 4
jmp 0x1016050
cmp word [ebp - 0xc], 2
jb 0x1016011
push 8
jmp 0x1016010
push 4
jmp 0x1016078
cmp edx, 4
ja 0x101605c
push 2
pop eax
cmp edx, 4
jne 0x1016050
cmp dword [ebp - 0x118], 0
je 0x101604d
cmp dword [ebp - 0x118], 0xa
je 0x101604d
cmp dword [ebp - 0x118], 0x5a
jne 0x1016050
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001508
leave
ret
cmp edx, 6
jne 0x101607b
cmp dword [ebp - 0x118], 0
jne 0x101607b
cmp dword [ebp - 0x114], 0x1554
jae 0x101607b
push 0x40
pop eax
jmp 0x1016050
push 0x20
jmp 0x1016078

Function at 0x1016214
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp word [0x10194d0], si
jne 0x10162ac
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push 0x10163a0
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10162ac
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1016458
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10162ac
push 3
push dword [esi*8 + 0x10162c0]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x101629e
inc esi
cmp esi, 0x1c
jae 0x10162ac
jmp 0x101627d
mov ax, word [esi*8 + 0x10162c4]
mov word [0x10194d0], ax
mov ecx, dword [ebp - 4]
mov ax, word [0x10194d0]
xor ecx, ebp
pop esi
call fcn.01001508
leave
ret
Function at 0x401040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x408034
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401068
xor eax, eax
jmp 0x4010f6
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401081
xor eax, eax
jmp 0x4010f6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4010f4
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
ja 0x4010ad
xor eax, eax
jmp 0x4010f6
push 0x408030
mov eax, dword [ebp + 8]
push eax
call fcn.00401572
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4010cb
xor eax, eax
jmp 0x4010f6
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.00401448
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004013f2
add esp, 4
mov eax, 1
jmp 0x4010f6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4035f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408360
cmp edx, dword [eax]
je 0x403617
add eax, 8
inc ecx
cmp eax, 0x4083f0
jl 0x403608
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408360]
jne 0x403745
mov eax, dword [0x40ab48]
cmp eax, 1
je 0x40371f
test eax, eax
jne 0x403648
cmp dword [0x4082a8], 1
je 0x40371f
cmp edx, 0xfc
je 0x403745
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40367f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404d70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4036c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404d70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40746c
push edi
call fcn.004058d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405380
lea eax, [ebp - 0xa0]
push 0x40744c
push eax
call fcn.00405380
push dword [esi + 0x408364]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405380
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040583f
add esp, 0x2c
pop edi
jmp 0x403745
lea eax, [ebp + 8]
lea esi, [esi + 0x408364]
push 0
push eax
push dword [esi]
call fcn.00404d70
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 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x401cb5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
cmp dword [ebp + 8], 0
je 0x401ccf
push dword [ebp + 8]
push 0x401c50
call sub.USER32.dll_EnumWindows
jmp 0x401d06
mov edi, dword [0x4020b0]
jmp 0x401d02
mov esi, dword [edi]
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 8], eax
jne 0x401d00
push 1
push dword [edi + 0xc]
call sub.USER32.dll_EnableWindow
mov eax, edi
add eax, 8
push eax
push 0x4020b0
call fcn.00401da0
add esp, 8
mov edi, esi
or edi, edi
jne 0x401cd7
pop edi
pop esi
pop ebp
ret 4
Function at 0x4c82f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056a4
xor eax, eax
push ebp
push 0x4c8433
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4c8403
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004056b4
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a408
test al, al
jne 0x4c8373
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004036b0
lea eax, [ebp - 0x1d0]
call fcn.0040344c
call fcn.00403088
push dword [0x4d3e50]
push 0x4c844c
push dword [0x4d3e54]
push 0x4c844c
push dword [0x4d3e58]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004055b8
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004c2534
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.004059d4
call fcn.00403d6c
call fcn.00403088
lea eax, [ebp - 0x1d0]
call fcn.00403778
call fcn.00403088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c840d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c843a
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405248
lea eax, [ebp - 4]
call fcn.00405224
ret

Function at 0x63f02c
Capabilities:
Packed with generic packer

Disassembly:
clc
jmp 0x63f03c
pushal
jae 0x63f049
pop ds
cmp ebp, 0x3d2ee492
cmp al, 0xef
xor ebp, eax
sub byte [eax], al
add byte [eax], al
call 0x63f076
xlatb
shr byte [ebx + esi*2 - 0x36ee57f5], cl
mov bl, 0xf0
mov ebx, 0xa49b8488
dec esi
out dx, eax
arpl word [edi - 0x3b], bp
dec eax
pop edi
test al, 0xd4
daa
aam 0x4c
pop ss
cmovg ecx, dword [ebp + ecx*4 - 0x6e310fb3]
and ecx, dword [ecx]
cmc
or al, 0x5e
jmp 0x63f0a5
add esi, 0xffffffb2
jmp 0x63f0c0
cmp dword [esi], 0
clc
jmp 0x63f0de
je 0x63f279
jmp 0x63f10f
mov ecx, esi
jmp 0x63f118
add esi, 4
jmp 0x63f136
mov edx, dword [esi]
jmp 0x63f14f
add edx, esi
jmp 0x63f165
mov eax, dword [esi + 4]
jmp 0x63f175
sub dword [edx], 0x9c44b60b
jmp 0x63f1a0
add edx, 4
jmp 0x63f1bb
sub eax, 1
clc
jae 0x63f1ef
and al, 1
push edi
inc ecx
mov al, 0xc
jo 0x63f151
imul edi, dword [ebx - 0x69], 0x7f57a7f8
or eax, 0x35861c46
dec ebp
mov dword [ebx - 0x40cf307b], 0x419a0fab
and al, 0xe7
mov dword [edi - 0x51], ecx
imul edx, esp, 0x31
add ecx, ecx
cli
cmp byte [edx - 0x7af0468c], bh
jae 0x63f1f2
jne 0x63f168
invalid
invalid
jmp 0x63f220
add esi, 8
jmp 0x63f231
sub dword [ecx], 1
stc
jmp 0x63f25b
jne 0x63f11b
jb 0x63f268
jmp 0x63f2b9
mov ebx, esi
jb 0x63f274
scasb al, byte es:[edi]
sal dword [edi], 0xb5
retf
call 0x63f2cb
jmp 0x63f29e
popal
stc
jmp 0x63f2c6
invalid
sbb bl, 0xef
or dword [esp + 0x6c4f2907], ebp
fptan
jns 0x63f2b0
jmp 0x4c9e38
insd dword es:[edi], dx
stosd dword es:[edi], eax
call 0xc8e589cd
pop edi
invalid
Function at 0x406afb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x428084], 0
jne 0x406b39
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b0f
mov dword [ecx*4 + 0x428080], eax
inc ecx
cmp ecx, 0x100
jl 0x406b0a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406b66
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x428080]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406b47
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4010d0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0xc
mov al, byte [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
push ecx
mov ecx, esi
mov byte [esi + 0x38], al
call fcn.00401440
test eax, eax
je 0x4011f2
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
push esi
push 0x401200
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x401125
cmp edi, 2
je 0x4011f2
push 0x3e8
call ebp
inc edi
cmp edi, 3
jl 0x4010fc
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
push 0x401260
push edx
call edi
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
mov cx, word [esi + 0x28]
push eax
push ecx
push 0x111
push edx
call ebx
push 0x1f4
call ebp
push esi
push 0x401310
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4011f2
push esi
push 0x401390
push eax
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4011f2
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4011f2
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov cl, byte [esi + 0x38]
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x15], eax
push edx
mov byte [esp + 0x1d], al
push eax
mov eax, dword [esi + 0x24]
push 0xc
push eax
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x20], cl
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
xor edx, edx
push ecx
mov dx, word [esi + 0x34]
push edx
push 0x111
push eax
call ebx
push 0x1f4
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8

Function at 0x401440
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push esi
mov esi, ecx
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], eax
push edx
push 0x40405c
push eax
push 8
push eax
push eax
mov dword [esp + 0x30], eax
push eax
mov eax, dword [esp + 0x80]
push 0x4040b8
push eax
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x4015c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x402058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
call fcn.00401580
push eax
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
push str.del.h2w
lea ecx, [esp + 4]
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp]
push 0
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x401753
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
mov dl, byte [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x11], ecx
lea eax, [esp + 0xc]
mov byte [esp + 0x15], cl
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x10], dl
call sub.MFC42.DLL_CString::CString
push str..h2w
lea ecx, [esp + 8]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 4]
push 0
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x401737
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push edi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x3c]
mov edi, eax
call dword [edx + 0x40]
test eax, eax
jne 0x40172b
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x40172b
lea eax, [esp + 0x64]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 4
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x404060
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.00401c16
test bl, bl
je 0x40171d
mov edx, dword [esp + 0x64]
push edx
call ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 3
call fcn.00401c16
test edi, edi
jne 0x4016ab
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 2
call fcn.00401c10
lea ecx, [esp + 4]
mov byte [esp + 0x4c], 1
call fcn.00401c16
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0
call fcn.00401c0a
lea ecx, [esp]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00401c16
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret