joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b3d2
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x10053300]
je 0x1003b3f8
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x17
jb 0x1003b3e6
cmp esi, 0x17
jae 0x1003b552
push 3
call fcn.1003ea87
pop ecx
cmp eax, 1
je 0x1003b51c
push 3
call fcn.1003ea87
pop ecx
test eax, eax
jne 0x1003b42b
cmp dword [0x10053e6c], 1
je 0x1003b51c
cmp edi, 0xfc
je 0x1003b552
push 0x1000e34c
mov edi, 0x314
push edi
mov esi, 0x100544b0
push esi
call fcn.100310dc
add esp, 0xc
test eax, eax
je 0x1003b461
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
mov byte [0x100545cd], bl
push 0x104
mov ebx, 0x100544c9
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1003b4a4
push 0x1000e334
push 0x2fb
push ebx
call fcn.100310dc
add esp, 0xc
test eax, eax
je 0x1003b4a4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1003185a
add esp, 0x14
push ebx
push edi
push esi
call fcn.1003c37b
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x1003b4c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
push 0x1000e330
push edi
push esi
call fcn.1003c37b
add esp, 0xc
test eax, eax
je 0x1003b4e2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x10053304]
push edi
push esi
call fcn.1003c37b
add esp, 0xc
test eax, eax
je 0x1003b507
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
push 0x12010
push 0x1000e308
push esi
call fcn.1003e8e0
add esp, 0xc
jmp 0x1003b552
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x1003b552
cmp edi, 0xffffffff
je 0x1003b552
mov edx, dword [esi*8 + 0x10053304]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b53b
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003e8e0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100335ee
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x10054838], ebx
jne 0x1003e9b9
push ebx
push ebx
push 0x1000f6d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x1003e924
xor eax, eax
jmp 0x1003ea7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000f6c4
push edi
call esi
cmp eax, ebx
je 0x1003e91d
push eax
call fcn.10033576
mov dword [esp], 0x1000f6b4
push edi
mov dword [0x10054838], eax
call esi
push eax
call fcn.10033576
mov dword [esp], 0x1000f6a0
push edi
mov dword [0x1005483c], eax
call esi
push eax
call fcn.10033576
mov dword [0x10054840], eax
lea eax, [ebp - 8]
push eax
call fcn.10033319
pop ecx
pop ecx
test eax, eax
je 0x1003e987
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1003e9b9
push 0x1000f684
push edi
call esi
push eax
call fcn.10033576
pop ecx
mov dword [0x10054848], eax
cmp eax, ebx
je 0x1003e9b9
push 0x1000f66c
push edi
call esi
push eax
call fcn.10033576
pop ecx
mov dword [0x10054844], eax
mov eax, dword [0x10054844]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1003ea32
cmp dword [0x10054848], esi
je 0x1003ea32
push eax
call fcn.100335fc
pop ecx
call eax
cmp eax, ebx
je 0x1003e9ff
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10054848]
call fcn.100335fc
pop ecx
call eax
test eax, eax
je 0x1003e9ff
test byte [ebp - 0x18], 1
jne 0x1003ea32
lea eax, [ebp - 0xc]
push eax
call fcn.1003335a
pop ecx
test eax, eax
je 0x1003ea1a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003185a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1003ea29
or dword [ebp + 0x10], 0x200000
jmp 0x1003ea63
or dword [ebp + 0x10], 0x40000
jmp 0x1003ea63
mov eax, dword [0x1005483c]
cmp eax, esi
je 0x1003ea63
push eax
call fcn.100335fc
pop ecx
call eax
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1003ea63
mov eax, dword [0x10054840]
cmp eax, esi
je 0x1003ea63
push dword [ebp - 4]
push eax
call fcn.100335fc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10054838]
call fcn.100335fc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403e00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x45900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e4], edx
mov edi, ecx
mov esi, dword [ebp + 8]
test edi, edi
je 0x404020
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004047b0
push 1
push ecx
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2e0], 0x5c
call fcn.00404530
mov ecx, eax
cmp ecx, 0xffffffff
je 0x403eae
cmp dword [ebp - 0x1c], ecx
jae 0x403e9a
push str.invalid_string_position
call fcn.00417e83
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [esi + 0x14], 8
jb 0x403eb6
mov esi, dword [esi]
lea eax, [ebp - 0x2dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40400b
nop
test byte [ebp - 0x2dc], 0x10
jne 0x403fee
push 0x44c714
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.004051a0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00405290
mov esi, eax
mov edx, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x5c]
push 0x44c714
mov byte [ebp - 4], 2
call fcn.004051a0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00405290
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x403f44
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x403f4c
mov ecx, dword [ecx]
mov eax, dword [edi]
push esi
push ecx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x403f6a
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404a40
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x403f93
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404a40
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x403fbc
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00404a40
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x403fee
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00404a40
lea eax, [ebp - 0x2dc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403ed0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x404020
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00417f51
mov esp, ebp
pop ebp
ret
Function at 0x4055c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4055e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x405920
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret 0x28

Function at 0x4059f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x405ad0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 8

Function at 0x405c90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4067f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esp, ebp
pop ebp
ret 8
Function at 0x407914
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x3c
mov eax, 0x43d046
call fcn.00435dea
mov ebx, ecx
and dword [ebp - 4], 0
push 0xfa00
call fcn.00418557
mov edi, eax
mov dword [esp], 0x44d600
lea ecx, [ebp - 0x30]
call fcn.00404330
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.00404430
cmp dword [eax], 2
jbe 0x40798f
push 2
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.004040e0
mov byte [ebp - 4], 2
push 0x44d60c
mov ecx, eax
call fcn.00407b00
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00404040
test esi, esi
jne 0x40798f
push 0x44b6b8
lea ecx, [ebp - 0x30]
call fcn.00404260
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00404fa0
push 0
push edi
push 0x7d00
lea ecx, [ebp - 0x30]
call fcn.00404150
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
dec eax
cmp eax, 0x7cfe
ja 0x4079be
push edi
jmp 0x4079c7
lea ecx, [ebp - 0x30]
call fcn.00404150
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
push edi
call fcn.00418560
pop ecx
cmp ebx, 0xffffffff
jne 0x4079e9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00404040
jmp 0x407a08
test bl, 0x10
jne 0x4079db
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00404040
mov al, 1
jmp 0x407a0a
xor al, al
call fcn.00435d37
ret

Function at 0x407a10
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x7c
mov eax, 0x43d076
call fcn.00435d7c
mov esi, ecx
push ecx
push ecx
push 0x1ac
push str.NGUtils::CFileUtils::DeleteFileW
push 0x45b29c
push dword [0x45b2ec]
lea ecx, [ebp - 0x88]
call fcn.0041196b
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00404150
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407aa2
test bl, 1
je 0x407abb
and ebx, 0xfffffffe
mov ecx, esi
push ebx
call fcn.00404150
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x407abb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
mov ecx, esi
call fcn.00404150
push eax
push str.::SetFileAttributes__s__0x_X___error_d
push 0x1bb
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00411c47
add esp, 0x1c
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004119d4
mov al, bl
call fcn.00435d26
ret
mov ecx, esi
call fcn.00404150
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x407afc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00404150
push eax
push str.::DeleteFile__s___error_d
push 0x1c2
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00411c47
add esp, 0x18
jmp 0x407aa2
mov bl, 1
jmp 0x407aa4
Function at 0x408521
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
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 0x40854e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
dec ebp
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
invalid
inc ebp
invalid

Function at 0x408631
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cdq
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [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.00408270
push eax
push esi
push dword [ebp + 8]
call fcn.00408225
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.00408270
sti
invalid
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.00408225
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00408260
fsub st(4)
and eax, 0x7c9d88a5
invalid
Function at 0x409625
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x40a3f3
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004081d1
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x40966d
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4096b6
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x409660
call fcn.00408260
inc edx
imul ebx, dword [eax - 0x2b5a7ff7], 0xfffff8
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
test ebx, ebx
clc
invalid
dec dword [ecx - 0x3a]
test esp, ebx
clc
invalid
dec dword [eax - 0x3a]
test ebp, ebx
clc
invalid
call [esi + eax*8 - 0x7b]
fdivp st(0)
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
jmp [ebp - 0x3a]
test eax, esp
clc
invalid
dec dword [edi - 0x3a]
test ecx, esp
clc
invalid
call dword [edx - 0x3a]
test edx, esp
clc
invalid
dec dword [ecx - 0x3a]
test ebx, esp
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp
clc
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
push dword [eax + edx*4]
movsb byte es:[edi], byte [esi]
out 0x8d, eax
test esp, edx
clc
invalid

Function at 0x409def
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00408270
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.004081d1
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x40a1d8
Function at 0x40c119
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
push esi
push edi
mov esi, ecx
lea eax, [ebx - 1]
cmp eax, 7
jbe 0x40c135
mov dword [esi + 0x6afa4], str.bad_pack_level
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x40c159
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0041a220
movzx eax, word [ebx*8 + 0x44d002]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x44d000]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x44d004]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x44d006]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x40c1bc
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x40c1c7
cmp ebx, 8
jl 0x40c1c7
mov eax, dword [ebp + 8]
or word [eax], cx
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x40c22e
cmp eax, 0xffffffff
je 0x40c22e
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x40c209
mov ecx, esi
call fcn.0040c3ea
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x40c211
jmp 0x40c23e
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40d0de
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x40d0e9
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x40d1a5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
sub edi, 1
jne 0x40d0fe
pop edi
test esi, esi
je 0x40d1c1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x44cc00]
inc edx
sub esi, 1
jne 0x40d1a9
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x40d7c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x40d812
mov eax, dword [edi + 0x74]
mov esi, dword [edi + 0x70]
cmp eax, esi
jae 0x40d84d
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push dword [ebp + 8]
call fcn.004364e0
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x60]
add dword [edi + 0x74], esi
add dword [edi + 0x5c], esi
push esi
call fcn.0040d0de
add esp, 0x10
mov dword [edi + 0x60], eax
mov eax, esi
jmp 0x40d84f
cmp dword [edi + 0x64], 0
je 0x40d846
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40d84d
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x60]
add dword [edi + 0x5c], esi
push esi
call fcn.0040d0de
pop ecx
jmp 0x40d80b
mov dword [edi + 0x10], 0x1000000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x40da37
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x45900c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x64], eax
lea ebx, [esi + 0x58]
mov dword [esi + 0x6c], eax
mov byte [esi + 0x68], al
mov dword [esi + 0x60], eax
mov dword [ebx], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x5c], eax
test edi, edi
je 0x40db31
cmp edi, 0xffffffff
je 0x40db31
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x40dabc
lea eax, [esi + 0x50]
mov ecx, edi
push eax
lea eax, [esi + 0x38]
push eax
push ebx
lea edx, [esi + 0x30]
call fcn.0040d34d
add esp, 0xc
test eax, eax
jne 0x40db36
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [esi + 0x54], 1
mov dword [esi + 0x64], edi
xor eax, eax
jmp 0x40db36
or dword [ebx], 0xffffffff
lea eax, [esp + 0x1c]
push eax
mov dword [esi + 0x30], SysStringLen
mov byte [esi + 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0040d28e
pop ecx
pop ecx
mov ecx, edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], ecx
movzx ecx, word [esp + 0xc]
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
movzx eax, word [esp + 0x10]
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x3c], edx
mov dword [esi + 0x50], ecx
jmp 0x40dab5
mov eax, 0x10000
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00417f51
mov esp, ebp
pop ebp
ret 8