joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494578
Capabilities:
Accept command line arguments

Disassembly:
push 0x38
mov eax, 0x50d130
call fcn.0049ca93
mov eax, dword fs:[0x2c]
mov ecx, dword [0x57de4c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x57dddc]
cmp eax, dword [ecx + 4]
jg 0x49462b
test esi, esi
jne 0x4945b9
mov esi, dword [0x57ddd8]
cmp dword [esi + 0x14], 0x10
jb 0x4945b9
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00494fb6
add esp, 0xc
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 4], 1
setne bl
test eax, eax
je 0x49461b
lea eax, [ebp - 0x41]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409f40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 5
push str.runas
push esi
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0047eff0
add esp, 0x18
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.0040dd63
lea ecx, [ebp - 0x40]
call fcn.0040dd89
mov al, bl
call fcn.0049ca42
ret
mov ebx, 0x57dddc
push ebx
call fcn.0049c932
cmp dword [0x57dddc], 0xffffffff
pop ecx
jne 0x4945a7
and dword [ebp - 4], 0
push 0x51069f
call fcn.0049c7ea
pop ecx
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
mov edi, 0x57dde0
push eax
mov ecx, edi
call fcn.0040154b
or dword [ebp - 4], 0xffffffff
push ebx
mov dword [0x57ddd8], edi
call fcn.0049c8e8
pop ecx
jmp 0x4945a7

Function at 0x4963cf
Capabilities:
Terminate process

Disassembly:
push 0x94
mov eax, 0x50d747
call fcn.0049caff
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x49648a
jmp 0x496462
test esi, esi
jne 0x49646a
xor al, al
jmp 0x496484
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
call fcn.0049ca51
ret
and dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
push 0x5a3
push 0x539d24
push 2
call fcn.00417524
push 0x5581cc
lea eax, [ebp - 0x90]
push eax
call fcn.004a6281
int3
Function at 0x49e813
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x50de5f
call fcn.0049ca60
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0049ea97
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x49e97d
push ebx
push ebx
call fcn.004d1156
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x49e859
mov eax, esi
call fcn.0049ca2e
ret 4
push 6
mov dword [edi], ebx
call fcn.00463aba
int3

Function at 0x4a0413
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push 0x118
mov eax, 0x50e40a
call fcn.0049caff
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
movzx edi, byte [ebp + 0xc]
push eax
xor edi, 1
call fcn.0043b6f3
cmp dword [eax + 0x14], 8
jb 0x4a0443
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [ebp - 0x2c]
mov ebx, eax
call fcn.0040dd89
test ebx, ebx
je 0x4a0658
jmp 0x4a04da
mov edi, dword [ebp - 0x110]
push dword [sym.imp.WININET.dll_InternetCloseHandle]
add edi, 4
push ebx
mov ecx, edi
call fcn.0049fd3f
push 4
pop ebx
push ebx
lea eax, [ebp + 0x10]
push eax
push 2
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0049fc00
call fcn.004a0125
add esp, 0x14
lea eax, [ebp + 0x14]
push ebx
push eax
push 6
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0049fc00
call fcn.004a0125
add esp, 0x14
lea eax, [ebp + 0x14]
push ebx
push eax
push 8
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0049fc00
call fcn.004a0125
add esp, 0x14
lea eax, [ebp + 0x14]
push ebx
push eax
push 5
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0049fc00
call fcn.004a0125
add esp, 0x14
lea eax, [ebp + 0x14]
push ebx
push eax
push 7
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0049fc00
call fcn.004a0125
mov eax, dword [ebp - 0x110]
add esp, 0x14
cmp dword [eax + 0x34], esi
je 0x4a059f
push edi
lea ecx, [eax + 0x10]
push esi
call fcn.004a008c
push esi
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x4a0650
push 0x6a
push 0x53ad08
mov dword [ebp - 4], 2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push ebx
lea ecx, [ebp - 0x10c]
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0x10c]
jmp 0x4a0681
call fcn.0049ca51
ret 0x10
push 0x38
push 0x53ad08
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 4
lea ecx, [ebp - 0xa8]
call fcn.00417547
push 0x5581cc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a6281
int3
Function at 0x4a2b7a
Capabilities:
Check os version
Get storage device properties

Disassembly:
push 0x24
mov eax, 0x50e879
call fcn.0049ca93
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
xor ebx, ebx
call fcn.004a21b7
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ebx
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersion]
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push 0x53afb8
push eax
call fcn.004a29f7
mov esi, dword [ebp - 0x2c]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x4a2bea
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x4a2cf8
push 0x1001
call fcn.004b1a24
mov edi, eax
pop ecx
test edi, edi
jne 0x4a2c02
push 8
jmp 0x4a2cee
push 0x1001
push ebx
push edi
call fcn.004a6050
add esp, 0xc
lea eax, [ebp - 0x24]
push ebx
push eax
push 0x1000
push edi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x4a2c41
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x4a2cef
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4a2cec
cmp ecx, dword [ebp - 0x24]
jae 0x4a2cec
mov eax, dword [ebp - 0x20]
cmp al, 6
ja 0x4a2cb7
jne 0x4a2c65
shr eax, 8
cmp al, 2
jae 0x4a2cb7
lea ecx, [ebp - 0x20]
call fcn.004a20fc
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
sub eax, dword [edi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004a40fc
mov ecx, dword [edi + 0x18]
push eax
add ecx, edi
push 1
push ecx
call fcn.004a4650
add esp, 0xc
lea ecx, [ebp - 0x20]
push 0xffffffffffffffff
call fcn.004a42ac
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.004a240b
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004a4294
jmp 0x4a2cdb
lea eax, [ecx + edi]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4a2cc5
mov ecx, ebx
jmp 0x4a2cd1
push eax
call fcn.004b1a30
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004a43be
mov ecx, dword [ebp - 0x28]
call fcn.004a4522
mov ecx, eax
call fcn.004a44bb
jmp 0x4a2cef
push 0xd
pop ebx
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push edi
call fcn.004b1a07
pop ecx
lea ecx, [esi - 0x10]
call fcn.004a4294
mov eax, ebx
call fcn.0049ca42
ret
Function at 0x4a3060
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x50e92d
call fcn.0049ca60
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.004a21b7
and dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
and dword [ebp - 0x28], edi
xor ebx, ebx
and dword [ebp - 0x18], ebx
call fcn.004a20fc
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push str..Scsi_u:
push eax
call fcn.004a29f7
mov esi, dword [ebp - 0x1c]
add esp, 0xc
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push 0xc0000000
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x4a30d1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x4a31e9
push 0x3c
call fcn.004b1a24
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4a30e7
push 8
pop edi
jmp 0x4a31e0
push 0x22c
call fcn.004b1a24
mov edi, eax
mov dword [ebp - 0x18], edi
pop ecx
test edi, edi
je 0x4a30df
mov byte [ebp - 0xd], 0
jmp 0x4a3104
mov edi, dword [ebp - 0x18]
push 0x3c
push 0
push ebx
call fcn.004a6050
push 0x22c
push 0
push edi
call fcn.004a6050
push 8
lea eax, [ebx + 4]
mov dword [ebx], 0x1c
push str.SCSIDISK
push eax
mov dword [ebx + 0xc], 0x1388
mov dword [ebx + 0x18], 0x210
mov dword [ebx + 0x10], 0x1b0501
call fcn.004d63c0
mov al, byte [ebp - 0xd]
add esp, 0x24
mov byte [ebx + 0x28], al
lea eax, [ebp - 0x28]
mov byte [ebx + 0x26], 0xec
push 0
push eax
push 0x22c
push edi
push 0x3c
push ebx
push 0x4d008
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x4a3191
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov al, byte [ebp - 0xd]
inc al
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xd], al
cmp al, 2
jb 0x4a3101
jmp 0x4a31e0
add edi, 0x40
push 0x14
push edi
call fcn.004a4629
pop ecx
pop ecx
push 0x15
lea ecx, [ebp - 0x14]
call fcn.004a40fc
push 0x14
push edi
push eax
mov byte [eax + 0x14], 0
call fcn.004d63c0
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
call fcn.004a42ac
lea ecx, [ebp - 0x14]
call fcn.004a4522
mov ecx, eax
call fcn.004a44bb
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.004a240b
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push ebx
call fcn.004b1a07
push dword [ebp - 0x18]
call fcn.004b1a07
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004a4294
lea ecx, [esi - 0x10]
call fcn.004a4294
mov eax, edi
call fcn.0049ca2e
ret
Function at 0x4a3e68
Capabilities:
Get common file path
Get disk information
Get disk information via ioctl

Disassembly:
push 0x24
mov eax, 0x50ea15
call fcn.0049ca93
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], eax
call fcn.004a21b7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004a21b7
lea ecx, [ebp - 0x20]
call fcn.004a21b7
and dword [ebp - 0x2c], 0
lea edi, [ebp - 0x1c]
xor eax, eax
mov byte [ebp - 4], 2
stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
push 0x105
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004a4138
push 0x104
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x4a3ecf
call esi
mov ebx, eax
jmp 0x4a3ed1
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.004a42d8
mov edi, dword [ebp - 0x24]
test ebx, ebx
jne 0x4a3fbc
push 0x105
lea ecx, [ebp - 0x28]
call fcn.004a4138
push 0x104
push eax
push edi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
test eax, eax
jne 0x4a3f08
call esi
mov ebx, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.004a42d8
test ebx, ebx
jne 0x4a3fbc
push 0x105
lea ecx, [ebp - 0x20]
call fcn.004a4138
mov esi, dword [ebp - 0x28]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4a3f43
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.004a42d8
test ebx, ebx
jne 0x4a3fbf
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.004a4577
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x4a3f80
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x4a3fbf
xor edx, edx
lea ecx, [ebp - 0x2c]
push edx
push ecx
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
push edx
push edx
push 0x2d1080
push eax
call dword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x4a3fa9
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x4a3fb1
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x4a3fbf
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004a4294
lea ecx, [esi - 0x10]
call fcn.004a4294
lea ecx, [edi - 0x10]
call fcn.004a4294
mov eax, ebx
call fcn.0049ca42
ret

Function at 0x4a4990
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4a9fb9
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe fcn.004a9ff4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a9fdb
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4a9fec
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4a9ff6
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4a9fd1

Function at 0x4aa245
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004a9f79
aam 0xcc
out dx, al
lea eax, [ebp - 0x58]
push eax
call fcn.004a9f89
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004a9f3e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4aa267
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
invalid
inc ebp

Function at 0x4aa362
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004a9f89
push eax
push esi
push dword [ebp + 8]
call fcn.004a9f3e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004a9f89
push eax

Function at 0x4aa5c6
Capabilities:
Inspect section memory permissions

Disassembly:
pop edi
pop es
lodsb al, byte [esi]
xchg esi, eax
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x4aa62d
add eax, esi
Function at 0x4aa657
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4aa650
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4aa66e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4aa6cc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4aa6b3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4aa6bc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4aa6c6
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4aa6a8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4aa632
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x4aa679
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4aa650
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4aa66e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4aa6cc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4aa6b3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4aa6bc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4aa6c6
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4aa6a8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4aa632
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x4aa6bd
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4aa650
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4aa66e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4aa6cc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4aa6b3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4aa6bc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4aa6c6
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4aa6a8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4aa632
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x4aa7a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004a9f89
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004a9f3e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
test dword [eax + 0x4fffff9], edx
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
invalid
test dword [ebx - 4], eax
invalid
invalid
Function at 0x4aa861
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004a9f89
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004a9f3e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
test dword [eax + 0x4fffff9], edx
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
invalid
test dword [ebx - 4], eax
invalid
invalid

Function at 0x4da304
Capabilities:
Read file on windows

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

Function at 0x4da30f
Capabilities:
Read file on windows

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

Function at 0x4e5ab6
Capabilities:
Set environment variable

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

Function at 0x4e5f26
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e5dfa
Function at 0xccd370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xccd38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xcf6074
push ecx
mov edi, eax
call fcn.00ce1198
mov esi, eax
add esp, 8
test esi, esi
jne 0xccd3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ce102e
push esi
call fcn.00ce0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret