joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0964
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], eax
xor eax, eax
push ebp
push 0x4d0a6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4ef518
call fcn.00404b1c
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004034c4
push 0
push 0x26
lea eax, [ebp - 0x105]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4d09fb
mov eax, 0x4ef518
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404d8c
lea edx, [ebp - 0x10c]
mov eax, dword [0x4ef518]
call fcn.004587cc
mov edx, dword [ebp - 0x10c]
mov eax, 0x4ef518
mov ecx, 0x4d0a80
call fcn.00404e28
cmp dword [0x4ef518], 0
jne 0x4d0a35
lea eax, [ebp - 0x114]
call fcn.004bc424
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.004587cc
mov edx, dword [ebp - 0x110]
mov eax, 0x4ef518
mov ecx, 0x4d0a80
call fcn.00404e28
call fcn.004d0950
test al, al
jne 0x4d0a4e
mov eax, 0x4ef518
mov edx, dword [0x4ef514]
call fcn.00404b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0a73
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404b40
ret

Function at 0x4d423c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d426a
mov eax, ebx
call fcn.004d4cf0
cmp dword [ebx + 0x40], 0
je 0x4d4263
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d42db
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d42cd
cmp dword [ebx + 8], 0
je 0x4d428c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d429e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d42cd
cmp dword [ebx + 8], 0
je 0x4d427f
cmp eax, 3
je 0x4d42b1
dec eax
jne 0x4d427f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d427f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d427f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d42f9
cmp dword [ebx + 0x14], 0xcc
je 0x4d42f9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d4304
pop ebx
ret
Function at 0x4e4bf8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b1c
xor eax, eax
push ebp
push 0x4e4c65
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0042a55c
test al, al
je 0x4e4c5b
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4e4c53
mov edx, ebx
lea eax, [ebp - 0x108]
call fcn.00454470
mov eax, dword [ebp - 4]
call fcn.004e4b7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e4c6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e4c78
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffa4
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [esp + 0x4c]
xor ecx, ecx
mov edx, 0x10
call fcn.004034c4
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0x44
call fcn.004034c4
mov dword [esp + 8], 0x44
mov dword [esp + 0x34], 1
mov word [esp + 0x38], di
test ebx, ebx
je 0x4e4cca
mov eax, ebx
call fcn.00404fdc
mov dword [esp + 4], eax
jmp 0x4e4cd0
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, esi
call fcn.00404fdc
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.kernel32.dll_CreateProcessA_1
test eax, eax
jne 0x4e4d01
or ebx, 0xffffffff
jmp 0x4e4d2f
push 0xffffffffffffffff
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_WaitForSingleObject_1
push esp
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [esp]
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, ebx
add esp, 0x5c
pop edi
pop esi
pop ebx
ret

Function at 0x4e619c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e6237
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004e4da8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x340]
call fcn.00404b70
cmp dword [ebx + 0x340], 0
je 0x4e621c
lea eax, [ebp - 4]
mov edx, 0x4e624c
call fcn.00404bb4
push 5
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x340]
call fcn.00454024
mov eax, dword [ebp - 0xc]
call fcn.00404fdc
push eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
push eax
mov eax, dword [ebx + 0x340]
call fcn.00404fdc
push eax
push 0x4e6254
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e623e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b40
ret
Function at 0x41b082
Capabilities:
Hash data using fnv

Disassembly:
mov byte [0x42a4a7], dl
xor ecx, ecx
call fcn.0041ad70
jae 0x41b0c5
ret
Function at 0x41b397
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [0x42a248]
test edi, edi
jne fcn.0041b3a5
test edx, edx
jne 0x41b405

Function at 0x41b3a5
Capabilities:
Hash data using fnv

Disassembly:
push ecx
push esi
mov esi, dword [0x42a1f8]
mov eax, edi
mov dword [esi], eax
mov edx, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x41b3ca
xor dl, al
imul edx, edx, 0x1000193
inc ecx
shr eax, 8
jmp 0x41b3b8
or byte [0x42a4a1], 1
and dword [0x42a24c], 0
mov byte [0x42a4a0], 2
mov byte [0x42a4a2], 0
or byte [0x42a4a3], 1
or byte [0x42a4a4], 1
test ebx, ebx
jne 0x41b3fe
mov ebx, dword [0x42a244]
call fcn.0041bbf1
pop esi
pop ecx
mov ebx, dword [edx + 0xc]
ret

Function at 0x41be15
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov byte [0x42a4a2], dl
test ebx, ebx
jne 0x41be25
mov ebx, dword [0x42a184]
mov esi, eax
mov edx, 0x811c9dc5
mov dword [0x42a270], ecx
mov ecx, 4
xor dl, al
imul edx, edx, 0x1000193
shr eax, 8
loop 0x41be37
mov eax, dword [0x42a270]
mov ecx, 4
xor dl, al
imul edx, edx, 0x1000193
shr eax, 8
loop 0x41be4e
mov ecx, dword [0x42a270]
mov byte [0x42a4a0], 3
or byte [0x42a4a3], 1
or byte [0x42a4a4], 1
call fcn.0041bbf1
mov edi, dword [0x42a268]
ret

Function at 0x42457f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
call fcn.0041ad70
jb 0x42459f
cmp al, 0x1a
je 0x4245a1
cmp al, 0x30
je 0x424678
cmp al, 0x23
jne 0x42459f
call fcn.0041b555
jae fcn.0042457f
stc
ret
inc esi
lodsd eax, dword [esi]
mov ebx, eax
mov ecx, dword [ebx]
mov eax, dword [ebx + ecx + 4]
mov dword [0x42a250], eax
mov eax, dword [ebx + ecx + 8]
mov dword [0x42a254], eax
xor ecx, ecx
call fcn.0041ad70
jb 0x4245dc
cmp al, 0x23
jne 0x4245dc
call fcn.0041b555
jb 0x4245dc
call fcn.0041ad70
jb 0x4245dc
cmp al, 0x1a
je 0x424603
cmp al, 0x30
je 0x424603
mov dword [0x42a27c], ebx
cmp ebx, dword [0x42a1f0]
je 0x4245f3
mov byte [0x42a4a1], 0
clc
ret
sub edi, ebx
sub edi, 4
mov dword [ebx], edi
mov byte [0x42a4a1], 1
clc
ret
mov edx, 0x42a1f0
cmp ebx, dword [edx]
je 0x424623
mov edi, dword [edx]
add edi, 4
mov ecx, dword [ebx]
call fcn.0041a71c
xchg esi, ebx
lodsd eax, dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
mov ebx, dword [edx]
lodsb al, byte [esi]
cmp al, 0x30
je 0x424691
lodsd eax, dword [esi]
push ebx
push esi
mov esi, eax
mov ecx, dword [esi]
mov edx, 0x42a1f0
call fcn.0041a71c
lodsd eax, dword [esi]
lea ebx, [esi + eax]
mov ecx, dword [0x42a250]
mov edx, dword [0x42a254]
xor eax, eax
lodsb al, byte [esi]
xor cl, al
xor dl, byte [eax + section..bss]
imul ecx, ecx, 0x1000193
imul edx, edx, 0x1000193
stosb byte es:[edi], al
cmp esi, ebx
jne 0x42464b
mov dword [0x42a250], ecx
mov dword [0x42a254], edx
pop esi
pop ebx
jmp 0x4245b9
inc esi
mov ebx, dword [0x42a1f0]
lea edi, [ebx + 4]
mov eax, 0x811c9dc5
mov dword [0x42a250], eax
mov dword [0x42a254], eax
mov edx, esi
mov ecx, dword [edx]
lea esi, [esi + ecx + 4]
push ebx
push esi
push edi
call fcn.0041c9c3
pop edi
mov eax, edx
jmp 0x42462b
Function at 0x426d55
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, 0x811c9dc5
jecxz 0x426d6e
mov eax, ecx
xor dl, byte [esi]
inc esi
imul edx, edx, 0x1000193
loop 0x426d5e
mov ecx, eax
sub esi, ecx
ret
inc ecx
lodsb al, byte [esi]
xor dl, al
imul edx, edx, 0x1000193
test al, al
jne 0x426d6e
sub esi, ecx
ret

Function at 0x426e9a
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x42a400]
shl ecx, 1
add ecx, 0x12
call fcn.004196c0
mov dword [0x42a404], eax
mov dword [0x42a408], ecx
add eax, ecx
sub eax, dword [0x42a3fc]
sub eax, dword [0x42a400]
mov dword [0x42a40c], eax
mov esi, dword [0x42a3fc]
mov edi, dword [0x42a404]
mov byte [0x42a4b2], 0xa
mov eax, dword [0x42a40c]
add eax, esi
sub eax, edi
cmp eax, 0x12
jae 0x426f33
mov ecx, esi
sub ecx, dword [0x42a3fc]
mov eax, dword [0x42a400]
mul dword [0x42a408]
div ecx
mov ecx, eax
add ecx, 0x12
mov eax, dword [0x42a404]
call fcn.004196f4
sub edi, dword [0x42a404]
add edi, eax
mov dword [0x42a404], eax
mov dword [0x42a408], ecx
add eax, ecx
sub eax, dword [0x42a3fc]
sub eax, dword [0x42a400]
mov dword [0x42a40c], eax
movzx eax, byte [esi]
inc esi
mov ah, byte [eax + section..bss]
cmp ah, 0x20
je 0x426ff6
test ah, ah
jne 0x426f96
stosb byte es:[edi], al
mov byte [0x42a4b2], al
jmp 0x426edb
mov dl, al
mov byte [edi], 0x22
mov byte [0x42a4b2], 0x22
add edi, 5
xor ecx, ecx
mov al, byte [esi]
cmp al, 0xd
je 0x426f85
cmp al, 0xa
je 0x426f85
cmp al, 0x1a
je 0x426f85
test al, al
je 0x426f85
inc esi
cmp al, dl
jne 0x426f7f
cmp byte [esi], al
jne 0x426f89
inc esi
mov byte [edi + ecx], al
inc ecx
jmp 0x426f63
mov byte [edi - 5], 0x27
mov al, byte [edi - 5]
mov dword [edi - 4], ecx
add edi, ecx
jmp 0x426edb
cmp al, 0x22
je 0x426f52
cmp al, 0x27
je 0x426f52
mov byte [edi], 0x1a
mov byte [0x42a4b2], 0x1a
add edi, 5
xor ebx, ebx
mov ecx, 0x811c9dc5
mov edx, ecx
mov byte [edi + ebx], al
inc ebx
xor cl, al
xor dl, ah
imul ecx, ecx, 0x1000193
imul edx, edx, 0x1000193
movzx eax, byte [esi]
inc esi
mov ah, byte [eax + section..bss]
cmp ah, 0x20
je 0x426fdb
test ah, ah
jne 0x426fb4
mov dword [edi - 4], ebx
add edi, ebx
mov dword [edi], ecx
mov dword [edi + 4], edx
xor ecx, ecx
mov dword [edi + 8], ecx
add edi, 0xc
cmp ah, 0x20
jne 0x426f4a
cmp al, 0x20
je 0x427056
cmp al, 9
je 0x427056
cmp byte [0x42a4b2], 0x20
je 0x427008
inc edi
mov byte [edi - 1], 0xa
mov byte [0x42a4b2], 0xa
cmp al, 0xd
je 0x427038
cmp al, 0xa
je 0x427047
xor al, al
stosb byte es:[edi], al
mov ecx, edi
mov eax, dword [0x42a404]
sub ecx, eax
call fcn.004196f4
mov dword [0x42a404], eax
mov dword [0x42a408], ecx
ret
cmp byte [esi], 0xa
jne 0x426edb
inc esi
jmp 0x426edb
cmp byte [esi], 0xd
jne 0x426edb
inc esi
jmp 0x426edb
cmp byte [0x42a4b2], 0xa
je 0x426edb
cmp byte [0x42a4b2], 0x20
je 0x426edb
mov al, 0x20
stosb byte es:[edi], al
mov byte [0x42a4b2], al
jmp 0x426edb
Function at 0x4015e9
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
push edx
jne 0x401613
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
push eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x401618
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0x425044
mov edi, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x401667
mov dword [esp + 8], edi
mov ebx, eax
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [ebp + 8], ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x4027a0
mov dword [ebp + 8], str.Failed_to_create_executable
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_perror
jmp dword [sym.imp.msvcrt.dll_fclose]

Function at 0x40167a
Capabilities:
Create process on windows

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x10
mov ebp, esp
push edi
lea edi, [ebp - 0x48]
sub esp, 0x94
mov dword [ebp - 0x4c], 0x44
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
je 0x40170a
mov eax, dword [ebp - 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x58]
push edx
mov dword [esp], eax
call edi
push ecx
jmp 0x401716
mov dword [esp], str.Failed_to_execute_program
call sub.msvcrt.dll_perror
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 4]
push eax
push eax
leave
ret
Function at 0x401ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4273a0]
test esi, esi
jle 0x401cb0
mov edi, dword [0x4273a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401bd4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401c55
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401bc0
mov dword [esp], eax
mov ebx, eax
call fcn.00402490
test eax, eax
mov edi, eax
je 0x401cd7
mov eax, dword [0x4273a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402590
add eax, dword [edi + 0xc]
mov edx, dword [0x4273a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401cb7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401c4e
sub eax, 4
and eax, 0xfffffffb
jne 0x401c60
add dword [0x4273a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4273a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00402948
lea esi, [esi]
xor esi, esi
jmp 0x401bde
mov eax, dword [0x4273a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00402948
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00402948
mov esi, esi
lea edi, [edi]

Function at 0x402110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4273b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4273b0]
sub esp, 4
test ebx, ebx
je 0x402165
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40215e
test esi, esi
je 0x40215e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402140
mov dword [esp], 0x4273b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402840
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xc10
call fcn.00401820
mov dword [esp], str.USERPROFILE
call sub.msvcrt.dll_getenv
test eax, eax
jne 0x40288a
mov dword [esp], 2
call dword [0x42463c]
mov dword [esp], str.Failed_to_get_home_directory_n
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov eax, 1
jmp 0x40293f
lea ebx, [esp + 0x10]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x410]
mov dword [esp], ebx
mov dword [esp + 8], str._s.appfolder
mov dword [esp + 4], 0x400
call fcn.004015c0
mov dword [esp], ebx
call fcn.004015e9
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._sexe1.exe
mov dword [esp + 4], 0x400
mov dword [esp], esi
call fcn.004015c0
mov dword [esp + 8], 0x1d400
mov dword [esp + 4], 0x407220
mov dword [esp], esi
call fcn.00401618
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x810]
mov dword [esp + 8], str._sexe2.exe
mov dword [esp + 4], 0x400
mov dword [esp], ebx
call fcn.004015c0
mov dword [esp + 8], 0x4200
mov dword [esp + 4], 0x403020
mov dword [esp], ebx
call fcn.00401618
mov dword [esp], esi
call fcn.0040167a
mov dword [esp], ebx
call fcn.0040167a
call fcn.00401731
xor eax, eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x402948
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402810
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402810
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp fcn.004014e0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64833b1d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x791b345e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
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 0x401810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40184f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40184f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40184f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40184f
cmp dword [ecx + 0x74], 0xe
jbe 0x40184f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xe0a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e0a1a8
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 0xe0a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe0a06a
add dl, dl
jne 0xe0a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe0a0dc
xor eax, eax
add dl, dl
jne 0xe0a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe0a17d
add dl, dl
jne 0xe0a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe0a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe0a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe0a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe0a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe0a075
mov eax, 1
add dl, dl
jne 0xe0a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe0a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe0a0e1
sub eax, ebx
mov ebx, 1
jne 0xe0a128
mov ecx, 1
add dl, dl
jne 0xe0a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe0a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe0a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe0a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe0a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe0a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe0a136
cmp eax, 0x7d00
jae 0xe0a16d
cmp eax, 0x500
jb 0xe0a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe0a075
cmp eax, 0x7f
ja 0xe0a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe0a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe0a19e
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 0xe0a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10