joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2d81
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x618328]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a2dcc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a3243
test al, al
jne 0x4a2dc6
sub edx, 2
cmp edx, edi
jne 0x4a2dac
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a2dee
lea eax, [edi + 2]
cmp edx, eax
je 0x4a2dee
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a297a
add esp, 0x10
jmp 0x4a2ee8
push esi
lea ecx, [ebp - 0x255]
call fcn.004a3243
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a2e31
push dword [ebp - 0x25c]
jmp 0x4a2dde
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a2e6e
cmp word [ebp - 0x226], 0
je 0x4a2e8f
cmp word [ebp - 0x226], ax
jne 0x4a2e6e
cmp word [ebp - 0x224], 0
je 0x4a2e8f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a297a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a2edb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a2e48
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a2ec3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a2ee8
push 0x4a2362
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00406217
add esp, 0x10
jmp 0x4a2eb8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004035f8
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x676f1724
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6e2e0365
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406e], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.timecraft
push str.named
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401188
xor eax, eax
jmp 0x4011a3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40633c
pop dword [ebp - 0x28]
mov eax, 0x40633c
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xc516e375
add dword [ebp - 0x38], 0x893b61d6
mov dword [ebp - 0x34], 0x966708e0
add dword [ebp - 0x34], 0x9bcc4365
mov dword [ebp - 0x30], 0x57ad63d
add dword [ebp - 0x30], 0x46d16df1
mov dword [ebp - 0x2c], 0xa3a47785
sub dword [ebp - 0x2c], 0xa3a47785
lea eax, [ebp - 0x38]
push eax
mov eax, 0x938f9b0d
sub eax, 0x934f2aad
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xb9a51b82
sub dword [ebp - 0x38], 0x4532b22c
mov dword [ebp - 0x34], 0x3d144e07
add dword [ebp - 0x34], 0x458136e
mov dword [ebp - 0x30], 0xbcdb6c25
add dword [ebp - 0x30], 0xa6940047
mov dword [ebp - 0x2c], 0x7c4fb387
sub dword [ebp - 0x2c], 0x7c4fb387
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x3aa1e144
add eax, 0xc59e8fbc
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b181
push 0
call eax
mov ecx, 0x4ac319c1
add ecx, 0xb53d4026
xor esi, esi
add esi, eax
mov edi, 0x82035589
add edi, 0x7e3daa77
add edi, dword [ebp - 0x28]
mov edx, 0xa7abe246
sub edx, 0xafd498ce
sub dword [ebp - 8], edx
mov ebx, dword [edi]
add dword [ebp - 0x24], 0xaefb4ecd
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 0x24], 0x27f2e2bc
add esi, 0x8ad93bae
add esi, 0x7526c456
add edi, 0x7cdc64f9
sub edi, 0x7cdc64f5
loop 0x40645b
add eax, 0x83f94536
sub eax, 0x83f7eac7
xor ebx, ebx
add ebx, eax
add eax, 0x8507b3d4
sub eax, 0x8507b3cf
mov ecx, 0x8593e469
sub ecx, 0x8553e469
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x419824
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00419398
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x419882
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c684]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41988c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4198e4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c774]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004193c8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41a34c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a3bb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004082f4
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x41a3d0
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3c2
lea eax, [ebp - 0x104]
call fcn.004047ac
ret
Function at 0x402da5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405533], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Magnetick
push str.Charge_Window_App
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402dec
xor eax, eax
jmp 0x402e03
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x403222
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404490
push 0x403384
push eax
mov eax, dword [0x4055b0]
mov dword fs:[0], esp
mov ecx, dword [sym.imp.CRTDLL.dll__fmode_dll]
sub esp, 0x6c
mov dword [ecx], eax
mov edx, dword [0x4055ac]
mov eax, dword [sym.imp.CRTDLL.dll__commode_dll]
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call fcn.0040337a
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push dword [0x4055a8]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.CRTDLL.dll___GetMainArgs
add esp, 0x10
push 0x4040d0
push 0x4040cc
call sub.CRTDLL.dll__initterm
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.CRTDLL.dll__acmdln_dll]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4032bd
mov al, byte [ebp - 0x34]
inc esi
mov al, byte [esi]
test al, al
je 0x4032b5
cmp al, 0x22
jne 0x4032aa
cmp byte [esi], 0x22
jne 0x4032c7
inc esi
jmp 0x4032c7
cmp al, 0x20
jbe 0x4032c7
inc esi
cmp byte [esi], 0x20
ja 0x4032c1
cmp byte [esi], 0
je 0x4032d7
cmp byte [esi], 0x20
ja 0x4032d7
inc esi
cmp byte [esi], 0
jne 0x4032cc
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x50], 1
mov eax, 0xa
je 0x4032f7
movzx eax, word [ebp - 0x4c]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call sub.CRTDLL.dll_exit
jmp 0x403333
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x82b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x82b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x82b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82b06a
add dl, dl
jne 0x82b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82b0dc
xor eax, eax
add dl, dl
jne 0x82b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82b17d
add dl, dl
jne 0x82b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x82b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x82b075
mov eax, 1
add dl, dl
jne 0x82b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82b0e1
sub eax, ebx
mov ebx, 1
jne 0x82b128
mov ecx, 1
add dl, dl
jne 0x82b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x82b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82b136
cmp eax, 0x7d00
jae 0x82b16d
cmp eax, 0x500
jb 0x82b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82b075
cmp eax, 0x7f
ja 0x82b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x82b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x82b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x415030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.NUdqtLqT
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x415052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415048
mov eax, 1
add ebx, ebx
jne 0x41506b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415060
jne 0x41507c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415060
xor ecx, ecx
sub eax, 3
jb 0x415090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415102
mov ebp, eax
add ebx, ebx
jne 0x41509b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4150a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4150cc
inc ecx
add ebx, ebx
jne 0x4150b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4150ad
jne 0x4150c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4150ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4150ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4150dd
jmp 0x41504e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4150ec
add edi, ecx
jmp 0x41504e
pop esi
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x41514b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x197d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415109
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1984c]
or eax, eax
je 0x415145
mov dword [ebx], eax
add ebx, 4
jmp 0x415126
call dword [esi + 0x19848]
mov ebp, dword [esi + 0x19850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41517f
sub esp, 0xffffff80
jmp section.dUKSqJnb
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40288e
pop dword [ebp - 0xc]
mov eax, 0x5286c232
sub eax, 0x524699a4
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xc8243798
sub dword [ebp - 0x1c], 0x79d1f24d
mov dword [ebp - 0x18], 0x8d9205be
sub dword [ebp - 0x18], 0x5b5eb979
mov dword [ebp - 0x14], 0x2754b4e6
add dword [ebp - 0x14], 0x24f78f48
mov dword [ebp - 0x10], 0xc042f355
add dword [ebp - 0x10], 0x3fbd0cab
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xe4dbd923
add dword [ebp - 0x1c], 0x8f969033
mov dword [ebp - 0x18], 0x961e506c
add dword [ebp - 0x18], 0xab4e1109
mov dword [ebp - 0x14], 0x871e74de
sub dword [ebp - 0x14], 0x23af0872
mov dword [ebp - 0x10], 0xfc075c1f
sub dword [ebp - 0x10], 0xfc075c1f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x33d02
push 0
call eax
mov ecx, 0x3cde
mov edx, eax
mov esi, 0x2eab5915
sub esi, 0x2e6a5915
add esi, dword [ebp - 0xc]
mov ebx, 0x46e56cd0
xor dword [ebp - 4], 0xb482438e
mov edi, dword [esi]
add dword [ebp - 8], 0xc9e35465
add edi, ebx
xor dword [ebp - 8], 0x30e3417b
mov dword [edx], edi
add dword [ebp - 8], 0x84dec37f
add edx, 0x3197733c
add edx, 0xce688cc8
add esi, 0x22077111
add esi, 0xddf88ef3
loop 0x40299a
add eax, 0x461ff8b9
sub eax, 0x461f126e
xor ebx, ebx
add ebx, eax
add eax, 0x69958e62
add eax, 0x966a71a3
mov ecx, 0x85bdb09b
sub ecx, 0x857db09b
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x44e4c1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [0x4571d0], 0
jne 0x44e4e9
push 0x456bc0
call dword [0x452008]
mov dword [0x4571d0], 1
mov esi, dword [0x457118]
add esi, dword [0x45711c]
dec esi
movzx ebx, byte [edi]
movzx edx, byte [edi + 1]
movzx edx, dx
shl edx, 8
or ebx, edx
movzx ebx, bx
add esi, ebx
mov word [ebp - 4], si
movzx eax, word [ebp - 4]
mov edx, dword [0x457184]
sub edx, 3
cmp eax, edx
je 0x44e59b
push 0x456bc0
call dword [0x45665c]
movsx eax, word [0x4570e0]
add eax, 3
mov word [ebp - 2], ax
jmp 0x44e54f
movzx eax, word [ebp - 2]
add eax, edi
movsx edx, byte [eax]
movsx ecx, byte [edi + 2]
xor edx, ecx
mov byte [eax], dl
inc word [ebp - 2]
movzx eax, word [ebp - 2]
movzx edx, word [ebp - 4]
cmp eax, edx
jl 0x44e53a
mov eax, dword [0x457160]
add eax, dword [0x457108]
sub eax, 8
movsx edx, word [0x457150]
sub edx, 5
mov byte [edi + eax], dl
mov eax, dword [0x45714c]
add eax, dword [0x457164]
sub eax, 5
mov edx, dword [0x457178]
sub edx, 3
mov byte [edi + eax], dl
push 0x456bc0
call dword [0x45564c]
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x450236
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
popal
pop ebp
ret 4
Function at 0x402077
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x20], eax
call fcn.004240fc
pop ecx
pop ecx
push ebx
push 0x80000080
push 2
push ebx
push 1
push 0xc0000000
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, dword [sym.imp.kernel32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 0x14], eax
call esi
push 0xfffffffffffffff4
mov dword [ebp - 0x1c], eax
call esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.kernel32.dll_SetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 0x18], eax
call esi
push dword [ebp - 0x14]
push 0xfffffffffffffff4
call esi
mov ecx, 0x431440
call fcn.00401a9d
mov edi, eax
cmp edi, ebx
jne 0x40211f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Cant_load_Python_for_pre_install_script___d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x10]
push eax
call fcn.00401654
add esp, 0x10
or eax, 0xffffffff
jmp 0x4021f7
push dword [ebp - 0x20]
call fcn.00404a4e
pop ecx
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
push dword [ebp - 0x1c]
push 0xfffffffffffffff5
call esi
push dword [ebp - 0x18]
push 0xfffffffffffffff4
call esi
cmp dword [ebp - 0x20], ebx
je 0x4021e2
mov eax, str.Running_the_pre_installation_script_failed_r_n
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402151
push ebx
push dword [ebp - 0x14]
sub eax, edx
mov edi, eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x402175
mov dword [ebp - 0x18], 0x1000
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi + 1]
push eax
call fcn.00404a4e
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4021d7
mov eax, str.Running_the_pre_installation_script_failed_r_n
mov edx, esi
mov dword [ebp - 0x1c], ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402195
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
add eax, esi
push esi
mov byte [eax + edi], bl
call fcn.00401654
push esi
call fcn.00407f30
pop ecx
jmp 0x4021e1
push str.Out_of_memory_
call fcn.00401654
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x74
leave
ret