joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036f13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10036f5d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036f04
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036f13
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043cbb6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10036f64
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001ddda
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10037003
add edi, 4
add eax, 2
dec ecx
jne 0x10036f49
call 0x10036fb0
loope 0x10036fa6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10037000
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10037011
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10036fc4
cmp eax, ecx
ja 0x10036fc4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003704e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10037044
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e2b9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x436cc6
Capabilities:
Allocate or change rwx memory

Disassembly:
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret
mov eax, dword [ebp - 8]
and eax, 0xffffff80
test al, al
mov dword [ebp - 8], eax
jns 0x436c99
jmp 0x436bdf
test eax, eax
je 0x436bbd
jmp 0x436c46
lea ecx, [ebp - 8]
push ecx
or eax, 0x40
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x436cf7
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x436ce3
jmp 0x436bbd
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x436c66
neg eax
sbb eax, eax
neg eax
leave
ret

Function at 0x436d30
Capabilities:
Get system information on windows

Disassembly:
pop edi
pop ebx
jmp 0x436bd3
and dword [0x436d5d], 0
jmp 0x436ce0
lea eax, [ebp - 4]
push eax
push esi
call fcn.00436c07
jmp 0x436d78
add esi, 0x28
add ebx, 0x28
add edi, 0x28
dec dword [ebp - 4]
jne 0x436d15
jmp 0x436bb6
mov eax, dword [ebp - 0x28]
dec eax
push eax
push esi
call fcn.00436cc6
jmp 0x436bf8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x436c36
pop ecx
pop ecx
jmp 0x436c1f
push ebx
push edi
lea edi, [eax + 0xc]
lea esi, [eax + 8]
lea ebx, [eax + 0x24]
mov dword [ebp - 4], ecx
jmp 0x436d15
pop esi
leave
ret
test byte [ebx + 3], 0x10
jne 0x436c1f
jmp 0x436d61
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, fcn.00436d30
sub esi, dword [fcn.00436d30]
add esi, dword [0x436c95]
cmp dword [0x436d5d], 0
mov dword [ebp - 8], esi
je 0x436ce0
jmp 0x436c73
mov eax, dword [edi]
push dword [esi]
add eax, dword [ebp - 8]
push eax
call fcn.00436cc6
jmp 0x436c8e
mov ecx, dword [ebp - 4]
add esp, 0x10
test ecx, ecx
jbe 0x436bd3
jmp 0x436cb3

Function at 0x401db3
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi + 0x3a], 0
jne 0x401f36
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
mov ax, word [esi + 0x58]
cmp byte [edi + 0x90], 7
mov word [edi + 0x88], ax
mov ax, word [esi + 0x5c]
Function at 0x30012841
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x30002e60
call fcn.30012c70
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x30012881
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x30012881
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x30012899
cmp eax, 0x20b
je 0x30012886
mov dword [ebp - 0x1c], ebx
jmp 0x300128ad
cmp dword [ecx + 0x84], 0xe
jbe 0x30012881
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x300128a7
cmp dword [ecx + 0x74], 0xe
jbe 0x30012881
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x30015694], 0xffffffff
or dword [0x30015698], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x30015670]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x3001566c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x30015690], eax
call fcn.30012be5
call fcn.30012d1a
cmp dword [0x30015080], ebx
jne 0x3001290d
push fcn.30012d04
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.30012cf2
push 0x30015010
push 0x3001500c
call sub.MSVCRT.dll__initterm
push 0x30012c29
call fcn.30012bd3
mov eax, dword [0x30015668]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x30015664]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x30012961
push 8
call sub.MSVCRT.dll__amsg_exit
pop ecx
push 0x30015008
push section..data
call sub.MSVCRT.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x300129df
cmp al, bl
je 0x3001298b
cmp dword [ebp - 0x20], ebx
jne 0x300129df
mov al, byte [esi]
cmp al, bl
je 0x3001299b
cmp al, 0x20
ja 0x3001299b
inc esi
mov dword [ebp - 0x24], esi
jmp 0x3001298b
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x300129b7
movzx eax, word [ebp - 0x54]
jmp 0x300129ba
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.30007a0b
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x300129d7
push esi
call dword [sym.imp.MSVCRT.dll_exit]
call dword [sym.imp.MSVCRT.dll__cexit]
jmp 0x30012a34
cmp al, 0x22
jne 0x300129ee
push edx
push eax
mov dword [ebp - 0x24], esi
call 0x3001e539
mov ebx, eax
mov eax, edx
mov dword [ebp - 0xc], eax
fmul dword [ebx - 0xbba763e]
mov eax, dword [edi + 0xc]
cdq
push 0
push 0x64
push dword [ebp - 0x20]
add ebx, eax
mov eax, dword [ebp - 0xc]
adc eax, edx
push esi
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.30012cab
ret
Function at 0x30012b55
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x30015078]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.30012b55
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [0x30015078]
jne 0x30012b5e
ret
jmp 0x30012a40
Function at 0x459b40
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x208
call fcn.005530f0
mov eax, dword [0x5f8320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x459bb5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x459bb5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x204]
push 0x200
push edx
call fcn.0055b76f
add esp, 0x10
test eax, eax
jge 0x459b98
mov eax, 0x200
push 0
lea ecx, [ebp - 0x208]
push ecx
push eax
lea edx, [ebp - 0x204]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x459cfe
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459bc0
sub eax, edx
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0055b690
mov esi, esp
test esi, esi
jne 0x459be4
mov esi, str.no_stack_
jmp 0x459c6f
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x459c11
test edi, edi
jbe 0x459c11
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
movsx dx, byte [eax + ecx]
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x459c00
xor eax, eax
test edi, edi
jbe 0x459c6f
cmp word [esi + eax*2], 0x25
jne case.0x459c34.43
lea ecx, [esi + eax*2 + 2]
movzx edx, word [ecx]
add edx, 0xffffffd6
cmp edx, 0x49
ja case.0x459c34.43
movzx edx, byte [edx + 0x459d30]
jmp dword [edx*4 + 0x459d18]
inc eax
add ecx, 2
jmp 0x459c22
mov ecx, 0x53
mov word [esi + eax*2 + 2], cx
jmp case.0x459c34.43
mov edx, 0x73
jmp 0x459c65
mov ecx, 0x43
mov word [esi + eax*2 + 2], cx
jmp case.0x459c34.43
mov edx, 0x63
mov word [esi + eax*2 + 2], dx
inc eax
cmp eax, edi
jb 0x459c17
lea eax, [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.00557a46
xor edx, edx
add esp, 0x10
mov word [ebp - 6], dx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x459ce8
call fcn.00459a00
test eax, eax
jle 0x459ce8
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x459cfe
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x204]
push esi
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x459cfe
push 0x10
push str.OpenSSL:_FATAL
lea edx, [ebp - 0x204]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055189a
mov esp, ebp
pop ebp
ret

Function at 0x465440
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [esp + 0x10]
mov eax, edi
and eax, 1
add esi, ecx
add edx, ecx
test ecx, ecx
je 0x465475
push ebx
lea esp, [esp]
movzx ebx, byte [edx - 1]
dec edx
xor ebx, edi
add eax, ebx
dec esi
dec ecx
mov byte [esi], al
shr eax, 8
test ecx, ecx
jne 0x465460
pop ebx
pop edi
pop esi
ret
Function at 0x4763a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0x4763c8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4763d0
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4763b4
test esi, esi
je case.0x476490.2
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x476417
cmp esi, 1
jbe case.0x476490.2
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x476417
cmp esi, 2
jbe case.0x476490.2
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x476417
cmp esi, 3
jbe case.0x476490.2
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle case.0x476490.2
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0x476440
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0x476440
inc edx
inc eax
cmp edx, edi
jl 0x476433
lea eax, [edi - 1]
test eax, eax
jl 0x476461
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
mov edi, edi
cmp byte [ecx + esi], 0
jne 0x476461
cmp byte [ecx], 0xff
jne 0x476461
dec eax
dec ecx
test eax, eax
jge 0x476450
cmp edx, eax
jl case.0x476490.2
jle 0x476472
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja case.0x476490.2
movzx ecx, byte [ecx + 0x476500]
jmp dword [ecx*4 + 0x4764e0]
mov esi, 7
jmp 0x4764c6
mov esi, 6
jmp 0x4764c6
mov esi, 5
jmp 0x4764c6
mov esi, 4
jmp 0x4764c6
mov esi, 3
jmp 0x4764c6
mov esi, 2
jmp 0x4764c6
mov esi, 1
test byte [esp + 0x10], al
jne case.0x476490.2
and bl, al
cmp bl, al
jne case.0x476490.2
lea eax, [esi + edx*8]
pop esi
pop ebp
pop ebx
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x4913b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.005530f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.00459080
mov ebx, eax
push ebx
push esi
call fcn.004591f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x49143c
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x491416
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x491409
mov edi, ebx
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.00459260
push esi
call fcn.00458f20
mov edi, eax
add esp, 0x10
test edi, edi
jbe 0x49143c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.00459080
mov ebx, eax
push ebx
push esi
call fcn.004591f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4914ae
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
push edi
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x491494
mov edx, dword [esp + 0x10]
push ebp
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x491487
mov edi, ebx
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [edi*8]
push ecx
push edi
push esi
call fcn.00459260
push esi
call fcn.00458f20
add esp, 0x10
mov edi, eax
test edi, edi
ja 0x491434
push esi
call fcn.00458f20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4a2330
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x680660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a4000]
mov dword [edi + 0x22134c], 0x5f500e09
push edi
or ebp, 0xffffffff
jmp 0x68068a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x680691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x680680
mov eax, 1
add ebx, ebx
jne 0x6806a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6806b4
jne 0x6806d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6806d3
dec eax
add ebx, ebx
jne 0x6806c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x680698
add ebx, ebx
jne 0x6806cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x680725
xor ecx, ecx
sub eax, 3
jb 0x6806eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x68075a
sar eax, 1
mov ebp, eax
jmp 0x6806f6
add ebx, ebx
jne 0x6806f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6806c4
inc ecx
add ebx, ebx
jne 0x680704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6806c4
add ebx, ebx
jne 0x680711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x680706
jne 0x680722
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x680706
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x680744
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x680736
jmp 0x680686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x680744
add edi, ecx
jmp 0x680686
pop esi
mov edi, esi
mov ecx, 0xe495
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x680762
cmp byte [edi], 0x45
jne 0x680762
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 0x680767
lea edi, [esi + 0x27c000]
mov eax, dword [edi]
or eax, eax
je 0x6807df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2835b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x283794]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x680794
mov ecx, edi
jns 0x6807c3
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 + 0x283798]
or eax, eax
je 0x6807d9
mov dword [ebx], eax
add ebx, 4
jmp 0x6807b1
call dword [esi + 0x2837a0]
mov ebp, dword [esi + 0x28379c]
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 0x680813
sub esp, 0xffffff80
jmp 0x568050
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402a68
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d41c]
jne 0x402a72
repz ret
jmp fcn.004045da

Function at 0x4032ae
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40d290]
je 0x4032c9
inc edi
cmp edi, 0x17
jb 0x4032ba
cmp edi, 0x17
jae 0x403449
push ebp
push 3
call fcn.00407450
cmp eax, 1
pop ecx
je 0x403415
push 3
call fcn.00407450
test eax, eax
pop ecx
jne 0x4032fd
cmp dword [section..data], 1
je 0x403415
cmp ebx, 0xfc
je 0x403448
push 0x401760
mov ebx, 0x314
push ebx
mov ebp, 0x40dfb8
push ebp
call fcn.004073eb
add esp, 0xc
test eax, eax
je 0x403333
push esi
push esi
push esi
push esi
push esi
call fcn.004051b8
add esp, 0x14
push 0x104
mov esi, 0x40dfd1
push esi
push 0
mov byte [0x40e0d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403377
push 0x401748
push 0x2fb
push esi
call fcn.004073eb
add esp, 0xc
test eax, eax
je 0x403377
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004051b8
add esp, 0x14
push esi
call fcn.00407360
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4033bc
push esi
call fcn.00407360
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40e2cc
push 0x401744
sub ecx, eax
push ecx
push eax
call fcn.004072a2
add esp, 0x14
test eax, eax
je 0x4033bc
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004051b8
add esp, 0x14
jmp 0x4033be
xor esi, esi
push 0x401740
push ebx
push ebp
call fcn.00407231
add esp, 0xc
test eax, eax
je 0x4033de
push esi
push esi
push esi
push esi
push esi
call fcn.004051b8
add esp, 0x14
push dword [edi*8 + 0x40d294]
push ebx
push ebp
call fcn.00407231
add esp, 0xc
test eax, eax
je 0x403400
push esi
push esi
push esi
push esi
push esi
call fcn.004051b8
add esp, 0x14
push 0x12010
push 0x401718
push ebp
call fcn.00407074
add esp, 0xc
jmp 0x403448
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x403448
cmp ebp, 0xffffffff
je 0x403448
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40d294]
push dword [esi]
call fcn.00407360
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret