joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003b50
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057850
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1007200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10001e10
mov ecx, eax
test ecx, ecx
jne 0x10003b8d
push 0x80004005
call fcn.10001bc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.10007680
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov edx, dword [eax]
or ebx, 0xffffffff
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x10003bfb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10003bef
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10003bef
call fcn.10001720
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10003be7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x10003bfb
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.10001aa0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10003c19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xa
push str.Microsoft
lea ecx, [ebp - 0x10]
call fcn.10001530
push 8
push str.Windows
lea ecx, [ebp - 0x10]
call fcn.10001530
push 9
push str.AppCache
lea ecx, [ebp - 0x10]
call fcn.10001530
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x10003c5d
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001860
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10003c6d
test al, 0x10
jne 0x10003ca7
cmp dword [esi - 4], 1
jle 0x10003c81
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001860
mov esi, dword [ebp - 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi - 4], 1
jle 0x10003c9e
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001860
mov esi, dword [ebp - 0x10]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xd
push str.AppCache.dat
lea ecx, [ebp - 0x10]
call fcn.10001530
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x10003ccd
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001860
mov esi, dword [ebp - 0x10]
push 0
push 2
push 4
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10003cee
xor edi, edi
jmp 0x10003cfb
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10003d17
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100056d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x10076edc], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x10007200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10076ed8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057cb2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1007200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0
push 0x100691a8
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
call fcn.10004940
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.10020410
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1000772a
lea eax, [ebp - 0x218]
push eax
push 0x10068f6c
push esi
call fcn.10001600
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007975
mov esp, ebp
pop ebp
ret
Function at 0x10036660
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10036320

Function at 0x10039fe2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10039e61

Function at 0x1004107e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x42b224
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b1b9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004162c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b273
cmp dword [ebp - 0x1c], 5
jb 0x42b28b
jmp 0x42b287
cmp dword [ebp - 0x10], 1
jne 0x42b28b
cmp dword [ebp - 0x1c], 4
ja 0x42b287
jne 0x42b28b
cmp dword [ebp - 0x18], 0
jbe 0x42b28b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4327a4
call fcn.0042b08d
test eax, eax
jge 0x42b2ac
mov byte [0x43a368], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416063
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x42ee10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x26000]
push edi
or ebp, 0xffffffff
jmp 0x42ee32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ee39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ee28
mov eax, 1
add ebx, ebx
jne 0x42ee4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ee40
jne 0x42ee5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ee40
xor ecx, ecx
sub eax, 3
jb 0x42ee70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42eee2
mov ebp, eax
add ebx, ebx
jne 0x42ee7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ee88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42eeac
inc ecx
add ebx, ebx
jne 0x42ee98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ee8d
jne 0x42eea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ee8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42eecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42eebd
jmp 0x42ee2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42eecc
add edi, ecx
jmp 0x42ee2e
pop esi
mov edi, esi
mov ecx, 0x6f8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42eeea
cmp byte [edi], 5
jne 0x42eeea
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 eax, ebx
loop 0x42eeef
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42ef5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f130]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f1e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42ef1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f1e8]
or eax, eax
je 0x42ef58
mov dword [ebx], eax
add ebx, 4
jmp 0x42ef39
call dword [esi + 0x2f1ec]
popal
jmp 0x411054
Function at 0x4040d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
sub esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x59d86c17
jmp 0x404110
mov dword [ebp - 0x14], 0xa264cead
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0x999f04f0
jg 0x404130
cmp eax, 0x832bd803
jne 0x404110
jmp 0x404101
cmp eax, 0x6cefcab3
jg 0x404180
cmp eax, 0x59d86c16
jg 0x40419a
cmp eax, 0xffb1b514
jg 0x4041bd
cmp eax, 0xee40a488
jg 0x4041d4
cmp eax, 0xd3e14c2a
jg 0x4041f2
cmp eax, 0xa264ceac
jg 0x404210
cmp eax, 0x999f04f1
jne 0x404110
mov dword [ebp - 0x14], 0xee40a489
jmp 0x404110
cmp eax, 0x6cefcab4
jne 0x404110
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x832bd803
jmp 0x404110
cmp eax, 0x59d86c17
jne 0x404110
mov eax, 0x999f04f1
cmp dword [ebp - 4], 0
je 0x4041b5
mov eax, 0xffb1b515
mov dword [ebp - 0x14], eax
jmp 0x404110
cmp eax, 0xffb1b515
jne 0x404110
mov dword [ebp - 0x14], 0x6cefcab4
jmp 0x404110
cmp eax, 0xee40a489
jne 0x404110
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xb073d830
jmp 0x404110
cmp eax, 0xd3e14c2b
jne 0x404110
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xee40a489
jmp 0x404110
cmp eax, 0xa884cc2b
je 0x40422a
cmp eax, 0xb073d830
jne 0x40423d
mov dword [ebp - 0x14], 0xa264cead
jmp 0x404110
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x6cefcab4
jmp 0x404110
cmp eax, 0xa264cead
jne 0x404110
mov eax, dword [ebp - 8]
add esp, 0x1c
pop ebp
ret
Function at 0x40e0a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40f1c8]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xc89bfa21
jmp 0x40e0e0
mov dword [ebp - 0x20], 0x93276cc3
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0x75595b95
jg 0x40e100
cmp eax, 0x9f35f707
jg 0x40e110
cmp eax, 0x93276cc3
jne 0x40e0e0
jmp 0x40e232
cmp eax, 0x75595b96
jne 0x40e0e0
jmp 0x40e0d3
cmp eax, 0xb0671101
jg 0x40e127
cmp eax, 0x9f35f708
jne 0x40e0e0
mov dword [ebp - 0x20], 0xf337337f
jmp 0x40e0e0
cmp eax, 0xc89bfa20
jg 0x40e185
cmp eax, 0xb0671102
jne 0x40e0e0
mov dword [esp], 0
call fcn.0040e240
mov dword [esp], eax
call fcn.00417442
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00404920
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
neg eax
sub edi, eax
mov dword [ebp - 0x18], edi
mov eax, 0x1624afed
cmp edi, dword [ebp - 0x1c]
je 0x40e17d
mov eax, 0x18eeb3b5
mov dword [ebp - 0x20], eax
jmp 0x40e0e0
cmp eax, 0xf337337e
jg 0x40e1af
cmp eax, 0xc89bfa21
jne 0x40e0e0
mov eax, 0x9f35f708
cmp dword [ebp - 0xc], 0
je 0x40e1a7
mov eax, 0xb0671102
mov dword [ebp - 0x20], eax
jmp 0x40e0e0
cmp eax, 0x1624afec
jg 0x40e1d4
cmp eax, 0xf337337f
jne 0x40e0e0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x75595b96
jmp 0x40e0e0
cmp eax, 0x1624afed
je 0x40e1f5
cmp eax, 0x18eeb3b5
jne 0x40e214
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x93276cc3
jmp 0x40e0e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4b90f8], eax
call fcn.0041741f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x93276cc3
jmp 0x40e0e0
cmp eax, 0x1c92b1c9
jne 0x40e0e0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xf337337f
jmp 0x40e0e0
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x41f46a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cc3e0]
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.0041c2bf
mov dword [ebp - 0x14], eax
cmp dword [0x4cdc7c], edi
jne 0x41f55b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41f4e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41f63b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41f63b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f63b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4cdc7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4cdc80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4cdc84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cdc8c], eax
test eax, eax
je 0x41f558
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cdc88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41f580
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f573
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41f595
push 4
pop eax
jmp 0x41f63d
cmp dword [ebp - 0x14], edi
je 0x41f595
push dword [0x4cdc7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41f57a
mov eax, dword [0x4cdc88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41f5f3
cmp dword [0x4cdc8c], esi
je 0x41f5f3
push eax
call ebx
push dword [0x4cdc8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41f5f3
test eax, eax
je 0x41f5f3
call ecx
test eax, eax
je 0x41f5e8
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 0x41f5e8
test byte [ebp - 8], 1
jne 0x41f5f3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41f623
mov eax, dword [0x4cdc80]
cmp eax, esi
je 0x41f620
push eax
call ebx
test eax, eax
je 0x41f620
call eax
mov edi, eax
test edi, edi
je 0x41f620
mov eax, dword [0x4cdc84]
cmp eax, esi
je 0x41f620
push eax
call ebx
test eax, eax
je 0x41f620
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4cdc7c]
call ebx
test eax, eax
je 0x41f63b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41f63d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004193c9
leave
ret
Function at 0x44f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453190
cmp edx, dword [eax]
je 0x44f78b
add eax, 8
inc ecx
cmp eax, 0x453220
jl 0x44f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453190]
jne 0x44f8b9
mov eax, dword [0x453bb0]
cmp eax, 1
je 0x44f893
test eax, eax
jne 0x44f7bc
cmp dword [0x4530e4], 1
je 0x44f893
cmp edx, 0xfc
je 0x44f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00450670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00450490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00450490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45245c
push edi
call fcn.00450f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00450670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00450680
lea eax, [ebp - 0xa0]
push 0x45243c
push eax
call fcn.00450680
push dword [esi + 0x453194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00450680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450e75
add esp, 0x2c
pop edi
jmp 0x44f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x453194]
push 0
push eax
push dword [esi]
call fcn.00450490
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x74517e3d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x650004ed
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
mov ebx, 0x40915c
mov ecx, 0x131c0382
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x5a5a365d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0e2ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0e2ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x419df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419e08
mov eax, 1
add ebx, ebx
jne 0x419e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419e20
jne 0x419e3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419e20
xor ecx, ecx
sub eax, 3
jb 0x419e50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419ec2
mov ebp, eax
add ebx, ebx
jne 0x419e5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419e8c
inc ecx
add ebx, ebx
jne 0x419e78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419e6d
jne 0x419e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419e6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419eac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419e9d
jmp 0x419e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419eac
add edi, ecx
jmp 0x419e0e
pop esi
mov edi, esi
mov ecx, 0x4df
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419eca
cmp byte [edi], 4
jne 0x419eca
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 0x419ecf
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419f47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1af38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1afec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419efc
mov ecx, edi
jns 0x419f2b
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 + 0x1aff0]
or eax, eax
je 0x419f41
mov dword [ebx], eax
add ebx, 4
jmp 0x419f19
call dword [esi + 0x1b000]
mov ebp, dword [esi + 0x1aff4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x419f7b
sub esp, 0xffffff80
jmp 0x40d3d0