joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2113307d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x21155558]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x21155230]
je 0x211330aa
inc eax
cmp eax, 0x12
jb 0x2113309b
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x21155230]
jne 0x211331de
mov eax, dword [0x21156248]
cmp eax, 1
je 0x211331b9
cmp eax, edx
jne 0x211330da
cmp dword [0x2115624c], 1
je 0x211331b9
cmp ecx, 0xfc
je 0x211331de
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x21133113
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.21134270
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.211335a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x21133155
lea eax, [ebp - 0x10c]
push eax
call fcn.211335a0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x21141ad0
push edi
call fcn.21134140
add esp, 0x10
push edi
call fcn.211335a0
push dword [esi + 0x21155234]
mov ebx, eax
call fcn.211335a0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.21133040
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.21134270
push edi
push ebx
call fcn.21134280
push 0x21141ab0
push ebx
call fcn.21134280
push dword [esi + 0x21155234]
push ebx
call fcn.21134280
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.2113594d
add esp, 0x2c
jmp 0x211331de
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x21155234]
push dword [esi]
call fcn.211335a0
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]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.21133746
pop edi
pop esi
pop ebx
leave
ret
Function at 0x211332b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x21155558]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x2115bf8c]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
jae 0x21133449
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x2115bfa0]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x18], ebx
je 0x21133449
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
jne 0x21133318
xor eax, eax
jmp 0x2113345d
test al, 0x20
je 0x21133329
push 2
push edi
push edi
push ecx
call fcn.21135a46
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x211333e5
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp + 8], edi
jbe 0x2113341d
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
cmp ecx, dword [ebp + 0x10]
jae 0x2113337f
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x21133370
inc dword [ebp - 0x14]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x18]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x21133355
mov edi, eax
lea eax, [ebp - 0x41c]
sub edi, eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x211333bf
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
cmp eax, edi
jl 0x211333c8
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x21133349
jmp 0x211333ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x21133444
cmp dword [ebp + 8], edi
je 0x2113341d
push 5
pop eax
cmp dword [ebp + 8], eax
jne 0x21133412
mov dword [0x21156278], eax
jmp 0x21133450
push edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x21133407
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jmp 0x211333ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x211333ca
push dword [ebp + 8]
call fcn.21134f9c
pop ecx
jmp 0x2113345a
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x21133432
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x21133311
mov dword [0x21156274], 0x1c
mov dword [0x21156278], edi
jmp 0x2113345a
sub eax, dword [ebp - 0x14]
jmp 0x2113345d
and dword [0x21156278], 0
mov dword [0x21156274], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.21133746
leave
ret
Function at 0x21133a78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.21133040
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x21133b0d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x21156280]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x21133b0d
cmp eax, 1
je 0x21133b25
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x21133b0d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x21133ae2
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x21133b09
xor eax, eax
inc eax
jmp 0x21133b41
cmp esi, ebx
jae 0x21133b11
xor eax, eax
jmp 0x21133b41
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x21156280]
jmp 0x21133b27
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2113594d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x211564d0], ebx
push esi
push edi
jne 0x211359cd
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x21135a08
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x21141b74
push edi
call esi
test eax, eax
mov dword [0x211564d0], eax
je 0x21135a08
push 0x21141b64
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x211564d4], eax
call esi
cmp dword [0x21156280], 2
mov dword [0x211564d8], eax
jne 0x211359cd
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x211564e0], eax
je 0x211359cd
push 0x21141b1c
push edi
call esi
mov dword [0x211564dc], eax
mov eax, dword [0x211564dc]
test eax, eax
je 0x21135a12
call eax
test eax, eax
je 0x211359f9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x211564e0]
test eax, eax
je 0x211359f9
test byte [ebp - 8], 1
jne 0x21135a12
cmp dword [0x2115628c], 4
jb 0x21135a0c
or byte [ebp + 0x12], 0x20
jmp 0x21135a31
xor eax, eax
jmp 0x21135a41
or byte [ebp + 0x12], 4
jmp 0x21135a31
mov eax, dword [0x211564d4]
test eax, eax
je 0x21135a31
call eax
mov ebx, eax
test ebx, ebx
je 0x21135a31
mov eax, dword [0x211564d8]
test eax, eax
je 0x21135a31
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x211564d0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x21135e5c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.21133040
mov eax, dword [0x21155558]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x2115bf8c]
mov dword [ebp - 4], eax
jae 0x21135f9c
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x2115bfa0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x21135f9c
push 1
push esi
push ebx
call fcn.2113322d
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x21135fa6
push 2
push esi
push ebx
call fcn.2113322d
add esp, 0xc
cmp eax, 0xffffffff
je 0x21135fa6
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x21135f49
push 0x1000
lea eax, [ebp - 0x1008]
push esi
push eax
call fcn.21133800
push 0x8000
push ebx
call fcn.211364ae
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x21135f08
mov eax, edi
push eax
lea eax, [ebp - 0x1008]
push eax
push ebx
call fcn.211332b9
add esp, 0xc
cmp eax, 0xffffffff
je 0x21135f26
sub edi, eax
test edi, edi
jg 0x21135efd
jmp 0x21135f3c
cmp dword [0x21156278], 5
jne 0x21135f39
mov dword [0x21156274], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.211364ae
pop ecx
pop ecx
jmp 0x21135f89
jge 0x21135f89
push 0
push dword [ebp + 0xc]
push ebx
call fcn.2113322d
push ebx
call fcn.21135189
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x21135f89
mov dword [0x21156274], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x21156278], eax
push 0
push dword [ebp - 8]
push ebx
call fcn.2113322d
add esp, 0xc
mov eax, esi
pop edi
jmp 0x21135fa9
mov dword [0x21156274], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.21133746
leave
ret
Function at 0x21135fb8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x2115bf8c]
push edi
jae 0x2113617f
mov eax, esi
sar eax, 5
lea ebx, [eax*4 + 0x2115bfa0]
mov eax, dword [ebx]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x2113617f
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp + 0xc]
mov ecx, edi
je 0x2113605e
test dl, 2
jne 0x2113605e
test dl, 0x48
je 0x21136028
mov al, byte [eax + 5]
cmp al, 0xa
je 0x21136028
dec dword [ebp + 0x10]
mov byte [edi], al
mov eax, dword [ebx]
lea ecx, [edi + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebx]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x21136071
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x21136059
mov dword [0x21156278], ecx
jmp 0x21136186
cmp eax, 0x6d
jne 0x21136065
xor eax, eax
jmp 0x21136193
push eax
call fcn.21134f9c
pop ecx
jmp 0x21136190
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0xc], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x2113617a
test edx, edx
je 0x21136094
cmp byte [edi], 0xa
jne 0x21136094
or al, 4
jmp 0x21136096
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x21136174
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x21136164
cmp al, 0xd
je 0x211360ca
mov byte [edi], al
inc edi
inc dword [ebp - 8]
jmp 0x21136156
dec ecx
cmp dword [ebp - 8], ecx
jae 0x211360e4
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x211360df
add dword [ebp - 8], 2
jmp 0x21136138
mov dword [ebp - 8], eax
jmp 0x21136152
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2113610c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x21136152
cmp dword [ebp - 0x10], 0
je 0x21136152
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x48
je 0x2113612d
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x21136138
mov byte [edi], 0xd
mov ecx, dword [ebx]
mov byte [ecx + esi + 5], al
jmp 0x21136155
cmp edi, dword [ebp + 0xc]
jne 0x2113613d
cmp byte [ebp - 1], 0xa
jne 0x2113613d
mov byte [edi], 0xa
jmp 0x21136155
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.2113322d
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x21136156
mov byte [edi], 0xd
inc edi
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x211360ae
jmp 0x21136174
mov eax, dword [ebx]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x21136174
or al, 2
mov byte [esi], al
sub edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
jmp 0x21136193
and dword [0x21156278], 0
mov dword [0x21156274], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x21136979
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x211369e4
push 0x3d
push dword [ebp + 8]
call fcn.21136b59
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x211369e4
cmp dword [ebp + 8], esi
je 0x211369e4
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x211562a0]
cmp eax, dword [0x211562a4]
jne 0x211369ca
mov edi, eax
call fcn.21136918
mov dword [0x211562a0], eax
cmp eax, ebx
jne 0x21136a23
cmp dword [ebp + 0xc], ebx
je 0x211369ec
cmp dword [0x211562a8], ebx
je 0x211369ec
call fcn.21136443
test eax, eax
je 0x21136a23
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x21136b27
push 4
call fcn.2113369d
cmp eax, ebx
pop ecx
mov dword [0x211562a0], eax
je 0x211369e4
mov dword [eax], ebx
cmp dword [0x211562a8], ebx
jne 0x21136a23
push 4
call fcn.2113369d
cmp eax, ebx
pop ecx
mov dword [0x211562a8], eax
je 0x211369e4
mov dword [eax], ebx
mov ebx, dword [0x211562a0]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.211368cb
mov edi, eax
test edi, edi
pop ecx
jl 0x21136a7c
cmp dword [ebx], 0
je 0x21136a7c
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.211326d8
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x21136a64
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x21136ab2
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x21136a5b
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.21136198
test eax, eax
pop ecx
pop ecx
je 0x21136ab2
jmp 0x21136aad
cmp dword [ebp - 4], 0
jne 0x21136b20
test edi, edi
jge 0x21136a8c
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.21136198
test eax, eax
pop ecx
pop ecx
je 0x211369e4
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x211562a0], eax
cmp dword [ebp + 0xc], 0
je 0x21136b09
push dword [ebp + 8]
call fcn.211335a0
inc eax
inc eax
push eax
call fcn.2113369d
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x21136b09
push dword [ebp + 8]
push esi
call fcn.21134270
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x21136b02
or dword [ebp - 8], 0xffffffff
push esi
call fcn.211326d8
pop ecx
cmp dword [ebp - 4], 0
je 0x21136b18
push dword [ebp + 8]
call fcn.211326d8
pop ecx
mov eax, dword [ebp - 8]
jmp 0x211369e7
push esi
call fcn.211326d8
pop ecx
xor eax, eax
jmp 0x211369e7
Function at 0x406a70
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
or cl, dl
shl byte [esi - 0x75], cl
push eax
or byte [ecx - 0x2dc416af], cl
mov dx, word [eax + 6]
jo 0x406ad4
mov esp, 0x8b66d233
push eax
add cl, byte [edx - 0x77]
inc esp
fdiv dword [ebx]
shl byte [esi - 0x75], cl
adc byte [ecx + 0x76cea], al
add byte [ecx - 0x2d57e7af], cl
cwd
push eax
add al, 0x89
push ecx
sbb al, 0x8b
push ecx
adc al, 0x66
mov esi, dword [eax + 6]
mov edx, dword [edx*4 + 0x40c240]
lea edx, [esp + edx - 1]
xor esi, esi
mov dword [ecx + 0x20], edx
xor edx, edx
out dx, al
push ecx
and al, 0x89
cmpsb byte [esi], byte es:[edi]
sub byte [esi - 0x75], ah
xor byte [ebx + 0x325c6], cl
test al, 0x83
jns 0x406b18
lock or dword [esi + 0x2a7540fc], 0xffffff8b
invalid
inc eax
jne 0x406b01
mov eax, esi
push edi
cdq
mov edi, 0x9400c36e
enter 0x5fff, 0xffffffffffffff85
rcr byte [eax - 0x413974e6], cl
add byte fs:[eax], al
add byte [ecx + 0x1604fef7], bl
je 0x406b01
mov ecx, 0x3af88320
jle 0x406b01
inc eax
mov dword [ecx + 0x20], eax
pop esi
pop ebp
mov dword [0x9090df90], eax
nop
nop
add byte [esi], al
nop
nop
nop
nop
push ebp
mov esp, dword [edx - 0x3f]
in al, dx
loopne 0x406b17
xchg ebp, eax
add byte [ebx + 0x4b], dl
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x5c]
mov ecx, esi
mov eax, edi
push 0x3c
add eax, 0x488640ac
push 0xa
adc ecx, 0x29aa96
push ecx
push eax
call 0xbab540
mov dword [ebp - 0x14], eax
mov eax, edx
sar eax, 0x1f
mov eax, dword [0x674108dc]
mov edi, esp
aam 0xdf
clc
adc al, 0xf
mov esp, fs
add byte [eax], al
add byte [ebp - 0x17ae03b3], cl
mov dl, 0xb1
sub al, 0x96
das
les eax, [ecx*4 + 0x458df355]
in al, dx
push edx
push eax
call dword [0xaa40c0ce]
stc
inc ebp
cld
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x24]
salc
push edx
mov dh, 0xff
adc eax, 0x40c0ed
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
push ebx
call fcn.00406a40
xor bl, byte [ebx + 8]
push 0x26
push 0xf42b1
push esi
push edi
loope 0x406b4d
dec ebx
add byte [eax], al
mov dword [ebx], eax
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x34]
push edx
push eax
call dword [0x5026c088]
mov edx, dword [ebp + 1]
cmp eax, dword [ebp - 0xc]
xor ecx, esp
xor ecx, ecx
or ecx, dword [edi]
dec byte [ebx]
enter 0xa6a, 0x52
push ecx
pop esp
leave
dec ecx
add dh, cl
lodsd eax, dword [esi]
or byte [eax - 0x7a], al
dec eax
adc dword [ecx + 0x295e9684], eax
push edx
push 0xf4240
push edx
push eax
leave
mov cl, 0x49
adc al, byte [eax]
hlt

Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
imul ah
mov eax, dword [ebp + 8]
mov eax, dword [ecx + 4]
test ecx, ecx
jne 0x40a2ec
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esp, dword [edi - 0xc]
adc byte [ecx + edx*4], al
xchg ecx, eax
mov eax, dword [eax + 0x4c]
push 0x31
adc bl, byte [ecx]
adc eax, sym.imp.KERNEL32.dll_WaitForSingleObject
test eax, eax
je 0x40a2e7
cmp eax, 0xdf0080
je 0x40a2e7
inc ebx
add al, byte [ecx]
add byte [eax], al
push esi
cmpsb byte [esi], byte es:[edi]
or cl, byte [edx]
mov dword [ecx], edx
add dword [eax], eax
pop esi
pop ebp
ret 4
Function at 0x40a9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test eax, 0x7d8b4456
or al, 0x8b
pop ss
test edx, edx
mov dword [ebp - 8], edx
jne 0x40a9c3
xor al, 0x5e
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x40a9b5
mov esi, dword [ebp - 0x753fccf8]
push es
inc esi
xor eax, eax
mov esi, ebx
or byte [eax + 0x19], bh
dec edx
mov bl, 0x17
mov edx, dword [ecx]
dec edx
arpl word [ecx], dx
mov ecx, dword [ebp + 0x10]
mov word [edi], dx
add ecx, 2
add al, 0x39
cmp ebx, dword [edi]
xchg dword [ecx], eax
add byte [eax], al
mov ecx, eax
and ecx, 0xc5
cmp cl, 0x60
invalid
Function at 0x409130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.qmpJQplM
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409148
mov eax, 1
add ebx, ebx
jne 0x40916b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409160
jne 0x40917c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409160
xor ecx, ecx
sub eax, 3
jb 0x409190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409202
mov ebp, eax
add ebx, ebx
jne 0x40919b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4091a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4091cc
inc ecx
add ebx, ebx
jne 0x4091b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4091ad
jne 0x4091c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4091ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4091ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4091dd
jmp 0x40914e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4091ec
add edi, ecx
jmp 0x40914e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40920a
cmp byte [edi], 0
jne 0x40920a
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 0x40920f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40927e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40923c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa16c]
or eax, eax
je 0x409278
mov dword [ebx], eax
add ebx, 4
jmp 0x409259
call dword [esi + 0xa168]
mov ebp, dword [esi + 0xa170]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4092b2
sub esp, 0xffffff80
jmp 0x40124f

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

Disassembly:
pushal
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
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
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret