joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d70
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call fcn.00403d30
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x403dff
cmp al, 9
je 0x403df0
cmp al, 0x20
je 0x403df0
xor esi, esi
mov dword [ebp - 0x6c], 0
lea esi, [esi]
cmp al, 0x5c
je 0x403e58
cmp al, 0x22
je 0x403e68
mov dword [ebp - 0x6c], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x403dff
cmp al, 9
sete dl
cmp al, 0x20
sete cl
or dl, cl
je 0x403db0
test esi, 1
jne 0x403db0
lea esi, [esi]
nop
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x403df0
cmp al, 0x20
je 0x403df0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x403e1a
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00403b00
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x403dc7
and dword [ebp - 0x6c], 1
jne 0x403dc0
xor esi, 1
jmp 0x403dc7

Function at 0x401950
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40198f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40198f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40198f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40198f
cmp dword [ecx + 0x74], 0xe
jbe 0x40198f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4c8cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
push edi
jmp 0x4c8cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8cc0
mov eax, 1
add ebx, ebx
jne 0x4c8ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8cf4
jne 0x4c8d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d13
dec eax
add ebx, ebx
jne 0x4c8d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8cd8
add ebx, ebx
jne 0x4c8d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c8d65
xor ecx, ecx
sub eax, 3
jb 0x4c8d2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c8d9a
sar eax, 1
mov ebp, eax
jmp 0x4c8d36
add ebx, ebx
jne 0x4c8d36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d04
inc ecx
add ebx, ebx
jne 0x4c8d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d04
add ebx, ebx
jne 0x4c8d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c8d46
jne 0x4c8d62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c8d46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c8d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c8d76
jmp 0x4c8cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c8d84
add edi, ecx
jmp 0x4c8cc6
pop esi
mov edi, esi
mov ecx, 0x4aff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8da2
cmp byte [edi], 0xd
jne 0x4c8da2
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 0x4c8da7
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c8e1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcb758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcb888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c8dd4
mov ecx, edi
jns 0x4c8e03
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 + 0xcb890]
or eax, eax
je 0x4c8e19
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8df1
call dword [esi + 0xcb88c]
mov ebp, dword [esi + 0xcb894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4c8e53
sub esp, 0xffffff80
jmp 0x46a046
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x7a5c1e7d
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
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
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x24f3258
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x401012
mov eax, 1
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
test edi, edi
je 0x401027
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40a290
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esi + 8]
test edi, 0x10000
je 0x40104d
push 0
push 0
push 0xc0000025
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
test edi, 0x20000
je 0x401062
push 0
push ebx
push 0
call fcn.004018ff
add esp, 0xc
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x401070
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
jne 0x401082
mov eax, 2
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
test edi, edi
je 0x401097
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40a290
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esi + 8]
test edi, 0x10000
je 0x4010bd
push 0
push 0
push 0xc0000025
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
test edi, 0x20000
je 0x4010d2
push 0
push ebx
push 0
call fcn.004018ff
add esp, 0xc
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4010e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 3
jne 0x4010f2
mov eax, 3
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
test edi, edi
je 0x401107
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40a290
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esi + 8]
test edi, 0x10000
je 0x40112d
push 0
push 0
push 0xc0000025
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
test edi, 0x20000
je 0x401142
push 0
push ebx
push 0
call fcn.004018ff
add esp, 0xc
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x401150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 4
jne 0x401162
mov eax, 4
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
test edi, edi
je 0x401177
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40a290
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esi + 8]
test edi, 0x10000
je 0x40119d
push 0
push 0
push 0xc0000025
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
test edi, 0x20000
je 0x4011b2
push 0
push ebx
push 0
call fcn.004018ff
add esp, 0xc
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4011c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4011cf
xor eax, eax
pop ebp
ret 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi]
test edi, edi
je 0x4011e4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40a290
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esi + 8]
test edi, 0x10000
je 0x40120a
push 0
push 0
push 0xc0000025
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
test edi, 0x20000
je 0x40121f
push 0
push ebx
push 0
call fcn.004018ff
add esp, 0xc
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x401540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00408aed
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40155f
call fcn.00406997
call fcn.004017ad
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov esi, dword [eax + 0x44]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00401230
mov eax, dword [ebp - 4]
add esp, 0x14
lea ebx, [eax*4]
mov eax, dword [ebp - 8]
inc eax
lea eax, [ebx + eax*2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x4015b3
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [edi + ebx]
push eax
push edi
push esi
call fcn.00401230
mov ebx, dword [ebp - 4]
add esp, 0x14
dec ebx
mov dword [ebp - 0x1c], 0x401460
mov dword [ebp - 0x18], 0x401480
mov dword [ebp - 0x14], 0x4014a0
mov dword [ebp - 0x10], 0x401500
mov dword [ebp - 0xc], 0x401520
cmp ebx, 5
jae 0x40161c
push 0x80070057
push 0x80004004
push esi
mov esi, dword [ebp + ebx*4 - 0x1c]
mov ecx, esi
push 0
push dword [edi + ebx*4 - 4]
push ebx
call dword [0x40a11c]
call esi
add esp, 0x18
mov esi, eax
jmp 0x401621
mov esi, 0x80004001
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
jne 0x401636
push 1
call fcn.004017bf
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401d03
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40a918
push 0x40a910
push 0x40a918
push 0x1f
call fcn.00401c3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x401d37
push dword [ebp + 8]
mov ecx, esi
call dword [0x40a11c]
call esi
jmp 0x401d3d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x401d81
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40a93c
push 0x40a934
push 0x40a93c
push 0x21
call fcn.00401c3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x401db8
push dword [ebp + 8]
mov ecx, esi
call dword [0x40a11c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x401dc0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40a950
push 0x40a948
push 0x40a950
push 0x22
call fcn.00401c3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x401dfa
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40a11c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x403963
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4039a2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4039a2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4039a2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4039a2
cmp dword [ecx + 0x74], 0xe
jbe 0x4039a2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408eb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408edd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408edd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3d8d6a04
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7c217fc3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40d8b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x40d8f6
call fcn.00410480
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40d8f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40d8ed
xor eax, eax
jmp 0x40d8fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040d904
pop edi
pop esi
pop ebx
ret 4

Function at 0x41096d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41099b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4109b9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004108d3
jmp 0x4109b9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4109b9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004108d3
test edi, edi
mov eax, edi
jne 0x4109a3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402720
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.624626
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40275e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x4027cb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40837c
call section..text
add esp, 4
push eax
push 0x404e20
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x40281e
push 0xcdfe600
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402808
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x409e9b
pop dword [ebp - 0x2c]
mov eax, 0x6c69dbb1
add eax, 0x93d6c2ea
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x4c434037
sub dword [ebp - 0x3c], 0xfdf0faec
mov dword [ebp - 0x38], 0x7453186e
add dword [ebp - 0x38], 0xbde033d7
mov dword [ebp - 0x34], 0xfdc47435
sub dword [ebp - 0x34], 0xb1783007
mov dword [ebp - 0x30], 0xf4e4d61e
sub dword [ebp - 0x30], 0xf4e4d61e
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xac0c5956
sub eax, 0xabcb8902
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xcfe37c6d
add dword [ebp - 0x3c], 0xa48eece9
mov dword [ebp - 0x38], 0x7e4c4e50
add dword [ebp - 0x38], 0xc3201325
mov dword [ebp - 0x34], 0xcc55c0d6
sub dword [ebp - 0x34], 0x68e6546a
mov dword [ebp - 0x30], 0x255be51c
add dword [ebp - 0x30], 0xdaa41ae4
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd12
push 0
call eax
mov ecx, 0xb6b974fe
sub ecx, 0xb6b92445
xor edi, edi
add edi, eax
mov esi, 0xc55dffc0
sub esi, 0xc51c4fc0
add esi, dword [ebp - 0x2c]
mov ebx, 0x766576cb
add ebx, 0x9fedeb4f
xor dword [ebp - 4], 0x5692fd1d
mov edx, dword [esi]
mov dword [ebp - 0x10], 0x9173f6cc
sub edx, ebx
xor dword [ebp - 0x24], esi
mov dword [edi], edx
xor dword [ebp - 0x20], edx
add edi, 4
add esi, 4
loop 0x409fba
add eax, 0x135b7
mov ebx, eax
add eax, 0xaa6c5d47
add eax, 0x5593a2be
mov ecx, 0x6aaa721e
add ecx, 0x95958de2
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x407467
pop dword [ebp - 0x40]
mov eax, 0x11505d4f
add eax, 0xeef01718
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x65b943e2
add dword [ebp - 0x50], 0xe8990169
mov dword [ebp - 0x4c], 0xaf098bac
add dword [ebp - 0x4c], 0x8329c099
mov dword [ebp - 0x48], 0xd194b8b5
sub dword [ebp - 0x48], 0x85487487
mov dword [ebp - 0x44], 0x21ac3809
sub dword [ebp - 0x44], 0x21ac3809
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd0b0356a
sub dword [ebp - 0x50], 0x5c3dcc14
mov dword [ebp - 0x4c], 0xd53c86d1
add dword [ebp - 0x4c], 0x6c2fdaa4
mov dword [ebp - 0x48], 0x523e1c97
add dword [ebp - 0x48], 0x11314fd5
mov dword [ebp - 0x44], 0xe89e6ba2
sub dword [ebp - 0x44], 0xe89e6ba2
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x38b10
push 0
call eax
mov ecx, 0xa9f1dbd8
sub ecx, 0xa9f18d7c
xor edx, edx
add edx, eax
mov esi, 0xabfaa5d2
add esi, 0x544a6e2e
add esi, dword [ebp - 0x40]
mov ebx, 0x8843d173
sub dword [ebp - 0x30], 0xd3352474
mov edi, dword [esi]
xor dword [ebp - 0x10], edi
add edi, ebx
sub dword [ebp - 0x3c], 0x16acb96d
mov dword [edx], edi
xor dword [ebp - 0x2c], 0x70a02877
add edx, 0xe5161347
add edx, 0x1ae9ecbd
add esi, 0x51f0a791
add esi, 0xae0f5873
loop 0x40757b
add eax, 0x12c43
mov ebx, eax
add eax, 5
mov ecx, 0xac078df5
sub ecx, 0xabc78df5
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40178a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
call fcn.0040179e
Function at 0x40453c
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x706168]
test eax, 0x7fffffff
jne 0x40454f
mov al, 1
pop ebp
ret
pop ebp
jmp fcn.005241b0
Function at 0x4171ff
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
lea esi, [ebp - 0x18]
mov ecx, esi
call fcn.0040987f
cmp byte [esi + 4], 0
je 0x41722e
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push 9
push 0x626041
call fcn.00439226
pop eax
pop ecx
jmp 0x417297
mov ecx, dword [ebp - 0x18]
call fcn.00438bf4
lea esi, [ebp - 0x40]
mov edx, eax
mov ecx, esi
call fcn.004395bc
cmp dword [esi], 0
je 0x417293
movsx eax, word [ebp - 0x38]
movsx edi, word [ebp - 0x36]
lea ebx, [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
and dword [ebp - 0x48], 0
and dword [ebx], 0
imul edi, eax
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x10], eax
push ebx
push 0
push edi
push 0x20
push esi
call sub.KERNEL32.DLL_FillConsoleOutputCharacterA
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
push ebx
push eax
push edi
push dword [ebp - 0x10]
push esi
call sub.KERNEL32.DLL_FillConsoleOutputAttribute
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
push eax
push esi
call sub.KERNEL32.DLL_SetConsoleCursorPosition
mov byte [ebp - 0x40], 4
lea ecx, [ebp - 0x18]
call fcn.004051f6
lea ecx, [ebp - 0x40]
call fcn.0045d60c
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret