joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41be97
Capabilities:
Inspect section memory permissions

Disassembly:
cmp eax, ebx
je 0x41bef4
add eax, esi
cmp dword [eax], ebx
je 0x41bef4
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41beef
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41bed9
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41bee1
cmp edx, ebx
jne 0x41c02f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41beb0
add eax, dword [eax + 4]
jmp 0x41be9d
mov dword [ebp + 0xc], ebx
jmp 0x41beff
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41bf17
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41bf35
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 0x41bf93
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 0x41bf7a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41bf83
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41bf8d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41bf6f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41bef9
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 0x41bfe0
dec eax
je 0x41bfd7
sub eax, 3
je 0x41bfce
mov dword [ebp - 4], 0x40
jmp 0x41bffd
mov dword [ebp - 4], 4
jmp 0x41bfe3
mov dword [ebp - 4], 0x20
jmp 0x41bfe3
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 0x41c02f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41bfaf
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041b840
sbb esp, edx
inc edi
clc
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x41c03b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ccbb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
invalid
invalid

Function at 0x422fa6
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422fdb

Function at 0x422fdb
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041be97

Function at 0x423610
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret 4
Function at 0x424290
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x24]
push edi
mov ecx, ebx
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
cmp edi, 8
mov dword [ebp - 0x50], eax
ja 0x4242c5
add edi, 0x40
lea edx, [edi - 8]
push edx
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0041d8a0
mov ecx, dword [esi + 0x20]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ebx
shr edx, 0x1d
or ecx, edx
add esp, 0xc
mov dword [ebp - 0x58], ecx
push 2
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + edi - 0x54]
lea eax, [ebx*8]
push edx
mov byte [ebp - 0x4c], 0x80
mov dword [ebp - 0x54], eax
call fcn.00424380
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00424180
mov ecx, dword [ebp - 0x50]
push 8
push esi
push ecx
call fcn.00424380
xor eax, eax
push 0x40
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push eax
add esi, 0x28
push esi
call fcn.0041d8a0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ef1
mov esp, ebp
pop ebp
ret 8
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x41fd40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fd46
ret

Function at 0x45a7cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45a7fa
mov eax, ebx
call fcn.0045b280
cmp dword [ebx + 0x40], 0
je 0x45a7f3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a86b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a85d
cmp dword [ebx + 8], 0
je 0x45a81c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a82e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a85d
cmp dword [ebx + 8], 0
je 0x45a80f
cmp eax, 3
je 0x45a841
dec eax
jne 0x45a80f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45a80f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45a80f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a889
cmp dword [ebx + 0x14], 0xcc
je 0x45a889
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a894
pop ebx
ret
Function at 0x10001000
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x100010c4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x10008760], eax
call fcn.100021d0
test eax, eax
jne 0x10001024
ret 0xc
mov ecx, dword [0x10008760]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x1000876c], edx
mov dword [0x10008768], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x10008764], eax
mov dword [0x10008760], ecx
call fcn.10001370
test eax, eax
jne 0x10001066
call fcn.10002210
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10009cd0], eax
call fcn.10002070
mov ecx, dword [0x10009cd0]
mov dword [0x1000874c], eax
test ecx, ecx
je 0x100010b5
test eax, eax
je 0x100010b5
call fcn.10001550
call fcn.10002060
call fcn.100018b0
call fcn.100017c0
call fcn.10001210
mov eax, dword [0x10008748]
inc eax
mov dword [0x10008748], eax
mov eax, 1
ret 0xc
call fcn.100013d0
call fcn.10002210
xor eax, eax
ret 0xc
test eax, eax
jne 0x10001104
mov eax, dword [0x10008748]
test eax, eax
jle 0x100010ff
mov ecx, eax
mov eax, dword [0x10008798]
dec ecx
test eax, eax
mov dword [0x10008748], ecx
jne 0x100010e8
call fcn.10001260
call fcn.10001760
call fcn.100013d0
call fcn.10002210
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x10001113
push 0
call fcn.100014a0
add esp, 4
mov eax, 1
ret 0xc

Function at 0x10001270
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.10001330
mov eax, dword [0x1000879c]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x10001294
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x10008798], 1
mov byte [0x10008794], bl
jne 0x100012ee
mov ecx, dword [0x10009cc8]
test ecx, ecx
je 0x100012dc
mov esi, dword [0x10009cc4]
sub esi, 4
cmp esi, ecx
jb 0x100012dc
mov eax, dword [esi]
test eax, eax
je 0x100012d5
call eax
mov ecx, dword [0x10009cc8]
sub esi, 4
cmp esi, ecx
jae 0x100012c7
push 0x1000601c
push 0x10006014
call fcn.10001350
add esp, 8
push 0x10006024
push 0x10006020
call fcn.10001350
add esp, 8
test ebx, ebx
je 0x1000130d
call fcn.10001340
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x1000879c], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10001370
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.10002480
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x10006034], eax
je 0x100013c8
push 0x74
push 1
call fcn.100026b0
mov esi, eax
add esp, 8
test esi, esi
je 0x100013c8
mov eax, dword [0x10006034]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100013c8
push esi
call fcn.10001400
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10001420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x10006034]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1000148e
push 0x74
push 1
call fcn.100026b0
mov esi, eax
add esp, 8
test esi, esi
je 0x10001484
mov ecx, dword [0x10006034]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10001484
push esi
call fcn.10001400
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.100011d0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret

Function at 0x100014a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10006034]
cmp eax, 0xffffffff
je 0x1000154f
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x100014c4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10001540
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100014d4
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100014e4
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100014f4
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10001504
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10001514
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10001524
push eax
call fcn.10002760
add esp, 4
mov eax, dword [esi + 0x50]
cmp eax, 0x100062b0
je 0x10001537
push eax
call fcn.10002760
add esp, 4
push esi
call fcn.10002760
add esp, 4
mov eax, dword [0x10006034]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x10002070
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10008acc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x100020b2
call edi
mov esi, eax
test esi, esi
je 0x1000209c
mov eax, 1
jmp 0x100020ad
call ebp
mov ebx, eax
test ebx, ebx
je 0x100021bf
mov eax, 2
mov dword [0x10008acc], eax
cmp eax, 1
jne 0x10002152
test esi, esi
jne 0x100020cb
call edi
mov esi, eax
test esi, esi
je 0x100021bf
cmp word [esi], 0
mov eax, esi
je 0x100020e5
add eax, 2
cmp word [eax], 0
jne 0x100020d3
add eax, 2
cmp word [eax], 0
jne 0x100020d3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x10002144
push edi
call fcn.100027d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10002144
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x10002136
push ebx
call fcn.10002760
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x100021bf
test ebx, ebx
jne 0x10002163
call ebp
mov ebx, eax
test ebx, ebx
je 0x100021bf
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x1000217b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000216b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000216b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.100027d0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1000219d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x100022a0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x10006160
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x100022c4
add eax, 8
inc ebp
cmp eax, 0x100061f0
jb 0x100022b5
cmp ecx, dword [ebp*8 + 0x10006160]
jne 0x1000246b
mov eax, dword [0x10008754]
cmp eax, 1
je 0x1000242d
test eax, eax
jne 0x100022f0
cmp dword [0x10008758], 1
je 0x1000242d
cmp ecx, 0xfc
je 0x1000246b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000232b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x10002374
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x10005394
add ebx, ecx
push ebx
call fcn.100033f0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10005374
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x10006164]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10003360
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x10009bc0]
test eax, eax
je 0x1000243e
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x10002448
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x10006164]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x10003d20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x10003d4c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x10009bc0]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
je 0x10003d87
push 2
push ebp
push ecx
call fcn.100042a0
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x10003ee9
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x10003e31
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x10003de2
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x10003dcf
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x10003db2
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10003eda
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x10003e2d
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x10003dae
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10003ec9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10003e85
cmp eax, 5
jne 0x10003e6e
call fcn.10004280
mov dword [eax], 9
call fcn.10004290
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.10004200
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x10003ea5
cmp byte [ebp], 0x1a
jne 0x10003ea5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.10004280
mov dword [eax], 0x1c
call fcn.10004290
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x10003e2d
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10003f1a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x10003e31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x10003e31
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4209f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x420a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x420a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x420a08
mov eax, 1
add ebx, ebx
jne 0x420a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420a20
jne 0x420a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420a20
xor ecx, ecx
sub eax, 3
jb 0x420a50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x420ac2
mov ebp, eax
add ebx, ebx
jne 0x420a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x420a68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x420a8c
inc ecx
add ebx, ebx
jne 0x420a78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x420a6d
jne 0x420a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420a6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x420aac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x420a9d
jmp 0x420a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x420aac
add edi, ecx
jmp 0x420a0e
pop esi
mov edi, esi
mov ecx, 0x82e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x420aca
cmp byte [edi], 0xe
jne 0x420aca
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 eax, ebx
loop 0x420acf
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x420b47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21984]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21a38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x420afc
mov ecx, edi
jns 0x420b2b
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 + 0x21a3c]
or eax, eax
je 0x420b41
mov dword [ebx], eax
add ebx, 4
jmp 0x420b19
call dword [esi + 0x21a40]
popal
jmp section.UPX0