joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaf21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00af2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00af2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00af2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00af2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xaf2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xaf2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb0487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xaf2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xaf2c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4069b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x12c
push 0x40a8d4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x6f
push 0x409d6c
push 0x409d78
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
push 0x409d8c
push 0x409d90
push 0x409d94
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
push 0x409dcc
push 0x409da0
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeA]
push 0x409de8
call dword [sym.imp.SHLWAPI.dll_PathGetArgsA]
push 0x409df8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x406a44
push 0x409e04
call dword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
je 0x406a44
push 0x409e10
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathA]
push 0x409e1c
push 0x409e24
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootA]
push 0x51
call dword [sym.imp.SHLWAPI.dll_PathGetCharTypeA]
test eax, eax
jne 0x406a57
xor eax, eax
jmp 0x406ae4
push 0x409e30
call dword [sym.imp.SHLWAPI.dll_PathSkipRootA]
cmp byte [eax + 3], 0x6e
jne 0x406a50
push esi
mov esi, 0x350
push 0x44
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x406a82
push 0x70
call dword [sym.imp.USER32.dll_IsCharUpperA]
dec esi
jne 0x406a6e
mov ecx, 0xbc102
mov esi, 0x153e05
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
add edx, ecx
mov eax, 0x63872
xor edx, eax
mov dword [ebp + 0xc], edx
mov dword [0x409d68], 0x405720
mov edx, dword [ebp + 8]
add edx, ecx
xor edx, eax
mov dword [ebp + 8], edx
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
xor edx, eax
sub edx, ecx
push edx
mov edx, dword [ebp + 8]
xor edx, eax
mov eax, dword [0x409d68]
sub edx, ecx
push edx
call eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
test eax, eax
jne 0x406a50
mov eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x447ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37000]
push edi
jmp 0x447afa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x447b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x447af0
mov eax, 1
add ebx, ebx
jne 0x447b13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x447b08
jne 0x447b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x447b08
xor ecx, ecx
sub eax, 3
jb 0x447b38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x447baa
mov ebp, eax
add ebx, ebx
jne 0x447b43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x447b50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x447b74
inc ecx
add ebx, ebx
jne 0x447b60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x447b55
jne 0x447b71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x447b55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x447b94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x447b85
jmp 0x447af6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x447b94
add edi, ecx
jmp 0x447af6
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x447bb2
cmp byte [edi], 0x12
jne 0x447bb2
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 0x447bb7
lea edi, [esi + 0x45000]
mov eax, dword [edi]
or eax, eax
je 0x447c2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6948c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6956c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x447be4
mov ecx, edi
jns 0x447c13
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 + 0x69574]
or eax, eax
je 0x447c29
mov dword [ebx], eax
add ebx, 4
jmp 0x447c01
call dword [esi + 0x69570]
mov ebp, dword [esi + 0x69578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x447c63
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x402720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x206
mov dword [ebp - 0xc], 1
test edi, edi
je 0x402786
test esi, esi
je 0x402786
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402786
lea ecx, [ebp - 4]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 8]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402786
mov eax, dword [ebp - 4]
shr eax, 1
cmp word [esi + eax*2], 0
je 0x40278c
xor ecx, ecx
mov word [esi + eax*2], cx
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4027a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test esi, esi
je 0x4027fb
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4027fb
lea ecx, [ebp - 8]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.JHI_LOG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x402801
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x402820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push reloc.MSVCP100.dll__setbuf___basic_streambuf_DU__char_traits_D_std___std__MAEPAV12_PAD_J_Z
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402879
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push eax
push str.JHI_SERVICE_PORT
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40286f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x501
mov esp, ebp
pop ebp
ret
Function at 0x402890
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push reloc.MSVCP100.dll__setbuf___basic_streambuf_DU__char_traits_D_std___std__MAEPAV12_PAD_J_Z
push 0
push 0x41b44c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4028e9
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push eax
push str.JHI_ADDRESS_TYPE
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4028df
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x501
mov esp, ebp
pop ebp
ret
Function at 0x402e80
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419810
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x48]
mov esi, ecx
call fcn.004034f0
mov ecx, esi
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00403660
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x402ed9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll__wremove]
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], edi
jae 0x402eee
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x402ef9
lea eax, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wrename]
add esp, 8
test eax, eax
je 0x402f42
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x402f1c
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x402f3e
mov edx, dword [ebp - 0x48]
push edx
call esi
add esp, 4
xor al, al
jmp 0x402f9f
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, esi
mov ecx, ebx
call fcn.00403840
mov dword [eax], 2
mov ecx, dword [ebx + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x402f7b
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x402f9d
mov ecx, dword [ebp - 0x48]
push ecx
call esi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417cae
mov esp, ebp
pop ebp
ret
Function at 0x40a370
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x421018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 4
mov dword [esi], vtable.intel_dal::ICommandsServer.0
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x40a3c3
push 0
push 0xa
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [edi], eax
jmp 0x40a3c5
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov byte [esi + 4], 0xa
lea edi, [esi + 0x10]
push edi
mov dword [ebp - 4], 0
push 0x202
mov dword [esi], vtable.intel_dal::CommandsServerSocketsWin32.0
mov dword [esi + 0x1a0], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40a41e
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], str.WSAStartup_failed
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x41d194
lea edx, [ebp - 0x18]
push edx
call sub.MSVCR100.dll__CxxThrowException
cmp byte [edi], 2
jne 0x40a43e
cmp byte [edi + 1], 2
jne 0x40a43e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], str.Could_not_find_a_usable_version_of_Winsock.dll
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x41d194
lea ecx, [ebp - 0x18]
push ecx
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x40a760
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1a0], 0xffffffff
je 0x40a7ff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x1a0]
push 0
push 0
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a7ed
call fcn.0040a9c0
push 0
test eax, eax
jne 0x40a7b9
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x40a7e0
push 0
push eax
mov dword [eax], edi
mov edx, dword [esi + 0xc]
push 0x40a810
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
push 0
push 0
mov dword [eax + 8], ecx
call ebx
test eax, eax
je 0x40a7e0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x1a0], 0xffffffff
jne 0x40a778
pop edi
pop ebx
pop esi
ret
mov edx, dword [esi + 8]
mov eax, dword [edx]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop ebx
pop esi
ret
Function at 0x410e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4192d6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x421018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x14]
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], 0
call fcn.00401f40
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
lea edx, [edi + 0x38]
push edx
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x34], ecx
call fcn.00412e40
lea edx, [esi + 0x44]
lea ecx, [edi + 0x44]
push edx
mov byte [ebp - 4], 1
call fcn.004131d0
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4131d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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.00412dfc
push eax
push esi
push dword [ebp + 8]
call fcn.00412db1
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.00412dfc
push eax
push esi
push dword [ebp + 8]
call fcn.00412db1
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00412dec
mov esp, 0x8814383e
popfd
jl 0x413271
invalid
invalid

Function at 0x413450
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4134a0
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41349b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x413485
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41348d
cmp edx, ebx
jne 0x4135db
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41345c
add eax, dword [eax + 4]
jmp 0x413449
mov dword [ebp + 0xc], ebx
jmp 0x4134ab
Function at 0x413520
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4134c3
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4134e1
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
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]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41353f
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 0x413526
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41352f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x413539
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41351b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4134a5
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41358c
dec eax
je 0x413583
sub eax, 3
je 0x41357a
mov dword [ebp - 4], 0x40
jmp 0x4135a9
mov dword [ebp - 4], 4
jmp 0x41358f
mov dword [ebp - 4], 0x20
jmp 0x41358f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4135db
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41355b
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00412dec
pop es
out dx, eax
push 0x1475ffc9
push 1
push esi
call edi
mov eax, esi
jmp 0x4135e7
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
das
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00412dfc
pop ecx
push eax
push dword [ebp + 0x18]
invalid
invalid
Function at 0x4153a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a216
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x422b68], 1
mov esi, ecx
jne 0x4153ef
or dword [0x422b68], 1
call fcn.0040d2d0
push 0x41a960
call fcn.00417dd5
add esp, 4
cmp byte [0x422b78], 0
je 0x415416
push 0x4010
push str.JHISVC
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d____s__FN:__08x_n
call fcn.00401000
add esp, 0x10
mov ecx, esi
call fcn.00415100
mov edi, eax
xor eax, eax
mov dword [ebp - 0x68], edi
cmp edi, eax
je 0x415434
cmp edi, 0x402
jne 0x41554d
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], eax
mov eax, esi
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415460
sub eax, edx
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x64]
call fcn.00402020
mov byte [ebp - 4], 1
test byte [0x422c14], 1
jne 0x4154a3
or dword [0x422c14], 1
mov byte [ebp - 4], 2
call fcn.00402990
push 0x41a9d0
call fcn.00417dd5
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
lea edi, [ebp - 0x48]
xor bl, bl
call fcn.00403660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x4154c4
lea eax, [ebp - 0x48]
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess_s]
add esp, 8
test eax, eax
jne 0x4154e6
push eax
lea edx, [ebp - 0x48]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.00401ce0
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x34], edi
jb 0x4154fa
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
cmp dword [ebp - 0x50], 0x10
jb 0x415509
mov ecx, dword [ebp - 0x64]
push ecx
call esi
add esp, 4
test bl, bl
je 0x41553c
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x415518
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll__wremove]
add esp, 4
test eax, eax
je 0x415535
cmp dword [ebp - 0x68], 0
jne 0x41553c
mov dword [ebp - 0x68], 0x104
jmp 0x41553c
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x18], edi
jb 0x41554a
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
mov edi, dword [ebp - 0x68]
test byte [0x422b68], 1
jne 0x41556f
or dword [0x422b68], 1
call fcn.0040d2d0
push 0x41a960
call fcn.00417dd5
add esp, 4
cmp byte [0x422b78], 0
je 0x415597
push edi
push 0x4011
push str.JHISVC
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d____s__FN:__08x_RET:_0x_08x_n
call fcn.00401000
add esp, 0x14
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417cae
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x45b23a05
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x27d040b1
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219