joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d02a
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 0x40d1fe
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x41d820]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40d1fe
test cl, 0x48
je 0x40d095
cmp byte [eax + 5], 0xa
je 0x40d095
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 0x40d0e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40d0cf
call fcn.0040d561
mov dword [eax], 9
call fcn.0040d56a
mov dword [eax], esi
jmp 0x40d0df
cmp eax, 0x6d
je 0x40d1fe
push eax
call fcn.0040d573
pop ecx
or eax, 0xffffffff
jmp 0x40d200
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x40d1f9
test eax, eax
je 0x40d10e
cmp byte [ebx], 0xa
jne 0x40d10e
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x40d117
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 0x40d1f3
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40d1e3
cmp al, 0xd
je 0x40d149
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40d1d5
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40d163
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40d15e
add dword [ebp + 0x10], 2
jmp 0x40d1b7
mov dword [ebp + 0x10], eax
jmp 0x40d1d1
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 0x40d18b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40d1d1
cmp dword [ebp - 0xc], 0
je 0x40d1d1
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40d1ac
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40d1b7
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40d1d4
cmp ebx, dword [ebp + 0xc]
jne 0x40d1bc
cmp byte [ebp - 1], 0xa
jne 0x40d1bc
mov byte [ebx], 0xa
jmp 0x40d1d4
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040eaa2
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40d1d5
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40d12d
jmp 0x40d1f3
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x40d1f3
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 0x40d200
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41052e
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.004099d0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4105c9
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 [0x41d328]
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 0x4105c9
cmp eax, 1
je 0x4105ea
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 0x4105c9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x410596
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4105c5
xor eax, eax
inc eax
jmp 0x410609
cmp edi, eax
jae 0x4105cd
xor eax, eax
jmp 0x410609
cmp eax, esi
jae 0x4105d4
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 [0x41d328]
jmp 0x4105ed
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 0x410718
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x41c844]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x41caf0]
je 0x41074d
inc eax
cmp eax, 0x13
jb 0x41073e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x41caf0]
jne 0x410873
mov eax, dword [0x41d374]
cmp eax, 1
je 0x41084b
cmp eax, edx
jne 0x41077d
cmp dword [0x41c224], 1
je 0x41084b
cmp ecx, 0xfc
je 0x410873
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4107b3
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00408af0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.004086a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4107e7
mov eax, edi
push eax
call fcn.004086a0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4199a0
push edi
call fcn.0040ee90
add esp, 0x10
push edi
call fcn.004086a0
push dword [esi + 0x41caf4]
mov ebx, eax
call fcn.004086a0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004099d0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00408af0
push edi
push ebx
call fcn.00408b00
push 0x419980
push ebx
call fcn.00408b00
push dword [esi + 0x41caf4]
push ebx
call fcn.00408b00
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00412c21
add esp, 0x2c
jmp 0x410873
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x41caf4]
push dword [esi]
call fcn.004086a0
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]
mov ecx, dword [ebp + 0x88]
call fcn.0041106b
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4111cf
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 0x4111fd
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 0x411204
cmp ebx, dword [eax + 4]
jae 0x411204
xor eax, eax
jmp 0x4113f4
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x411215
xor eax, eax
inc eax
jmp 0x4113f3
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41122b
cmp ecx, edx
jae 0x411370
cmp dword [eax + 4], 0
je 0x411234
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x41121c
cmp dword [ebp + 8], 0
je 0x411256
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x411370
cmp eax, esi
jae 0x411370
mov eax, dword [0x41d720]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41127b
cmp dword [esi*4 + 0x41d728], edi
je 0x411374
inc esi
cmp esi, eax
jl 0x411269
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4113f0
cmp dword [ebp - 8], 0x1000000
jne 0x4113f0
test byte [ebp - 0xc], 0xcc
je 0x4112f9
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4113f0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4113f0
cmp word [eax + 0x18], 0x10b
jne 0x4113f0
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4113f0
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4112f9
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4112f9
test byte [ecx + 0x27], 0x80
jne 0x411370
push 1
push 0x41d768
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x41120d
mov ecx, dword [0x41d720]
test ecx, ecx
mov edx, ecx
jle 0x41132d
lea eax, [ecx*4 + 0x41d724]
cmp dword [eax], edi
je 0x41132d
dec edx
sub eax, 4
test edx, edx
jg 0x411321
test edx, edx
jne 0x41135e
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41133a
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x411352
lea eax, [edx*4 + 0x41d728]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x411340
cmp ecx, 0x10
jge 0x41135e
inc ecx
mov dword [0x41d720], ecx
push 0
push 0x41d768
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41120d
xor eax, eax
jmp 0x4113f3
test esi, esi
jle 0x41120d
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x41d768
call ebx
test eax, eax
jne 0x41120d
cmp dword [esi*4 + 0x41d728], edi
je 0x4113ca
mov eax, dword [0x41d720]
lea esi, [eax - 1]
test esi, esi
jl 0x4113b8
cmp dword [esi*4 + 0x41d728], edi
je 0x4113b4
dec esi
jns 0x4113a8
test esi, esi
jge 0x4113c8
cmp eax, 0x10
jge 0x4113c3
inc eax
mov dword [0x41d720], eax
lea esi, [eax - 1]
jmp 0x4113ca
je 0x4113e2
xor ecx, ecx
test esi, esi
jl 0x4113e2
lea eax, [ecx*4 + 0x41d728]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4113d0
push 0
push 0x41d768
call ebx
jmp 0x41120d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412c21
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x41d7c4], ebx
push esi
push edi
jne 0x412ca1
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x412cdc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419fec
push edi
call esi
test eax, eax
mov dword [0x41d7c4], eax
je 0x412cdc
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x41d7c8], eax
call esi
cmp dword [0x41d328], 2
mov dword [0x41d7cc], eax
jne 0x412ca1
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x41d7d4], eax
je 0x412ca1
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x41d7d0], eax
mov eax, dword [0x41d7d0]
test eax, eax
je 0x412ce6
call eax
test eax, eax
je 0x412ccd
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x41d7d4]
test eax, eax
je 0x412ccd
test byte [ebp - 8], 1
jne 0x412ce6
cmp dword [0x41d334], 4
jb 0x412ce0
or byte [ebp + 0x12], 0x20
jmp 0x412d05
xor eax, eax
jmp 0x412d15
or byte [ebp + 0x12], 4
jmp 0x412d05
mov eax, dword [0x41d7c8]
test eax, eax
je 0x412d05
call eax
mov ebx, eax
test ebx, ebx
je 0x412d05
mov eax, dword [0x41d7cc]
test eax, eax
je 0x412d05
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x41d7c4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412f0c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004099d0
mov eax, dword [0x41c844]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0040eaa2
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x41303f
push 2
push esi
push dword [ebp + 8]
call fcn.0040eaa2
add esp, 0xc
cmp eax, ebx
je 0x41303f
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x412fdf
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004082e0
push 0x8000
push dword [ebp + 8]
call fcn.00413b4c
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x412f95
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0040ca06
add esp, 0xc
cmp eax, 0xffffffff
je 0x412fb5
sub edi, eax
test edi, edi
jg 0x412f8d
jmp 0x412fcd
call fcn.0040d56a
cmp dword [eax], 5
jne 0x412fca
call fcn.0040d561
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00413b4c
pop ecx
pop ecx
jmp 0x413027
jge 0x413027
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040eaa2
push dword [ebp + 8]
call fcn.004115e4
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 0x413027
call fcn.0040d561
mov dword [eax], 0xd
call fcn.0040d56a
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.0040eaa2
add esp, 0xc
mov eax, esi
pop edi
jmp 0x413041
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0041106b
leave
ret
Function at 0x41431f
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 0x414338
or eax, 0xffffffff
jmp 0x414399
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x414395
push 0x3d
push esi
call fcn.00409c92
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x414395
cmp esi, eax
je 0x414395
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x41d348]
sete cl
cmp eax, dword [0x41d34c]
mov dword [ebp - 8], ecx
jne 0x41437b
mov edi, eax
call fcn.004142be
mov dword [0x41d348], eax
cmp eax, ebx
jne 0x4143d4
cmp dword [ebp + 0xc], ebx
je 0x41439d
cmp dword [0x41d350], ebx
je 0x41439d
call fcn.00413abc
test eax, eax
je 0x4143d4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4143a6
xor eax, eax
jmp 0x414398
push 4
call fcn.00408a60
cmp eax, ebx
pop ecx
mov dword [0x41d348], eax
je 0x414395
mov dword [eax], ebx
cmp dword [0x41d350], ebx
jne 0x4143d4
push 4
call fcn.00408a60
cmp eax, ebx
pop ecx
mov dword [0x41d350], eax
je 0x414395
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x41d348]
call fcn.00414271
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x414435
cmp dword [esi], ebx
je 0x414435
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00408a72
cmp dword [ebp - 8], ebx
pop ecx
jne 0x414418
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x414476
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x41440f
mov eax, edi
shl eax, 2
push eax
push dword [0x41d348]
call fcn.00408796
cmp eax, ebx
pop ecx
pop ecx
je 0x414476
jmp 0x414471
cmp dword [ebp - 8], ebx
jne 0x4144e1
cmp edi, ebx
jge 0x414444
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x41d348]
call fcn.00408796
cmp eax, ebx
pop ecx
pop ecx
je 0x414395
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x41d348], eax
cmp dword [ebp + 0xc], ebx
je 0x4144cb
push dword [ebp - 4]
call fcn.004086a0
inc eax
inc eax
push eax
call fcn.00408a60
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4144cb
push dword [ebp - 4]
push esi
call fcn.00408af0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
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 0x4144c4
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00408a72
pop ecx
cmp dword [ebp - 8], ebx
je 0x4144d9
push dword [ebp - 4]
call fcn.00408a72
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x414398
push dword [ebp - 4]
call fcn.00408a72
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4143a2
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0xc36b3d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c36b3d
ret
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
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 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
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 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xd057b19
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x70696686
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
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
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1a85034e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1954e28
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x415042
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x431af8
call fcn.00419c30
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x414f43
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x414f43
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x414f43
cmp dword [eax + 0x400074], 0xe
jbe 0x414f43
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x414f47
and dword [ebp - 0x1c], 0
push 1
call fcn.0041be16
pop ecx
test eax, eax
jne 0x414f5b
push 0x1c
call fcn.00414ec8
pop ecx
call fcn.004196c6
test eax, eax
jne 0x414f6c
push 0x10
call fcn.00414ec8
pop ecx
call fcn.0041eff7
and dword [ebp - 4], 0
call fcn.0041ae57
test eax, eax
jge 0x414f86
push 0x1b
call fcn.00419926
pop ecx
call sub.KERNEL32.dll_GetCommandLineW
mov dword [0x439adc], eax
call fcn.0041ef97
mov dword [0x437cdc], eax
call fcn.0041eee9
test eax, eax
jge 0x414fab
push 8
call fcn.00419926
pop ecx
call fcn.0041ecba
test eax, eax
jge 0x414fbc
push 9
call fcn.00419926
pop ecx
push 1
call fcn.004199e5
pop ecx
test eax, eax
je 0x414fcf
push eax
call fcn.00419926
pop ecx
mov eax, dword [0x438044]
mov dword [0x438048], eax
push eax
push dword [0x438038]
push dword [0x438030]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x414ffd
push eax
call fcn.00419b96
call fcn.00419bc2
jmp 0x415032
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00419c75
ret
call 0x4ce000
jmp 0x414ef1
Function at 0x6f5a3a
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
xor esi, esi
sub edx, esi
je 0x6f5a9a
dec edx
je 0x6f5a76
dec edx
jne 0x6f5abc
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
jmp 0x6f5abc
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
jmp 0x6f5abc
mov dword [eax + 0x10], 0x67452301
mov dword [eax + 0x14], 0xefcdab89
mov dword [eax + 0x18], 0x98badcfe
mov dword [eax + 0x1c], 0x10325476
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov ecx, dword [ecx]
add ecx, 0xa0
pop esi
jmp 0x3f4d73
Function at 0x715e07
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x727f29
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x8b0370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, esi
call fcn.003dcc21
mov edi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.003dd3db
and dword [esp + 0x30], 0
mov ecx, edi
call 0x48abb4
movzx eax, al
push eax
lea ecx, [esp + 0x18]
call 0x401f13
or edi, 0xffffffff
push edi
push 0x88dc08
mov byte [esp + 0x38], 1
call fcn.003e3fd4
pop ecx
pop ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x38], 2
call fcn.003d83c7
mov ecx, eax
call fcn.003d1b63
lea ecx, [esp + 0x14]
push ecx
push eax
call 0x3d5a22
pop ecx
pop ecx
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x715ebe
push dword [esp + 0xc]
call fcn.003e0faa
pop ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00401234
push esi
call fcn.00715b8e
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x10]
lock xadd dword [eax], edi
jne 0x715eea
push dword [esp + 0x10]
call fcn.003e0faa
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret