joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d38a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044ba00
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44d425
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4663cc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44d425
cmp eax, 1
je 0x44d446
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x44d425
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44d3f2
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44d421
xor eax, eax
inc eax
jmp 0x44d465
cmp edi, eax
jae 0x44d429
xor eax, eax
jmp 0x44d465
cmp eax, esi
jae 0x44d430
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x4663cc]
jmp 0x44d449
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x464718]
xor ecx, ecx
xor eax, ebp
cmp dword [ebp + 0x3b4], ecx
push edi
mov edi, dword [ebp + 0x3b0]
mov dword [ebp + 0x3a0], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
jne 0x44f51c
xor eax, eax
jmp 0x44f686
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3ac]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x47fa60]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x44f55a
push 2
push ecx
push ecx
push dword [ebp + 0x3ac]
call fcn.004551e6
add esp, 0x10
xor ecx, ecx
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x44f5f4
cmp dword [ebp + 0x3b4], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], ecx
jbe 0x44f657
jmp 0x44f57e
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
cmp ecx, dword [ebp + 0x3b4]
jae 0x44f5b9
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x44f5aa
inc dword [ebp - 0x78]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x6c]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 0x400
jl 0x44f58a
mov edi, eax
lea eax, [ebp - 0x64]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44f618
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x44f621
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x7c]
cmp eax, dword [ebp + 0x3b4]
jb 0x44f57c
jmp 0x44f621
push ecx
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b4]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44f618
mov eax, dword [ebp - 0x80]
and dword [ebp - 0x68], 0
mov dword [ebp - 0x74], eax
jmp 0x44f621
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x44f681
cmp dword [ebp - 0x68], eax
je 0x44f654
push 5
pop esi
cmp dword [ebp - 0x68], esi
jne 0x44f649
call fcn.0044d305
mov dword [eax], 9
call fcn.0044d30e
mov dword [eax], esi
jmp 0x44f67c
push dword [ebp - 0x68]
call fcn.0044d317
pop ecx
jmp 0x44f67c
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44f669
cmp byte [edi], 0x1a
jne 0x44f669
xor eax, eax
jmp 0x44f684
call fcn.0044d305
mov dword [eax], 0x1c
call fcn.0044d30e
and dword [eax], 0
or eax, 0xffffffff
jmp 0x44f684
sub eax, dword [ebp - 0x78]
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop edi
call fcn.0044c35a
add ebp, 0x3a4
leave
ret
Function at 0x44f971
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x44fb47
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x47fa60]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x44fb47
test cl, 0x48
je 0x44f9dc
cmp byte [eax + 5], 0xa
je 0x44f9dc
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44fa2e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x44fa16
call fcn.0044d305
mov dword [eax], 9
call fcn.0044d30e
mov dword [eax], esi
jmp 0x44fa26
cmp eax, 0x6d
je 0x44fb47
push eax
call fcn.0044d317
pop ecx
or eax, 0xffffffff
jmp 0x44fb49
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x44fb42
test eax, eax
je 0x44fa55
cmp byte [ebx], 0xa
jne 0x44fa55
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x44fa5e
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x44fb3c
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x44fb2c
cmp al, 0xd
je 0x44fa90
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x44fb1e
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x44faaa
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x44faa5
add dword [ebp + 0x10], 2
jmp 0x44fafe
mov dword [ebp + 0x10], eax
jmp 0x44fb1a
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44fad2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x44fb1a
cmp dword [ebp - 0xc], 0
je 0x44fb1a
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x44faf3
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x44fafe
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x44fb1d
cmp ebx, dword [ebp + 0xc]
jne 0x44fb03
cmp byte [ebp - 1], 0xa
jne 0x44fb03
mov byte [ebx], 0xa
jmp 0x44fb1d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004551e6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44fb1e
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x44fa74
jmp 0x44fb3c
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x44fb3c
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x44fb49
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4529b8
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x464718]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x464ce0]
je 0x4529ef
inc eax
cmp eax, 0x13
jb 0x4529e0
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x464ce0]
jne 0x452b12
mov eax, dword [0x46641c]
cmp eax, 1
je 0x452aed
cmp eax, edx
jne 0x452a1f
cmp dword [0x46445c], 1
je 0x452aed
cmp ecx, 0xfc
je 0x452b12
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x452a55
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.00449540
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.004494b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x452a89
mov eax, edi
push eax
call fcn.004494b0
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x45afe0
push edi
call fcn.00453600
add esp, 0x10
push edi
call fcn.004494b0
push dword [esi + 0x464ce4]
mov ebx, eax
call fcn.004494b0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0044ba00
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00449540
push edi
push ebx
call fcn.00449550
push 0x45afc0
push ebx
call fcn.00449550
push dword [esi + 0x464ce4]
push ebx
call fcn.00449550
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00455be2
add esp, 0x2c
jmp 0x452b12
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x464ce4]
push dword [esi]
call fcn.004494b0
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 - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0044c35a
add ebp, 0x90
leave
ret
Function at 0x452e78
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x466894]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x452ec1
call ebp
mov esi, eax
cmp esi, ebx
je 0x452ea7
mov dword [0x466894], 1
jmp 0x452ec6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x452ebc
push 2
pop eax
mov dword [0x466894], eax
jmp 0x452ec1
mov eax, dword [0x466894]
cmp eax, 1
jne 0x452f1e
cmp esi, ebx
jne 0x452ed9
call ebp
mov esi, eax
cmp esi, ebx
jne 0x452ed9
xor eax, eax
jmp 0x452fc5
cmp word [esi], bx
mov eax, esi
je 0x452eee
inc eax
inc eax
cmp word [eax], bx
jne 0x452ee0
inc eax
inc eax
cmp word [eax], bx
jne 0x452ee0
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call fcn.0044948f
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x452f11
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x452fc5
push ebp
push esi
push edi
call fcn.00449bc0
add esp, 0xc
jmp 0x452f03
cmp eax, 2
je 0x452f27
cmp eax, ebx
jne 0x452ed2
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x452ed2
cmp byte [ebp], bl
mov esi, ebp
je 0x452f5d
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, ebx
je 0x452ed2
push esi
add edi, eax
call fcn.004494b0
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x452f3a
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call fcn.0044948f
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x452fd6
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x452fb7
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
je 0x452fcc
push edi
call fcn.004494b0
push esi
lea edi, [edi + eax + 1]
call fcn.00448d62
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x452f7d
push ebp
mov word [esi], bx
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call fcn.00449638
pop ecx
push ebp
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
jmp 0x452ed2
Function at 0x452fe2
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x466898]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
jne 0x453022
call esi
test eax, eax
je 0x453007
mov dword [0x466898], 1
jmp 0x453027
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x45301e
mov dword [0x466898], 2
jmp 0x453030
xor eax, eax
jmp 0x45307e
cmp eax, 1
jne 0x45302b
call esi
jmp 0x45307e
cmp eax, 2
jne 0x45301e
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 1
push ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x453076
lea eax, [esi + esi]
push eax
call fcn.0044948f
mov ebp, eax
test ebp, ebp
pop ecx
je 0x453076
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
test eax, eax
jne 0x45307a
push ebp
call fcn.00449638
pop ecx
xor eax, eax
jmp 0x45307c
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x4545d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x454602
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x454609
cmp ebx, dword [eax + 4]
jae 0x454609
xor eax, eax
jmp 0x4547f9
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x45461a
xor eax, eax
inc eax
jmp 0x4547f8
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x454630
cmp ecx, edx
jae 0x454775
cmp dword [eax + 4], 0
je 0x454639
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x454621
cmp dword [ebp + 8], 0
je 0x45465b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x454775
cmp eax, esi
jae 0x454775
mov eax, dword [0x466928]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x454680
cmp dword [esi*4 + 0x466930], edi
je 0x454779
inc esi
cmp esi, eax
jl 0x45466e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4547f5
cmp dword [ebp - 8], 0x1000000
jne 0x4547f5
test byte [ebp - 0xc], 0xcc
je 0x4546fe
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4547f5
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4547f5
cmp word [eax + 0x18], 0x10b
jne 0x4547f5
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4547f5
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4546fe
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4546fe
test byte [ecx + 0x27], 0x80
jne 0x454775
push 1
push 0x466970
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x454612
mov ecx, dword [0x466928]
test ecx, ecx
mov edx, ecx
jle 0x454732
lea eax, [ecx*4 + 0x46692c]
cmp dword [eax], edi
je 0x454732
dec edx
sub eax, 4
test edx, edx
jg 0x454726
test edx, edx
jne 0x454763
push 0xf
pop ebx
cmp ecx, ebx
jg 0x45473f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x454757
lea eax, [edx*4 + 0x466930]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x454745
cmp ecx, 0x10
jge 0x454763
inc ecx
mov dword [0x466928], ecx
push 0
push 0x466970
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x454612
xor eax, eax
jmp 0x4547f8
test esi, esi
jle 0x454612
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x466970
call ebx
test eax, eax
jne 0x454612
cmp dword [esi*4 + 0x466930], edi
je 0x4547cf
mov eax, dword [0x466928]
lea esi, [eax - 1]
test esi, esi
jl 0x4547bd
cmp dword [esi*4 + 0x466930], edi
je 0x4547b9
dec esi
jns 0x4547ad
test esi, esi
jge 0x4547cd
cmp eax, 0x10
jge 0x4547c8
inc eax
mov dword [0x466928], eax
lea esi, [eax - 1]
jmp 0x4547cf
je 0x4547e7
xor ecx, ecx
test esi, esi
jl 0x4547e7
lea eax, [ecx*4 + 0x466930]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4547d5
push 0
push 0x466970
call ebx
jmp 0x454612
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x455be2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x46697c], ebx
push esi
push edi
jne 0x455c62
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x455c9d
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x46697c], eax
je 0x455c9d
push 0x45b454
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x466980], eax
call esi
cmp dword [0x4663cc], 2
mov dword [0x466984], eax
jne 0x455c62
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x46698c], eax
je 0x455c62
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x466988], eax
mov eax, dword [0x466988]
test eax, eax
je 0x455ca7
call eax
test eax, eax
je 0x455c8e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x46698c]
test eax, eax
je 0x455c8e
test byte [ebp - 8], 1
jne 0x455ca7
cmp dword [0x4663d8], 4
jb 0x455ca1
or byte [ebp + 0x12], 0x20
jmp 0x455cc6
xor eax, eax
jmp 0x455cd6
or byte [ebp + 0x12], 4
jmp 0x455cc6
mov eax, dword [0x466980]
test eax, eax
je 0x455cc6
call eax
mov ebx, eax
test ebx, ebx
je 0x455cc6
mov eax, dword [0x466984]
test eax, eax
je 0x455cc6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x46697c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456abf
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0044ba00
mov eax, dword [0x464718]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0044f1e5
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x456bf4
push 2
push esi
push dword [ebp + 8]
call fcn.0044f1e5
add esp, 0xc
cmp eax, ebx
je 0x456bf4
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x456b94
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00449010
push 0x8000
push dword [ebp + 8]
call fcn.0044abbc
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x456b4a
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0044f4e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x456b6a
sub edi, eax
test edi, edi
jg 0x456b42
jmp 0x456b82
call fcn.0044d30e
cmp dword [eax], 5
jne 0x456b7f
call fcn.0044d305
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0044abbc
pop ecx
pop ecx
jmp 0x456bdc
jge 0x456bdc
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044f1e5
push dword [ebp + 8]
call fcn.0045028f
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, ebx
jne 0x456bdc
call fcn.0044d305
mov dword [eax], 0xd
call fcn.0044d30e
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0044f1e5
add esp, 0xc
mov eax, esi
pop edi
jmp 0x456bf6
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c35a
leave
ret
Function at 0x4578c7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4578e0
or eax, 0xffffffff
jmp 0x457941
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x45793d
push 0x3d
push esi
call fcn.00457ac8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x45793d
cmp esi, eax
je 0x45793d
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x4663ec]
sete cl
cmp eax, dword [0x4663f0]
mov dword [ebp - 4], ecx
jne 0x457923
mov edi, eax
call fcn.00457866
mov dword [0x4663ec], eax
cmp eax, ebx
jne 0x45797c
cmp dword [ebp + 0xc], ebx
je 0x457945
cmp dword [0x4663f4], ebx
je 0x457945
call fcn.00456c52
test eax, eax
je 0x45797c
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x45794e
xor eax, eax
jmp 0x457940
push 4
call fcn.0044948f
cmp eax, ebx
pop ecx
mov dword [0x4663ec], eax
je 0x45793d
mov dword [eax], ebx
cmp dword [0x4663f4], ebx
jne 0x45797c
push 4
call fcn.0044948f
cmp eax, ebx
pop ecx
mov dword [0x4663f4], eax
je 0x45793d
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x4663ec]
sub edi, esi
push esi
call fcn.00457819
mov edi, eax
test edi, edi
pop ecx
jl 0x4579e3
cmp dword [ebx], 0
je 0x4579e3
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00449638
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4579c3
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x457a24
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x4579ba
mov eax, edi
shl eax, 2
push eax
push dword [0x4663ec]
call fcn.0044cf50
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x457a24
jmp 0x457a1f
cmp dword [ebp - 4], 0
jne 0x457a8b
test edi, edi
jge 0x4579f3
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4663ec]
call fcn.0044cf50
test eax, eax
pop ecx
pop ecx
je 0x45793d
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x4663ec], eax
cmp dword [ebp + 0xc], 0
je 0x457a76
push esi
call fcn.004494b0
inc eax
inc eax
push eax
call fcn.0044948f
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x457a76
push esi
push edi
call fcn.00449540
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
test eax, eax
jne 0x457a6f
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00449638
pop ecx
cmp dword [ebp - 4], 0
je 0x457a83
push esi
call fcn.00449638
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x457940
push esi
call fcn.00449638
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x45794a
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
mov ebx, 0x408ed0
mov ecx, 0x73627399
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x3908656d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1006e4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 0x39], cl
test dword [esp + eax], edx
add byte [eax], al
mov dword [ebp + 0x49c], 0
mov dword [ebp + 0x4a0], 0x1000000
mov dword [ebp + 0x4a4], 0x2000000
mov dword [ebp + 0x4a8], 0x8000000
mov dword [ebp + 0x4ac], 0xffffffff
mov dword [ebp + 0x4b0], 0x4892e692
mov dword [ebp + 0x4b4], 0xfcffff01
dec eax
mov dword [ebp + 0x4b8], 0x38
mov dword [ebp + 0x4c0], 0x544d4c04
mov dword [ebp + 0x4c4], 0x544d4700
mov dword [ebp + 0x4c8], 0x4d470a00
mov word [ebp + 0x4cc], 0x3054
mov byte [ebp + 0x4ce], 0xa
dec eax
lea eax, [ebp + 0x480]
dec eax
mov dword [esp + 0x20], eax
dec eax
lea eax, [ebp + 0x4cf]
dec eax
mov dword [esp + 0x28], eax
dec eax
lea edx, [esp + 0x20]
dec eax
lea ecx, [ebp + 0x1ee0]
call 0x1449340
nop
dec eax
lea eax, [0x12c7bcf]
dec eax
mov dword [ebp + 0x2400], eax
Function at 0x10070b1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx], dh
add byte [eax], al
add byte [eax - 0x39], cl
test dword [eax + edx], ebx
add byte [eax], al

Function at 0x1007147
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test esp, esp
adc byte [eax], al
add byte [ecx], al
add al, byte [ecx]
add eax, edi
test eax, ebp
adc byte [eax], al
add byte [edx], al
add byte [eax], al
and al, bh
test esp, ebp
adc byte [eax], al
add byte [eax + eax - 0x7a390000], al
lock adc byte [eax], al
add byte [eax], al
and ebp, dword [eax]
add bh, al
test esp, esi
adc byte [eax], al
add byte [eax + eax], al
add byte [edx], ch