joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3ab0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x324
mov eax, dword [0x4f195c]
mov edx, dword [esp + 0x344]
xor eax, esp
mov dword [esp + 0x320], eax
test edx, edx
je 0x4a3ad9
mov dword [edx], 0
lea eax, [esp]
push 0x1c
push eax
push dword [esp + 0x340]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [esp + 0x33c]
test eax, eax
jne 0x4a3b1a
mov byte [edi], 0
mov ecx, dword [esp + 0x320]
xor ecx, esp
cmp ecx, dword [0x4f195c]
jne 0x4a3ba1
add esp, 0x324
pop ebp
pop ebx
pop edi
pop esi
ret
lea esi, [esp + 0x21c]
push 0x104
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a3b54
mov byte [edi], 0
mov ecx, dword [esp + 0x320]
xor ecx, esp
cmp ecx, dword [0x4f195c]
jne 0x4a3ba1
add esp, 0x324
pop ebp
pop ebx
pop edi
pop esi
ret
xor eax, eax
lea ebx, [esp + 0x1c]
lea ebp, [esp + 0x11c]
push ebx
push ebp
push eax
push eax
push esi
call fcn.004b105d
mov esi, dword [esp + 0x354]
push esi
push ebp
push edi
call fcn.004ad650
push esi
push ebx
push edi
call fcn.004afa50
add esp, 0x2c
mov ecx, dword [esp + 0x320]
xor ecx, esp
cmp ecx, dword [0x4f195c]
jne 0x4a3ba1
add esp, 0x324
pop ebp
pop ebx
pop edi
pop esi
ret
call fcn.004a91cc
lea esi, [esi]
lea edi, [edi]
Function at 0x4b5370
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b5030
Function at 0x5072df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00509ac0
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x5073a8
cmp eax, 0xffffffff
je 0x5073a8
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
lea ecx, [ebp - 4]
push ebx
push ecx
mov edi, 0xfffd
lea ecx, [ebp - 0x10010]
push edi
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
push eax
jmp 0x50738d
cmp eax, 0xffff
jae 0x507399
add dword [ebp - 8], eax
mov byte [ebp + eax - 0x10010], bl
push eax
lea eax, [ebp - 0x10010]
push eax
call fcn.005070fe
push dword [ebp - 4]
lea eax, [ebp - 0x10010]
push eax
call fcn.005071eb
add esp, 0x10
add dword [ebp - 0xc], eax
jne 0x50737d
cmp dword [ebp - 8], 0x4b000
ja 0x507399
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x10010]
push edi
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
call esi
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x50733f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
xor eax, eax
pop esi
jmp 0x5073ab
xor eax, eax
inc eax
pop ebx
leave
ret
Function at 0x508574
Capabilities:
Create thread
Resolve dns

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, 0x503dbc
jmp 0x508593
push 0xea60
call dword [sym.imp.KERNEL32.DLL_Sleep]
call fcn.00505bab
test eax, eax
je 0x508588
call fcn.00505808
movzx eax, ax
push 0x64
cdq
pop ecx
idiv ecx
cmp edx, 0x21
jge 0x5085cb
mov ebx, 0x503dac
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x5085e4
mov ebx, 0x503da0
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x5085e4
mov ebx, 0x503d8c
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x5085e4
push ebp
mov ebx, ebp
call edi
mov esi, eax
test esi, esi
je 0x508588
push 0x14
lea eax, [esp + 0x18]
push 0
push eax
call sub.MSVCRT.dll_memset
mov word [esp + 0x24], 2
mov eax, dword [esi + 0xc]
add esp, 0xc
mov eax, dword [eax]
push 0x50
mov eax, dword [eax]
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x3f
mov word [esp + 0x1e], ax
mov dword [esp + 0x18], ebx
pop esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
xor eax, eax
push eax
push ecx
push fcn.005083d7
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
dec esi
jne 0x50861b
lea eax, [esp + 0x14]
push eax
call fcn.005083d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x900
push ebx
push esi
push edi
push 0x27
call fcn.00401fa7
mov esi, dword [ebp + 8]
push dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push dword [esi]
push eax
lea eax, [ebp - 0x900]
push eax
call edi
and dword [ebp + 8], 0
add esp, 0x14
cmp dword [esi + 0x10], 0
jbe 0x401070
lea ebx, [esi + 0x14]
push dword [ebx]
lea eax, [ebp - 0x100]
push str._t0x_p_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x900]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 4
cmp eax, dword [esi + 0x10]
jb 0x40103b
lea eax, [ebp - 0x900]
push eax
call fcn.0040770d
pop ecx
call fcn.00403e3b
push 0xa
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401506
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 8]
call fcn.0041011e
push dword [ebp + 0xc]
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.00401324
push 0x5c
mov ecx, edi
call fcn.00401424
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x401297
push edi
push edi
mov dword [0x41b7a0], esi
mov dword [0x41b7a8], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x41b7e8], 2
mov dword [0x41b7a4], eax
je 0x401563
call fcn.004078d0
push 0xffffffffffffffff
push dword [0x41b7a4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x41b7a8]
cmp eax, edi
mov dword [0x41b85c], edi
je 0x4015b2
cmp eax, 1
je 0x4015a6
cmp eax, 2
je 0x4015a2
cmp eax, 3
je 0x40159e
cmp eax, 0x67
jle 0x401599
cmp eax, 0x6a
jle 0x401616
push eax
push 0x14
jmp 0x4015e9
push 0x12
jmp 0x4015a8
push 0x13
jmp 0x4015a8
push 0x11
push edi
call fcn.004077db
pop ecx
pop ecx
jmp 0x401616
cmp dword [0x41b864], edi
jne 0x401616
lea eax, [ebp + 8]
push eax
push dword [0x41b7a4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov ecx, dword [ebp + 8]
je 0x4015d9
cmp ecx, edi
jne 0x4015d9
xor eax, eax
jmp 0x40161b
mov eax, 0x80070000
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x4015ec
push ecx
push 0x21
push edi
jmp 0x40160e
and ecx, 0xffff
cmp ecx, 0xe
jne 0x401600
cmp dword [0x41b7ec], 0xffffffff
je 0x401616
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
push 0x22
push 1
call fcn.004077db
add esp, 0xc
mov eax, 0x80004005
pop edi
pop esi
leave
ret 8

Function at 0x401981
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4019c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xb7
cmp eax, esi
je 0x4019ac
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4019c2
test al, 0x10
jne 0x4019c2
push esi
jmp 0x4019a2
xor eax, eax
inc eax
pop esi
ret
Function at 0x401fa7
Capabilities:
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp dword [0x41b068], ebx
je 0x401fda
mov eax, 0x41b068
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
je 0x401fda
inc esi
mov eax, esi
shl eax, 4
lea eax, [eax + 0x41b068]
cmp dword [eax], ebx
jne 0x401fc3
shl esi, 4
cmp dword [esi + 0x41b068], ebx
jne 0x401fef
mov eax, 0x417444
jmp 0x402161
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x68]
push str.7zSfxString_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x68]
push eax
call ebx
mov dword [ebp - 4], eax
call edi
test eax, eax
jne 0x40209f
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
add eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x68]
push eax
call ebx
cmp eax, dword [ebp - 4]
ja 0x402096
call edi
test eax, eax
jne 0x402096
mov eax, dword [esi + 0x41b074]
test eax, eax
je 0x40208b
mov edi, dword [ebp - 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402088
push dword [esi + 0x41b074]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x41b074], edi
jmp 0x40209e
push edi
jmp 0x402099
mov eax, dword [ebp - 8]
mov dword [esi + 0x41b074], eax
jmp 0x40209f
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x41b074]
test eax, eax
jne 0x402160
mov ebx, dword [esi + 0x41b06c]
lea edi, [esi + 0x41b070]
cmp dword [edi], eax
je 0x4020d5
call fcn.00401f51
cmp eax, dword [0x418140]
jne 0x4020d5
mov ebx, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [0x41b064], 0xffffffff
pop ecx
mov dword [esi + 0x41b074], eax
jne 0x402140
and dword [0x41b064], 0
push 0x1f
lea eax, [ebp - 0xa8]
push eax
movzx eax, word [0x41b7ac]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x402140
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [0x41b064], eax
lea eax, [edi + 1]
push eax
push dword [esi + 0x41b074]
push edi
push ebx
push 0
push dword [0x41b064]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi + 0x41b074]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402459
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0
jne 0x402469
xor eax, eax
leave
ret
test byte [0x41b7ec], 2
mov dword [ebp - 0x40], 0x40
jne 0x4024be
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4024be
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp ecx, eax
ja 0x4024be
jb 0x40249a
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 8]
jae 0x4024be
push 0x2b
call fcn.00401fa7
push eax
call fcn.0040777c
cmp eax, 1
pop ecx
pop ecx
je 0x4024b7
or dword [0x41b7ec], 0xffffffff
jmp 0x402465
or dword [0x41b7ec], 2
xor eax, eax
inc eax
leave
ret

Function at 0x4027c6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0040140c
cmp dword [ebp - 4], 1
jg 0x4027e4
push 1
lea ecx, [ebp - 0xc]
call fcn.00401126
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 1
push dword [ebp - 0xc]
push eax
call esi
test eax, eax
jne 0x402808
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40283f
push ebx
mov ebx, dword [edi]
inc eax
push eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00402534
push eax
push ebx
call esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.00401112
and word [esi + eax*2], 0
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
call fcn.0040135d
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40333c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
lea ecx, [ebp - 0x18]
mov ebx, eax
mov dword [ebp - 4], eax
call fcn.004024fb
xor esi, esi
cmp dword [ebp - 0x10], esi
jg 0x40336d
push esi
lea ecx, [ebp - 0x18]
call fcn.00401126
movzx eax, word [edi + ebx*2 - 2]
cmp ax, 0x5c
mov edi, dword [ebp - 0x18]
je 0x403381
cmp ax, 0x2f
jne 0x40338a
mov word [edi + ebx*2 - 2], si
dec ebx
mov dword [ebp - 4], ebx
mov esi, ebx
jmp 0x4033b0
movzx eax, word [edi + esi*2]
cmp ax, 0x2f
je 0x4033a3
cmp ax, 0x5c
je 0x4033a3
dec esi
test esi, esi
jg 0x40338e
test esi, esi
je 0x40345f
and word [edi + esi*2], 0
push edi
call fcn.00401981
test eax, eax
pop ecx
je 0x40339f
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4033e7
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00402fdc
test eax, eax
pop ecx
pop ecx
je 0x4033e7
xor esi, esi
jmp 0x403484
push edi
call fcn.00401981
test eax, eax
pop ecx
jne 0x403401
push edi
push 0xc
push 1
call fcn.004077db
add esp, 0xc
jmp 0x4033e0
cmp esi, ebx
jge 0x403453
mov eax, dword [ebp - 4]
sub eax, esi
inc eax
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi*2]
push eax
lea ebx, [edi + esi*2]
push ebx
call sub.MSVCRT.dll_memcpy
xor ecx, ecx
add esp, 0xc
cmp word [ebx], cx
je 0x403439
jmp 0x403438
movzx eax, word [edi + esi*2]
cmp ax, 0x5c
je 0x40343f
cmp ax, 0x2f
je 0x40343f
inc esi
cmp word [edi + esi*2], cx
jne 0x403428
push edi
mov word [edi + esi*2], cx
call fcn.00401981
test eax, eax
pop ecx
je 0x4033f2
cmp esi, dword [ebp - 4]
jl 0x403405
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
pop ecx
inc eax
jmp 0x4034a4
cmp ebx, 2
mov ecx, dword [ebp + 8]
jne 0x40348f
mov ax, word [ecx]
or ax, 0x20
cmp ax, 0x61
jb 0x40348f
cmp ax, 0x7a
ja 0x40348f
cmp word [ecx + 2], 0x3a
jne 0x40348f
xor esi, esi
inc esi
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
jmp 0x4034a4
push ecx
push 0xc
push 1
call fcn.004077db
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40657f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00406532
add esp, 0x1c
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8e135c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1362
pop ebp
sub ebp, 6
sub ebp, 0x4e135c
jmp 0x8e13c0
add byte [edi], dl
add byte [ebx], cl
add byte [eax], ch
add byte [eax], dh
add byte [edi + 0x67], cl
adc byte [edx + esi*4], bh
movsd dword es:[edi], dword [esi]
inc esi
pop ebp
loopne 0x8e1398
sbb byte [eax], ch
jg 0x8e13b8
in al, dx
jbe 0x8e1362
leave
mov al, 0x7a
or eax, dword [ecx]
add byte [eax], al
add byte [edx + 0x6b], dh
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
cli
mov ebp, 0x5cb88a4d
adc ecx, dword [esi]
mov dword [0x7e8877e2], eax
invalid
jmp 0x8e13c9
mov eax, 0x4e135c
add eax, ebp
add eax, 0x93
mov ecx, 0x62f
mov edx, 0x7f564988
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e13e0
jmp 0x8e13f3
loop 0x8e13bd
loopne 0x8e137f
cwde
mov byte [eax - 0x5bbb7720], cl
mov byte [ebx + 0x1d77d848], bh
mov ah, 0xd9
int3
Function at 0x40fe40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40fe62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40fe69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40fe58
mov eax, 1
add ebx, ebx
jne 0x40fe7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40fe70
jne 0x40fe8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fe70
xor ecx, ecx
sub eax, 3
jb 0x40fea0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ff12
mov ebp, eax
add ebx, ebx
jne 0x40feab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40feb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40fedc
inc ecx
add ebx, ebx
jne 0x40fec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40febd
jne 0x40fed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40febd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40fefc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40feed
jmp 0x40fe5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40fefc
add edi, ecx
jmp 0x40fe5e
pop esi
mov edi, esi
mov ecx, 0xb9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ff1a
cmp byte [edi], 2
jne 0x40ff1a
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 eax, ebx
loop 0x40ff1f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40ff8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfdac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfe38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ff4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfe3c]
or eax, eax
je 0x40ff88
mov dword [ebx], eax
add ebx, 4
jmp 0x40ff69
call dword [esi + 0xfe40]
popal
jmp 0x401210
Function at 0x4127c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00411c00
test eax, eax
je 0x41299c
push 0x40e448
call fcn.00411c7c
test eax, eax
je 0x41299c
xor esi, esi
push esi
push esi
push esi
push dword [0x40e450]
call dword [fcn.0040b058]
push esi
push 0x80
push 2
push esi
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [fcn.0040b04c]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41299c
push dword [0x40e454]
push esi
call dword [fcn.0040b06c]
push dword [0x40e454]
mov ebx, eax
push esi
push ebx
call fcn.00414a00
add esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push dword [0x40e454]
push ebx
push dword [0x40e450]
call dword [fcn.0040b054]
test eax, eax
jne 0x41286c
push ebx
call dword [fcn.0040b060]
jmp 0x41299c
lea eax, [ebp - 4]
push esi
push eax
mov edi, dword [fcn.0040b068]
push dword [0x40e454]
push ebx
push dword [ebp - 0xc]
call edi
test eax, eax
push ebx
je 0x412861
mov ebx, dword [fcn.0040b060]
call ebx
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [fcn.0040b04c]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x41299c
push esi
push eax
call dword [0x40b05c]
push eax
push esi
call dword [fcn.0040b06c]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 4]
push esi
push eax
push esi
push dword [ebp + 8]
call dword [0x40b05c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [fcn.0040b054]
test eax, eax
jne 0x4128f2
push dword [ebp + 0xc]
call ebx
jmp 0x41299c
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], eax
call dword [fcn.0040b064]
xor ecx, ecx
cmp dword [ebp - 8], esi
jbe 0x412916
mov eax, dword [ebp + 0xc]
add eax, ecx
xor byte [eax], 0x17
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x412908
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x10]
push 4
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
call edi
test eax, eax
je 0x4128e8
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call edi
push dword [ebp + 0xc]
test eax, eax
je 0x4128eb
call ebx
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call edi
test eax, eax
je 0x41299c
lea eax, [ebp - 4]
push esi
push eax
push 4
push 0x40e454
push ebx
call edi
test eax, eax
je 0x41299c
lea eax, [ebp - 4]
push esi
push eax
push 2
push 0x40b200
push ebx
call edi
test eax, eax
je 0x41299c
lea eax, [ebp - 0x14]
push eax
call fcn.004149b6
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x14]
push 4
push eax
push ebx
call edi
test eax, eax
jne 0x4129a0
xor eax, eax
jmp 0x4129aa
push ebx
call dword [fcn.0040b064]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4129b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
push ebx
push esi
push edi
xor esi, esi
push dword [0x40e460]
push esi
call dword [fcn.0040b06c]
push esi
push esi
push dword [0x40e464]
mov edi, eax
mov dword [ebp - 4], edi
push dword [0x40e450]
call dword [fcn.0040b058]
lea eax, [ebp - 8]
push esi
push eax
push dword [0x40e460]
push edi
push dword [0x40e450]
call dword [fcn.0040b054]
xor eax, eax
cmp dword [0x40e460], esi
jbe 0x412a14
xor byte [eax + edi], 0x17
inc eax
cmp eax, dword [0x40e460]
jb 0x412a07
push 0x100
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00414a00
mov edi, 0x200
lea eax, [ebp - 0x308]
push edi
push esi
push eax
call fcn.00414a00
add esp, 0x18
lea eax, [ebp - 0x308]
push edi
push eax
push esi
call dword [fcn.0040b050]
test eax, eax
je 0x412b70
lea eax, [ebp - 0x108]
push 0x40d100
push eax
call fcn.00414f60
lea eax, [ebp - 0x308]
push eax
call fcn.00414da0
add esp, 0xc
mov ebx, eax
dec ebx
je 0x412abe
cmp byte [ebp + ebx - 0x308], 0x5c
jne 0x412a75
lea eax, [ebp - 0x308]
push eax
call fcn.00414da0
push 0xfffffffffffffffd
pop ecx
sub ecx, ebx
add eax, ecx
push eax
lea eax, [ebp + ebx - 0x308]
push eax
lea eax, [ebp - 0x106]
push eax
call fcn.00414a60
lea eax, [ebp - 0x108]
push 0x40d0fc
push eax
call fcn.00414f60
add esp, 0x18
push esi
push 0x80
push 2
push esi
push 1
lea eax, [ebp - 0x108]
push 0xc0000000
push eax
call dword [fcn.0040b04c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x412b70
lea eax, [ebp - 8]
push esi
push eax
push dword [0x40e460]
push dword [ebp - 4]
push ebx
call dword [fcn.0040b068]
test eax, eax
je 0x412b70
push ebx
call dword [fcn.0040b064]
push dword [ebp - 4]
call dword [fcn.0040b060]
push edi
lea eax, [ebp - 0x508]
push esi
push eax
call fcn.00414a00
lea eax, [ebp - 0x508]
push 0x40d0f0
push eax
call fcn.00414f60
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.00414da0
pop ecx
lea eax, [ebp + eax - 0x508]
push eax
call fcn.00414f60
pop ecx
lea eax, [ebp - 0x508]
pop ecx
push 5
push eax
call dword [0x40b098]
lea eax, [ebp - 0x108]
push eax
call dword [0x40b094]
pop edi
pop esi
pop ebx
leave
ret