joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147ef
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x4411f2
call fcn.0041b4c3
call fcn.00403410
push eax
lea ecx, [ebp - 0x10]
call fcn.004020f0
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.00402a20
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00405740
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x414854
mov ecx, dword [ebp + 8]
push 0x44c0ac
call fcn.004026d0
lea ecx, [esi - 0x10]
call fcn.004034d0
mov eax, dword [ebp + 8]
jmp 0x4148ad
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.0040d940
cmp ax, 0x5c
je 0x414873
push 1
push 0x44c55c
lea ecx, [ebp - 0x10]
call fcn.00401af0
push 0x10
push 0x4426c0
lea ecx, [ebp - 0x10]
call fcn.00401af0
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x414892
push esi
call fcn.004141b7
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.004012b0
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.004034d0
mov eax, esi
call fcn.0041b49d
ret

Function at 0x4148b3
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x44121d
call fcn.0041b4c3
call fcn.00403410
push eax
lea ecx, [ebp - 0x10]
call fcn.004020f0
xor ebx, ebx
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00414371
pop ecx
pop ecx
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.00401af0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004034d0
inc ebx
lea ecx, [ebp - 0x10]
push ebx
push str.ApTest
call fcn.00401af0
push ebx
mov esi, 0x4426e8
lea ecx, [ebp - 0x10]
push esi
call fcn.00401af0
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.00401af0
push ebx
push 0x4426ec
lea ecx, [ebp - 0x10]
call fcn.00401af0
push ebx
push 0x4426f0
lea ecx, [ebp - 0x10]
call fcn.00401af0
push ebx
push 0x4426f4
lea ecx, [ebp - 0x10]
call fcn.00401af0
push ebx
push 0x4426f8
lea ecx, [ebp - 0x10]
call fcn.00401af0
push 2
push 0x4426fc
lea ecx, [ebp - 0x10]
call fcn.00401af0
push 2
push 0x442704
lea ecx, [ebp - 0x10]
call fcn.00401af0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004034d0
mov eax, edi
call fcn.0041b49d
ret
Function at 0x4155f4
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x44137a
call fcn.0041b4c3
mov edi, ecx
push dword [ebp + 0x10]
mov eax, dword [edi]
push dword [ebp + 8]
call dword [eax + 8]
test eax, eax
je 0x4156f8
call fcn.00403410
push eax
lea ecx, [ebp + 0x10]
call fcn.004020f0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
push ebx
mov byte [ebp - 4], 1
call fcn.004023b0
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x10]
call fcn.00402d60
push 0x5c
push dword [ebp + 0x10]
call fcn.0041c2d2
pop ecx
pop ecx
test eax, eax
jne 0x41565b
or eax, 0xffffffff
jmp 0x415660
sub eax, dword [ebp + 0x10]
sar eax, 1
inc eax
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040dde0
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00405790
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.004034d0
mov esi, dword [ebp + 0x10]
push esi
call fcn.004141b7
pop ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4156a6
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0x80
push 2
push eax
push 0xc0000000
push ebx
call fcn.0041520b
test eax, eax
js 0x4156dd
push 0
push dword [edi + 8]
lea ecx, [ebp - 0x14]
push dword [edi + 4]
call fcn.00415fb1
test eax, eax
js 0x4156dd
xor ebx, ebx
inc ebx
jmp 0x4156df
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x4156ee
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004034d0
mov eax, ebx
call fcn.0041b49d
ret 0xc
Function at 0x4164bf
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30fc
call fcn.0041b630
mov eax, dword [0x453044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.0041d2d0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0041d2d0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.00416824
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41654e
mov al, 1
jmp 0x416657
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.0041d2d0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.0041d2d0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.0041d2d0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4165d0
mov bl, 2
jmp 0x41664e
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00416666
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00416666
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416611
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
push edi
call fcn.00404750
lea ecx, [ebp - 0x9dc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416634
sub ecx, edx
lea eax, [ebp - 0x9dc]
push ecx
push eax
push edi
call fcn.00404750
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aaa9
leave
ret
Function at 0x41685a
Capabilities:
Create raw socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x453044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x194]
push eax
xor edi, edi
push 0x101
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push edi
push edi
xor ebx, ebx
mov word [esi + 8], ax
inc ebx
push ebx
push 3
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4168d7
push ebx
push dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x2c
mov dword [esi + 0x10], ebx
call fcn.0041ebae
mov dword [esi + 0xc], eax
pop ecx
test eax, eax
jne 0x4168d7
mov dword [esi + 0x10], edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aaa9
leave
ret

Function at 0x4169d8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x453044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x64
mov dword [ebp - 0x7c], eax
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0041d2d0
add esp, 0xc
test esi, esi
je 0x416a71
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x416a71
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx]
jmp 0x416a53
movsx eax, word [esi + 0xa]
push eax
push ecx
lea eax, [ebp - 0x74]
push eax
call fcn.0041c7d0
add esp, 0xc
push dword [ebp - 0x74]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x68]
push 0x442ad0
push eax
call fcn.0041683f
mov eax, dword [esi + 0xc]
add esp, 0xc
inc edi
mov ecx, dword [eax + edi*4]
test ecx, ecx
jne 0x416a1f
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push dword [ebp - 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov ecx, ebx
call fcn.00416a84
jmp 0x416a73
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aaa9
leave
ret 0xc
Function at 0x416a84
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x453044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x416c3b
push 2
pop eax
mov word [ebp - 0x114], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x144], 0x10
call fcn.00416954
mov cx, word [0x454f30]
inc cx
mov dword [ebp - 0x14c], eax
push 0x2c
mov word [0x454f30], cx
push 0
push dword [edi + 0xc]
movzx eax, cx
mov dword [ebp - 0x148], eax
call fcn.0041d2d0
mov esi, dword [edi + 0xc]
add esp, 0xc
mov ecx, edi
mov word [esi], 8
mov ax, word [edi + 8]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x148]
mov word [esi + 6], ax
mov eax, dword [ebp - 0x14c]
push 0x2c
mov dword [esi + 8], eax
push dword [edi + 0xc]
call fcn.00416906
mov word [esi + 2], ax
lea eax, [ebp - 0x114]
push dword [ebp - 0x144]
push eax
push 0
push 0x2c
push dword [edi + 0xc]
push dword [edi]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x416c3b
test ebx, ebx
jne 0x416b5d
xor eax, eax
inc eax
jmp 0x416c3d
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0041d2d0
add esp, 0xc
lea esi, [edi + 4]
push 0
push 0x64
push 0
push esi
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0x102
je 0x416c25
lea eax, [ebp - 0x140]
push eax
push dword [esi]
push dword [edi]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test byte [ebp - 0x140], 1
je 0x416c25
mov ecx, edi
call fcn.00416954
mov esi, eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edx, eax
cmp edx, 0xffffffff
je 0x416c22
mov cl, byte [ebp - 0x104]
and cl, 0xf
movzx ecx, cl
shl cx, 2
movzx eax, cx
movzx ecx, ax
mov dword [ebp - 0x150], eax
mov ax, word [ebp + ecx - 0x100]
cmp ax, word [edi + 8]
jne 0x416c22
cmp byte [ebp + ecx - 0x104], 0
jne 0x416c22
mov eax, dword [ebp - 0x148]
cmp word [ebp + ecx - 0xfe], ax
je 0x416c4e
lea esi, [edi + 4]
mov ecx, edi
call fcn.00416954
sub eax, dword [ebp - 0x14c]
cmp eax, dword [ebp + 0x10]
jb 0x416b76
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aaa9
leave
ret 0xc
sub esi, dword [ebp + ecx - 0xfc]
mov ecx, dword [ebp - 0x150]
movzx ecx, cx
sub edx, ecx
mov word [ebx], ax
movzx ecx, byte [ebp - 0xfc]
sub edx, 0xc
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
jmp 0x416b55
Function at 0x432953
Capabilities:
Set environment variable

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

Function at 0x43d690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x455b9c], 0
push esi
mov esi, dword [ebp + 8]
jne 0x43d79b
push 0x455ba0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x43d789
test esi, esi
jne 0x43d77e
push ebx
push edi
push str.advapi32.dll
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x43d75e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextA
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x43d75e
push str.CryptGenRandom
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x43d75e
push str.CryptReleaseContext
push esi
call edi
mov edi, eax
test edi, edi
je 0x43d75e
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp + 8]
push eax
call ebx
test eax, eax
je 0x43d75e
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 8]
call dword [ebp - 8]
push 0
push dword [ebp + 8]
mov esi, eax
call edi
test esi, esi
je 0x43d75e
mov eax, dword [ebp - 4]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 1]
shl esi, 8
or esi, eax
jmp 0x43d772
push 0
call fcn.004243d5
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
test esi, esi
mov eax, 1
pop edi
cmove esi, eax
pop ebx
mov dword [0x455b9c], esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SwitchToThread]
nop
call esi
cmp dword [0x455b9c], 0
je 0x43d790
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add ecx, 0xdeadbeef
push ebx
mov ebx, dword [ebp + 8]
add ecx, edx
push esi
mov esi, ecx
mov dword [ebp + 0x10], esi
push edi
mov edi, ecx
cmp edx, 0xc
jbe switch.0x0043d8ac
add edx, 0xfffffff3
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
movzx esi, byte [ebx + 7]
movzx eax, byte [ebx + 6]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 5]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
add edi, eax
shl esi, 8
movzx eax, byte [ebx + 0xa]
add edi, esi
movzx esi, byte [ebx + 8]
add edx, eax
movzx eax, byte [ebx + 9]
add esi, ecx
shl edx, 8
add edx, eax
shl edx, 8
add esi, edx
mov edx, dword [ebp + 8]
mov ebx, esi
rol ebx, 4
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
sub ecx, esi
add esi, edi
add ecx, dword [ebp + 0x10]
xor ebx, ecx
sub edi, ebx
mov eax, ebx
add ebx, esi
rol eax, 6
xor eax, edi
sub esi, eax
mov edx, eax
rol edx, 8
add eax, ebx
xor edx, esi
sub ebx, edx
mov esi, edx
rol esi, 0x10
add edx, eax
xor esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
sub eax, esi
ror edi, 0xd
add esi, edx
xor edi, eax
mov dword [ebp + 0x10], esi
sub edx, edi
mov ecx, edi
rol ecx, 4
add ebx, 0xc
xor ecx, edx
mov dword [ebp + 8], ebx
mov edx, dword [ebp + 0xc]
add edi, esi
sub edx, 0xc
sub dword [ebp - 4], 1
mov dword [ebp + 0xc], edx
jne 0x43d7e0
cmp edx, 0xc
ja 0x43d918
jmp dword [edx*4 + 0x43d968]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add ecx, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add ecx, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movzx eax, byte [ebx]
add esi, eax
mov dword [ebp + 0x10], esi
xor ecx, edi
mov eax, edi
rol eax, 0xe
sub ecx, eax
mov eax, ecx
mov esi, ecx
xor esi, dword [ebp + 0x10]
rol eax, 0xb
sub esi, eax
xor edi, esi
mov eax, esi
ror eax, 7
sub edi, eax
mov eax, edi
xor ecx, edi
rol eax, 0x10
sub ecx, eax
mov eax, ecx
mov edx, ecx
rol eax, 4
xor edx, esi
sub edx, eax
mov eax, edx
xor edi, edx
rol eax, 0xe
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 8
sub ecx, eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
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.MSVCR71.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, 0x38
pushal
call 0x40288e
pop dword [ebp - 0x28]
mov eax, 0x7a2f5a51
sub eax, 0x79ef31c3
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb6f4a578
add dword [ebp - 0x38], 0x975d9fd3
mov dword [ebp - 0x34], 0xf99ef048
sub dword [ebp - 0x34], 0xc76ba403
mov dword [ebp - 0x30], 0x695a5d68
add dword [ebp - 0x30], 0xe2f1e6c6
mov dword [ebp - 0x2c], 0x2e7e432f
sub dword [ebp - 0x2c], 0x2e7e432f
lea eax, [ebp - 0x38]
push eax
mov eax, 0xf5fa6c1a
sub eax, 0xf5b9eb8e
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x322fa4ff
add dword [ebp - 0x38], 0x4242c457
mov dword [ebp - 0x34], 0x9cab2d3
sub dword [ebp - 0x34], 0xc85e515e
mov dword [ebp - 0x30], 0x9b9b6b2f
add dword [ebp - 0x30], 0xc7d4013d
mov dword [ebp - 0x2c], 0x6d02513c
sub dword [ebp - 0x2c], 0x6d02513c
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3643a
push 0
call eax
mov ecx, 0xa5070d77
sub ecx, 0xa506c6cb
mov esi, eax
mov edx, 0x411000
add edx, dword [ebp - 0x28]
mov edi, 0x94bc7c5d
sub edi, 0xf15cfa7
mov dword [ebp - 0xc], 0x81c3ecdd
mov ebx, dword [edx]
add dword [ebp - 0xc], ebx
add ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x1c], edi
add esi, 4
add edx, 4
loop 0x4029a5
add eax, 0x6821bf1b
sub eax, 0x6820b198
xor ebx, ebx
add ebx, eax
add eax, 0x14809065
add eax, 0xeb7f6fa0
mov ecx, 0xa19528f2
sub ecx, 0xa15528f2
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10007082
pop dword [ebp - 0x3c]
mov eax, 0x2afb22b4
add eax, 0xe5054dce
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x378f9
push 0
mov eax, 0xa5647948
sub eax, 0x956338e4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xf6f0aea
sub ecx, 0xf6ec8ca
xor esi, esi
add esi, eax
mov edx, 0xbb0415e3
sub edx, 0xab028fe3
add edx, dword [ebp - 0x3c]
mov edi, 0x6dd5f2a1
xor dword [ebp - 0x34], eax
mov ebx, dword [edx]
sub dword [ebp - 0x1c], 0x3d163c09
xor ebx, edi
xor dword [ebp - 0x14], 0x51b46a2d
mov dword [esi], ebx
add esi, 0xe6a74ab6
sub esi, 0xe6a74ab2
add edx, 4
loop 0x100070dd
add eax, 0xfb53
xor ebx, ebx
add ebx, eax
add eax, 0xc7974e10
sub eax, 0xc7974e0b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x4a2b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9d000]
push edi
jmp 0x4a2b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a2b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2b80
mov eax, 1
add ebx, ebx
jne 0x4a2ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a2bb4
jne 0x4a2bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2bd3
dec eax
add ebx, ebx
jne 0x4a2bc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a2b98
add ebx, ebx
jne 0x4a2bcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a2c25
xor ecx, ecx
sub eax, 3
jb 0x4a2beb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a2c5a
sar eax, 1
mov ebp, eax
jmp 0x4a2bf6
add ebx, ebx
jne 0x4a2bf6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2bc4
inc ecx
add ebx, ebx
jne 0x4a2c04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2bc4
add ebx, ebx
jne 0x4a2c11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a2c06
jne 0x4a2c22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a2c06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a2c44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a2c36
jmp 0x4a2b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a2c44
add edi, ecx
jmp 0x4a2b86
pop esi
mov edi, esi
mov ecx, 0x28d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a2c62
cmp byte [edi], 1
jne 0x4a2c62
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 0x4a2c67
lea edi, [esi + 0xa0000]
mov eax, dword [edi]
or eax, eax
je 0x4a2cdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb4638]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb46d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a2c94
mov ecx, edi
jns 0x4a2cc3
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 + 0xb46dc]
or eax, eax
je 0x4a2cd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4a2cb1
call dword [esi + 0xb46ec]
mov ebp, dword [esi + 0xb46e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4a2d13
sub esp, 0xffffff80
jmp 0x4034cc