joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6eec60
Capabilities:
Query environment variable

Disassembly:
push esi
push ebx
push eax
mov eax, 0x10060
call fcn.00711644
xor ecx, ecx
sub esp, eax
mov eax, dword [esp + eax]
lea ebx, [esp + 0x10]
lea esi, [esp + 0x60]
mov word [esp + 0x10], cx
mov ecx, 0x28
mov edx, eax
xor eax, eax
mov word [esp + 0x60], ax
mov eax, ebx
call fcn.006ec490
mov dword [esp + 8], 0x10000
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
sub esp, 0xc
cmp eax, 0xffff
ja 0x6eecc9
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add esp, 0x10064
pop ebx
pop esi
ret
xor eax, eax
jmp 0x6eecc0

Function at 0x6eecd0
Capabilities:
Set environment variable

Disassembly:
push esi
mov ecx, 0x28
push ebx
mov ebx, edx
xor edx, edx
sub esp, 0x64
lea esi, [esp + 0x10]
mov word [esp + 0x10], dx
mov edx, eax
mov eax, esi
call fcn.006ec490
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
sub esp, 8
add esp, 0x64
pop ebx
pop esi
ret

Function at 0x6eed10
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, edx
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x7c
mov dword [esp + 0x1c], eax
mov eax, dword [0x74c608]
test eax, eax
je 0x6eedfd
mov dword [esp + 4], str.environ
mov dword [esp], eax
call dword [sym.imp.python34.dll_PyObject_GetAttrString]
mov dword [esp], ebp
mov ebx, eax
call dword [sym.imp.python34.dll_PyUnicode_FromString]
mov esi, eax
test edi, edi
je 0x6eedb7
mov edx, edi
mov eax, ebp
call fcn.006eecd0
mov dword [esp], edi
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.python34.dll_PyUnicode_FromWideChar]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp], ebx
call dword [sym.imp.python34.dll_PyObject_SetItem]
test eax, eax
jne 0x6eee1c
sub dword [edi], 1
je 0x6eedac
sub dword [esi], 1
jne 0x6eed96
mov eax, dword [esi + 4]
mov dword [esp], esi
call dword [eax + 0x18]
sub dword [ebx], 1
jne 0x6eeda4
mov eax, dword [ebx + 4]
mov dword [esp], ebx
call dword [eax + 0x18]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [esp], edi
call dword [eax + 0x18]
jmp 0x6eed88
lea edi, [esp + 0x20]
mov edx, ebp
mov ecx, 0x28
mov word [esp + 0x20], 0
mov eax, edi
call fcn.006ec490
xor eax, eax
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edx
push edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.python34.dll_PyObject_DelItem]
test eax, eax
je 0x6eed88
mov eax, dword [esp + 0x1c]
call fcn.0041b050
jmp 0x6eed88
mov dword [esp], 0x72c666
call dword [sym.imp.python34.dll_PyImport_ImportModule]
mov dword [0x74c608], eax
test eax, eax
jne 0x6eed2c
jmp 0x720dfb
mov dword [esp], 1
call dword [sym.imp.python34.dll_PyErr_PrintEx]
mov dword [esp], 1
call dword [sym.imp.python34.dll_Py_Exit]
jmp 0x6eed83
Function at 0x710694
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.00720010
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.00720010
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 0x711268
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 0x711287
mov eax, 0
jmp 0x7112cb
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 0x7112aa
mov eax, 0
jmp 0x7112cb
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 0x7112c6
mov eax, 0
jmp 0x7112cb
mov eax, 1
leave
ret

Function at 0x7112cd
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 0x71132c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x711324
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 0x711324
mov eax, dword [ebp - 4]
jmp 0x711340
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 0x711301
mov eax, 0
leave
ret
Function at 0x444af8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00410e60
lea eax, [edi + edi]
add dword [esi], eax
xor ecx, ecx
mov word [eax + ebx], cx
add esp, 0x10
xor eax, eax
test edi, edi
jle 0x444b56
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x444b4d
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x444fd2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [0x482188]
mov dword [ebp - 0x18], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov dword [esi + 4], eax
xor eax, eax
add esp, 4
xor ebx, ebx
mov dword [ebp + 8], 2
cmp dword [ebp - 0x18], eax
jle 0x445158
lea ebx, [ebx]

Function at 0x44afef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.00442c5a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00442bb4
xor esi, esi
test edi, edi
je 0x44b037
lea eax, [ebp - 0xdc]
push eax
call fcn.00442c29
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44b023
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xba40f2b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x711811ef
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b656
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop eax
mov esi, ebx
or esi, ebx
add ebx, 0x815f1900
call fcn.0043b6a4
add esi, ebx
xor dword [edx], eax
add ebx, esi
inc edx
add ebx, esi
add esi, esi
add esi, 0xeebdb064
cmp edx, edi
jne fcn.0043b656
add esi, 0xa071272f
add esi, 0x247f8268
ret
Function at 0x401d50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x401e41
test edx, edx
je 0x401e41
cmp dword [esp + 0x28], 0
mov dword [esp], ecx
mov esi, 0x1505
je 0x401d9f
xor ebx, ebx
nop word [eax + eax]
movzx ecx, byte [edx + ebx]
test ecx, ecx
je 0x401d9f
mov ebp, esi
shl ebp, 5
mov edi, ebp
xor edi, esi
and ebp, esi
add edi, ecx
lea esi, [edi + ebp*2]
inc ebx
cmp dword [esp + 0x28], ebx
jne 0x401d80
mov dword [esp + 4], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
test ebp, ebp
je 0x401e41
mov eax, ebp
or eax, 0xfffffffe
mov ecx, ebp
and ecx, 0xfffffffe
lea ebx, [eax + ecx]
inc ebx
mov ecx, dword [esp]
and ebx, esi
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x401de4
inc ebx
dec ebp
je 0x401e3f
mov eax, ebx
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401e3f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401de0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00417520
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401de0
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00417540
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401de0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401e41
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40228a
mov ecx, dword [eax + 4]
cmp ecx, 2
je 0x40224e
cmp ecx, 5
je 0x402253
cmp ecx, 4
jne 0x40228a
mov esi, dword [eax + 8]
cmp dword [esi + 0x18], 0
je 0x4021ed
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [0x45f424]
add esp, 4
mov eax, dword [esi + 0x10]
push dword [eax + edi*4]
call fcn.00402180
add esp, 4
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, dword [esi + 0x18]
jb 0x4021c0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push dword [esi + 4]
call dword [0x45f424]
add esp, 4
push dword [esi + 0xc]
call dword [0x45f424]
add esp, 4
push dword [esi + 0x10]
call dword [0x45f424]
add esp, 4
push dword [esi + 0x14]
call dword [0x45f424]
add esp, 4
push dword [esi + 8]
call dword [0x45f424]
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
jmp 0x402280
push dword [eax + 8]
jmp 0x402281
mov esi, dword [eax + 8]
cmp dword [esi + 8], 0
je 0x402274
xor edi, edi
nop
mov eax, dword [esi + 4]
push dword [eax + edi*4]
call fcn.00402180
add esp, 4
inc edi
cmp edi, dword [esi + 8]
jb 0x402260
push dword [esi + 4]
call dword [0x45f424]
add esp, 4
push esi
call dword [0x45f424]
add esp, 4
pop esi
pop edi
jmp dword [0x45f424]
Function at 0x402380
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4024f7
test edx, edx
je 0x4024f7
mov dword [esp], edx
cmp dword [esp + 0x2c], 0
je 0x4024f7
mov ebx, ecx
mov edi, dword [esp]
push edi
call fcn.00417520
add esp, 4
mov dword [esp + 4], eax
mov ebp, 0x1505
test eax, eax
je 0x4023ef
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [edi + eax]
test ecx, ecx
je 0x4023ef
mov edx, ebp
shl edx, 5
mov esi, edx
xor esi, ebp
and edx, ebp
add esi, ecx
lea ebp, [esi + edx*2]
inc eax
cmp dword [esp + 4], eax
jne 0x4023d0
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x402478
mov eax, edi
or eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
lea esi, [eax + ecx]
inc esi
and esi, ebp
lea eax, [edi - 1]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
jmp 0x402424
inc esi
dec edi
je 0x402478
mov eax, esi
and eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xffffffff
je 0x40247d
mov eax, ebx
mov eax, dword [ebx + 8]
cmp dword [eax + ecx*4], ebp
jne 0x402420
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
push eax
call fcn.00417520
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402420
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 8]
call fcn.00417540
add esp, 0xc
test eax, eax
jne 0x402420
mov eax, 0xffffffff
jmp 0x4024f7
mov eax, 0xffffffff
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x1c]
mov edi, dword [esp + 0x2c]
jb 0x4024c1
mov ecx, ebx
call fcn.004025c0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x4024f7
mov esi, ebx
mov ebx, dword [esp]
push ebx
call fcn.00417520
add esp, 4
mov ecx, esi
mov edx, ebx
mov ebx, esi
lea esi, [esp + 0x14]
push esi
push ebp
push eax
call fcn.00402500
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
mov esi, dword [esp]
mov dword [edx + ecx*4], esi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx*4], edi
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [edi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402da0
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x402f86
mov dword [esp], ebp
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
movzx ebp, cx
shr ecx, 0x10
test edi, edi
je 0x402f7f
mov edx, 0x5e6ea9af
mov eax, edi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, edi
sub esi, eax
jmp 0x402e36
mov eax, dword [esp + 0xc]
add dword [esp], eax
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov eax, ebp
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub ebp, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub edi, esi
mov esi, 0x15b0
je 0x402f7f
xor edx, edx
cmp esi, 8
mov dword [esp + 8], esi
mov dword [esp + 0x10], edi
jb 0x402ee9
and esi, 0x1ff8
mov dword [esp + 4], esi
xor edx, edx
nop word cs:[eax + eax]
mov eax, edx
mov edx, dword [esp]
movzx esi, byte [edx + eax]
add esi, ebp
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
mov esi, ecx
and esi, edi
mov dword [esp + 0xc], esi
xor ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
movzx edi, byte [edx + eax + 3]
add edi, esi
mov dword [esp + 0x18], edi
movzx ebx, byte [edx + eax + 4]
add ebx, edi
mov dword [esp + 0x14], ebx
movzx ebp, byte [edx + eax + 5]
add ebp, ebx
movzx ebx, byte [edx + eax + 6]
add ebx, ebp
movzx edx, byte [edx + eax + 7]
mov edi, ebx
and edi, edx
xor edx, ebx
lea edx, [edx + edi*2]
add esi, ecx
mov ecx, dword [esp + 0xc]
lea ecx, [esi + ecx*2]
mov esi, dword [esp + 8]
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
add ecx, ebp
mov ebp, edx
add ecx, ebx
add ecx, edx
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x402e60
add dword [esp], edx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, esi
sub ebx, edx
jbe 0x402dff
mov eax, edx
not eax
add eax, esi
and esi, 3
mov dword [esp + 0xc], ebx
je 0x402f30
mov dword [esp + 4], edx
neg esi
xor edx, edx
mov ebx, dword [esp]
nop dword [eax]
movzx edi, byte [ebx]
inc ebx
add ebp, edi
add ecx, ebp
dec edx
cmp esi, edx
jne 0x402f10
mov esi, dword [esp + 4]
sub esi, edx
mov edx, esi
cmp eax, 3
jb 0x402df0
jmp 0x402f3c
mov ebx, dword [esp]
cmp eax, 3
jb 0x402df0
mov eax, dword [esp + 8]
sub eax, edx
xor edx, edx
nop word cs:[eax + eax]
movzx esi, byte [ebx + edx]
add esi, ebp
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx ebp, byte [ebx + edx + 3]
add ebp, esi
add ecx, ebp
add edx, 4
cmp eax, edx
jne 0x402f50
jmp 0x402df0
shl ecx, 0x10
or ecx, ebp
jmp 0x402f8b
mov ecx, 1
mov eax, ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417260
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, eax
and ecx, 3
je 0x41728c
cmp ecx, 2
jne 0x41729c
shr eax, 1
mov ecx, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
jmp 0x4173ad
shr eax, 2
mov ecx, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
jmp 0x4173ad
test eax, eax
je 0x4173ad
cmp eax, 8
jb 0x41731e
mov ecx, edi
sub ecx, ebx
cmp ecx, 0x20
jb 0x417326
xor ebp, ebp
cmp eax, 0x20
jb 0x4172ed
mov ebp, eax
and ebp, 0xffffffe0
xor ecx, ecx
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [ebx + ecx + 0x10]
movups xmmword [edi + ecx], xmm0
movups xmmword [edi + ecx + 0x10], xmm1
add ecx, 0x20
cmp ebp, ecx
jne 0x4172c0
cmp ebp, eax
je 0x4173ad
test al, 0x18
je 0x4173b6
mov edi, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xfffffff8
lea edx, [ebx + ecx]
lea esi, [edi + ecx]
and eax, 7
nop dword [eax + eax]
movsd xmm0, qword [ebx + ebp]
movsd qword [edi + ebp], xmm0
add ebp, 8
cmp ecx, ebp
jne 0x417300
cmp ecx, dword [esp + 0x1c]
mov edi, eax
jne 0x41732c
jmp 0x4173ad
mov edx, ebx
mov esi, dword [esp + 0x14]
jmp 0x41732a
mov edx, ebx
mov esi, edi
mov edi, eax
lea ebp, [edi - 1]
mov ebx, edi
and ebx, 7
je 0x417352
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
inc eax
cmp ebx, eax
jne 0x417340
add edx, eax
add esi, eax
sub edi, eax
cmp ebp, 7
jb 0x4173ad
xor ecx, ecx
nop dword [eax]
movzx eax, byte [edx + ecx]
mov byte [esi + ecx], al
movzx eax, byte [edx + ecx + 1]
mov byte [esi + ecx + 1], al
movzx eax, byte [edx + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [edx + ecx + 3]
mov byte [esi + ecx + 3], al
movzx eax, byte [edx + ecx + 4]
mov byte [esi + ecx + 4], al
movzx eax, byte [edx + ecx + 5]
mov byte [esi + ecx + 5], al
movzx eax, byte [edx + ecx + 6]
mov byte [esi + ecx + 6], al
movzx eax, byte [edx + ecx + 7]
mov byte [esi + ecx + 7], al
add ecx, 8
cmp edi, ecx
jne 0x417360
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebx
pop ebp
ret
and eax, 0x1f
mov ecx, dword [esp + 0x14]
lea esi, [ecx + ebp]
add ebx, ebp
mov edx, ebx
jmp 0x41732a
Function at 0x417ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx edx, word [edi]
test dx, dx
je 0x417fe4
lea eax, [edi + 2]
xor ebx, ebx
mov ecx, 1
nop word [eax + eax]
movzx esi, dx
xor edx, edx
cmp esi, 0x800
setb dl
xor edx, 3
cmp esi, 0x80
cmovb edx, ecx
add ebx, edx
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x417ef0
lea esi, [ebx + 1]
push esi
call fcn.0044c260
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x417ff2
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x417f58
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x417ff4
movzx edx, word [edi]
test dx, dx
je 0x417ff4
cmp dx, 0x7f
jbe 0x417f40
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp esi, 0x7ff
ja 0x417fa0
xor esi, esi
cmp ecx, 2
jb 0x417f47
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x417f47
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x417f47
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
mov esi, ecx
or esi, 0x3f
xor ecx, 0xc0
and ecx, esi
add cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x417f47
push 1
call fcn.0044c260
add esp, 4
mov ebp, eax
jmp 0x417ff4
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x418017
mov eax, ebx
mov byte [esp + ecx + 0xc], al
inc ecx
movzx ebx, byte [ebp + ecx]
mov al, 0x2f
cmp ebx, 0x5c
je 0x418012
test ebx, ebx
jne 0x418010
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.0040ea80
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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