joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40704c], 1
mov dword [0x407050], 1
mov dword [0x407054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x4018f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00402910
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00402910
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x4024cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x4024eb
mov eax, 0
jmp 0x40252f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40250e
mov eax, 0
jmp 0x40252f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40252a
mov eax, 0
jmp 0x40252f
mov eax, 1
leave
ret
Function at 0x402531
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x402590
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402588
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402588
mov eax, dword [ebp - 4]
jmp 0x4025a4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402565
mov eax, 0
leave
ret

Function at 0x4029d4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [esp], 1
call fcn.00401608
mov dword [esp], str.FORCE_LLD_DIAGNOSTICS_CRASH
call sub.msvcrt.dll_getenv
test eax, eax
je 0x402a39
call fcn.00401600
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
sub ecx, edx
cmp ecx, 0x40
ja 0x402a25
mov dword [esp + 4], 0x41
mov ecx, eax
mov dword [esp], str.crashing_due_to_environment_variable_FORCE_LLD_DIAGNOSTICS_CRASH_n
call fcn.00401660
push eax
push eax
jmp 0x402a37
mov esi, str.crashing_due_to_environment_variable_FORCE_LLD_DIAGNOSTICS_CRASH_n
mov ecx, 0x41
mov edi, edx
rep movsb byte es:[edi], byte [esi]
add dword [eax + 0x10], 0x41
ud2
mov eax, dword [ebp + 8]
shl eax, 2
sar eax, 2
mov dword [ebp - 0x54], eax
call fcn.00402b34
test eax, eax
jne 0x402a9c
lea edi, [ebp - 0x40]
mov esi, 0x404020
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
call fcn.00401600
mov ebx, eax
call fcn.004015f8
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
call fcn.004015c8
jmp 0x402abb
call fcn.00401648
xor ebx, ebx
call fcn.00402b34
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0x4c], eax
jmp 0x402ac8
cmp byte [ebp - 0x4d], 0
je 0x402abf
cmp eax, ebx
je 0x402abf
mov ebx, eax
jmp 0x402b29
dec dword [ebp - 0x4c]
mov ebx, eax
mov byte [ebp - 0x4d], 1
cmp dword [ebp - 0x4c], 0
je 0x402b29
lea edi, [ebp - 0x40]
mov esi, 0x404020
mov ecx, 0xa
cmp dword [ebp - 0x4c], 1
rep movsd dword es:[edi], dword [esi]
setne byte [sym.imp.liblldCommon.dll_lld::inTestOutputDisabled]
lea edi, [ebp - 0x40]
call fcn.00401600
mov esi, eax
call fcn.004015f8
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
call fcn.004015b8
test dl, dl
jne 0x402ab1
mov dword [esp], eax
call fcn.004015c0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402b34
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov dword [esp], str.LLD_IN_TEST
call sub.msvcrt.dll_getenv
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402b57
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea edx, [ebp - 0x10]
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00401640
mov edx, eax
xor eax, eax
test dl, dl
jne 0x402b82
cmp dword [ebp - 0xc], 0
cmove eax, dword [ebp - 0x10]
add esp, 0x24
pop ebx
pop ebp
ret
Function at 0x1000304b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10008310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001f9e
and dword [ebp - 0x14], 0
cmp dword [0x1000941c], 0
mov dword [ebp - 0x18], eax
jne 0x100030fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100031a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100031a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000941c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009420], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10009424], eax
call edi
push eax
call esi
mov dword [0x1000942c], eax
test eax, eax
je 0x100030fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009428], eax
mov eax, dword [0x10009428]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10003157
cmp dword [0x1000942c], ecx
je 0x10003157
push eax
call esi
push dword [0x1000942c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10003157
test ebx, ebx
je 0x10003157
call edi
test eax, eax
je 0x1000314e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000314e
test byte [ebp - 8], 1
jne 0x10003157
or dword [ebp + 0x10], 0x200000
jmp 0x1000318a
mov eax, dword [0x10009420]
cmp eax, dword [ebp - 0x18]
je 0x1000318a
push eax
call esi
test eax, eax
je 0x1000318a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000318a
mov eax, dword [0x10009424]
cmp eax, dword [ebp - 0x18]
je 0x1000318a
push eax
call esi
test eax, eax
je 0x1000318a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000941c]
call esi
test eax, eax
je 0x100031a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100031a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100033b6
leave
ret

Function at 0x100033b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10008310]
jne 0x100033c0
repz ret
jmp fcn.10004626

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c838
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407077
mov dword [ebp - 0x14], eax
cmp dword [0x44b414], esi
jne 0x40c92b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c8b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ca0b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ca0b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ca0b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44b414], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44b418], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44b41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44b424], eax
test eax, eax
je 0x40c928
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44b420], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c950
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c943
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c965
push 4
pop eax
jmp 0x40ca0d
cmp dword [ebp - 0x14], esi
je 0x40c965
push dword [0x44b414]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c94a
mov eax, dword [0x44b420]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c9c3
cmp dword [0x44b424], edi
je 0x40c9c3
push eax
call ebx
push dword [0x44b424]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c9c3
test eax, eax
je 0x40c9c3
call ecx
test eax, eax
je 0x40c9b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c9b8
test byte [ebp - 8], 1
jne 0x40c9c3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c9f3
mov eax, dword [0x44b418]
cmp eax, edi
je 0x40c9f0
push eax
call ebx
test eax, eax
je 0x40c9f0
call eax
mov esi, eax
test esi, esi
je 0x40c9f0
mov eax, dword [0x44b41c]
cmp eax, edi
je 0x40c9f0
push eax
call ebx
test eax, eax
je 0x40c9f0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44b414]
call ebx
test eax, eax
je 0x40ca0b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ca0d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f8b
mov esp, ebp
pop ebp
ret
Function at 0x10004b26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10004b35
pop dword [ebp - 0x18]
mov eax, 0x986dfe9
add eax, 0x6796b4c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7eff66f5
add dword [ebp - 0x28], 0xcf52de56
mov dword [ebp - 0x24], 0x4847062
sub dword [ebp - 0x24], 0xd251241d
mov dword [ebp - 0x20], 0x9b07f5e
sub dword [ebp - 0x20], 0xbd643b30
mov dword [ebp - 0x1c], 0x5df9c15e
sub dword [ebp - 0x1c], 0x5df9c15e
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x99693dec
sub dword [ebp - 0x28], 0x24f6d496
mov dword [ebp - 0x24], 0x3f9f628c
add dword [ebp - 0x24], 0x1ccfee9
mov dword [ebp - 0x20], 0xddc5baeb
add dword [ebp - 0x20], 0x85a9b181
mov dword [ebp - 0x1c], 0x723b3a91
add dword [ebp - 0x1c], 0x8dc4c56f
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b477
push 0
call eax
mov ecx, 0x5060
mov esi, eax
mov edx, 0x4fbeada2
add edx, 0xc042605e
add edx, dword [ebp - 0x18]
mov ebx, 0xcc98aeed
add dword [ebp - 0x14], edi
mov edi, dword [edx]
xor dword [ebp - 0xc], 0x26a0a254
sub edi, ebx
mov dword [ebp - 4], 0x7c4f7e4f
mov dword [esi], edi
add esi, 0x9f45cd2c
sub esi, 0x9f45cd28
add edx, 0xf10b28f2
add edx, 0xef4d712
loop 0x10004c41
add eax, 0xb9ea001a
sub eax, 0xb9e8cbc7
xor ebx, ebx
add ebx, eax
add eax, 0x591ecb42
add eax, 0xa6e134c3
mov ecx, 0x704873d5
sub ecx, 0x604873d5
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x1000a303
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001464]
jne 0x1000a734
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1000e810], eax
mov dword [0x1000e80c], ecx
mov dword [0x1000e808], edx
mov dword [0x1000e804], ebx
mov dword [0x1000e800], esi
mov dword [0x1000e7fc], edi
mov word [0x1000e828], ss
mov word [0x1000e81c], cs
mov word [0x1000e7f8], ds
mov word [0x1000e7f4], es
mov word [0x1000e7f0], fs
mov word [0x1000e7ec], gs
pushfd
pop dword [0x1000e820]
mov eax, dword [ebp]
mov dword [0x1000e814], eax
mov eax, dword [ebp + 4]
mov dword [0x1000e818], eax
lea eax, [ebp + 8]
mov dword [0x1000e824], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1000e760], 0x10001
mov eax, dword [0x1000e818]
mov dword [0x1000e714], eax
mov dword [0x1000e708], 0xc0000409
mov dword [0x1000e70c], 1
mov eax, dword [0x10001464]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1000dc94]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1000e758], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x1000146c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1000e758], 0
jne 0x1000a820
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x40895c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
mov edi, edi
add esi, esi
call fcn.00408998
sub esi, 0x4dd5fe2f
sub edi, 0xa1af7135
xor dword [edx], ecx
or esi, edi
add esi, esi
inc edx
add esi, 0x4635b56c
cmp edx, ebx
jne fcn.0040895c
add edi, esi
add esi, 0xf0eb32a
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x477a60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x63000]
push edi
jmp 0x477a7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x477a81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477a70
mov eax, 1
add ebx, ebx
jne 0x477a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x477aa4
jne 0x477ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477ac3
dec eax
add ebx, ebx
jne 0x477ab0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x477a88
add ebx, ebx
jne 0x477abf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x477b15
xor ecx, ecx
sub eax, 3
jb 0x477adb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x477b4a
sar eax, 1
mov ebp, eax
jmp 0x477ae6
add ebx, ebx
jne 0x477ae6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477ab4
inc ecx
add ebx, ebx
jne 0x477af4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477ab4
add ebx, ebx
jne 0x477b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x477af6
jne 0x477b12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x477af6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x477b34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x477b26
jmp 0x477a76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x477b34
add edi, ecx
jmp 0x477a76
pop esi
mov edi, esi
mov ecx, 0x2d3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x477b52
cmp byte [edi], 1
jne 0x477b52
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 0x477b57
lea edi, [esi + 0x75000]
mov eax, dword [edi]
or eax, eax
je 0x477bcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xabb98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xabc10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x477b84
mov ecx, edi
jns 0x477bb3
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 + 0xabc14]
or eax, eax
je 0x477bc9
mov dword [ebx], eax
add ebx, 4
jmp 0x477ba1
call dword [esi + 0xabc24]
mov ebp, dword [esi + 0xabc18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x477c03
sub esp, 0xffffff80
jmp 0x40b10f
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x598a6a6f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, str.d_f_
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3e2446c4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x410541
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00403cc1
jge 0x404935
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
adc al, 0xe8
and eax, 0x83fffff3
les ecx, [ecx + ecx*4]
test esp, eax
invalid
cld
invalid
invalid
call fcn.00403cb1
push edi
xor al, 0xda
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4049a5
cmp dword [ebp - 0x398], 0
je 0x404b6f
cmp dword [ebp + 0xc], 1
push esi
mov esi, ecx
call fcn.004105c1
mov ecx, esi
pop esi
jmp 0x40491c

Function at 0x410686
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x44a1f8]
test esi, esi
jne 0x4106a4
mov ecx, 0x44a1f0
call fcn.00410611
mov esi, dword [0x44a1f8]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
and eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x4106ef
test esi, esi
je 0x410713
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x434278]
call esi
test eax, eax
jne 0x410737
push str.CryptProtectMemory_failed
mov esi, 0x4430c4
push esi
call fcn.004076c9
pop ecx
pop ecx
mov ecx, esi
call fcn.00407851
push 2
mov ecx, esi
call fcn.004076c4
jmp 0x410737
mov esi, dword [0x44a1fc]
test esi, esi
je 0x410713
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x434278]
call esi
test eax, eax
jne 0x410737
push str.CryptUnprotectMemory_failed
jmp 0x4106d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x410736
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x4b]
add al, dl
lea ecx, [edx + esi]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x410726
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x403610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
xor eax, eax
cmp ebx, eax
jne 0x403639
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push eax
push eax
push ebx
call fcn.0041a5f7
push ebx
call fcn.00419d71
add esp, 0x14
push 0
push 0
push 0
push ebx
mov esi, eax
mov dword [ebp - 4], edx
call fcn.0041a5f7
mov eax, dword [ebp - 4]
xor ecx, ecx
add esp, 0x10
cmp eax, ecx
jg 0x403685
jl 0x40366f
cmp esi, ecx
jae 0x403685
mov eax, 2
mov dword [edi], eax
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, esi
jne 0x40368d
cmp ecx, eax
je 0x4036a3
mov eax, 3
mov dword [edi], eax
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 2]
push eax
call dword [0x4b0708]
mov ebx, eax
xor eax, eax
add esp, 4
cmp ebx, eax
jne 0x4036cd
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], 3
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push 1
push ebx
call fcn.0041ab3a
add esp, 0x10
cmp eax, esi
je 0x403702
push ebx
call dword [0x4b070c]
add esp, 4
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], 2
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
xor eax, eax
call fcn.00401d10
add esp, 8
cmp eax, 2
je 0x403718
cmp eax, 3
jne 0x403724
shr esi, 1
xor edx, edx
mov word [ebx + esi*2], dx
lea esi, [esi + esi + 2]
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push 1
push 1
push 0x74
push ecx
push ecx
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.00403510
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [eax + 0x14], 8
push esi
jb 0x40872b
mov ecx, dword [eax]
jmp 0x40872d
mov ecx, eax
mov edx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x408752
lea esp, [esp]
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x408740
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.0041b47a
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x40877c
add eax, 0x7fffffff
pop esi
ret