joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xdedd6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0xe0b73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0xe0b73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0xe0a538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdedd72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401015
Capabilities:
Create process on windows
Create thread
Get common file path
Resume thread
Suspend thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0xa
mov dword [0x40bfb0], 9
call fcn.0040394b
mov dword [esp], str.UsaShohdi
push eax
mov dword [0x40bfa0], eax
call fcn.004037e0
mov edi, 0x40bfa8
push 0x40b044
push edi
call fcn.004037e0
push 0x40b040
push 0x40bfac
call fcn.004037e0
mov eax, dword [esp + 0x30]
mov esi, 0x12c
push esi
mov dword [0x40bfa4], eax
call fcn.0040394b
push esi
mov dword [0x40bfc0], eax
call fcn.0040394b
push esi
mov dword [0x40bfb8], eax
call fcn.0040394b
push esi
mov dword [0x40bfbc], eax
call fcn.0040394b
push dword [0x40bfb8]
mov dword [0x40bfc4], eax
push dword [0x40bfc0]
call fcn.00401c44
push dword [0x40bfc0]
call fcn.004038d0
mov ecx, eax
mov eax, dword [0x40bfc0]
add esp, 0x34
xor ebx, ebx
cmp byte [ecx + eax - 1], 0x22
jne 0x4010d6
push eax
call fcn.004038d0
pop ecx
mov ecx, dword [0x40bfc0]
mov byte [eax + ecx - 1], bl
push dword [0x40bfb8]
call fcn.004038d0
pop ecx
mov ecx, eax
mov eax, dword [0x40bfb8]
cmp byte [ecx + eax - 1], 0x22
jne 0x401101
push eax
call fcn.004038d0
pop ecx
mov ecx, dword [0x40bfb8]
mov byte [eax + ecx - 1], bl
push esi
push dword [0x40bfbc]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push dword [0x40bfc4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x3e8
call fcn.0040394b
push dword [0x40bfc0]
mov esi, eax
push esi
call fcn.004037e0
add esp, 0xc
push edi
push esi
call fcn.004038d0
pop ecx
lea eax, [eax + esi - 3]
push eax
call fcn.004037e0
push esi
call fcn.004038d0
add eax, dword [0x40bfb8]
push eax
push esi
call fcn.004037f0
push dword [0x40bfc0]
call fcn.00401734
add esp, 0x18
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [0x40bfa0]
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
call esi
test eax, eax
je 0x40119b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x4015fb
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x401709
push 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push ebx
push edi
call esi
test eax, eax
je 0x4011b9
push 0x64
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x384
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4011d3
Function at 0x401a1d
Capabilities:
Move file

Disassembly:
mov eax, 0x4080c4
call fcn.00403d38
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 8]
push edi
call fcn.00401986
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push ebx
push edi
call fcn.00401986
add esp, 0x10
cmp eax, 0x989680
mov dword [ebp - 0x14], eax
jg 0x401c1e
push ebx
call fcn.004038d0
inc eax
push eax
call fcn.0040394b
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x18], esi
call fcn.004037e0
add esp, 0x10
push 0x40bfa8
push esi
call fcn.004038d0
pop ecx
lea eax, [eax + esi - 3]
push eax
call fcn.004037e0
pop ecx
pop ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401c1e
push 0x40
call fcn.0040394b
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, edi
mov dword [ebp - 4], edi
mov ebx, 0x80
je 0x401ac8
push 1
mov ecx, eax
push dword [0x409140]
push ebx
push dword [ebp + 8]
call fcn.0040284f
mov esi, eax
jmp 0x401aca
xor esi, esi
or dword [ebp - 4], 0xffffffff
push 0x3c
call fcn.0040394b
pop ecx
mov dword [ebp - 0x1c], eax
push 1
cmp eax, edi
pop ecx
mov dword [ebp - 4], ecx
je 0x401af7
push ecx
mov ecx, eax
push dword [0x409140]
push ebx
push dword [ebp + 0xc]
call fcn.0040272b
mov edi, eax
push dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
call fcn.004018ad
test al, al
pop ecx
je 0x401b33
push 2
push 0xfffffffffffffff8
pop eax
mov ecx, esi
sub eax, dword [0x40bfb0]
push eax
call fcn.004029fb
lea eax, [ebp - 0x10]
push 4
push eax
mov ecx, esi
call fcn.004029ba
push 0
push 0
mov ecx, esi
call fcn.004029fb
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.0040394b
pop ecx
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004029ba
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp + 8]
call fcn.00402977
push dword [ebp + 8]
call fcn.00403959
pop ecx
mov ecx, esi
call fcn.004027f5
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0040394b
pop ecx
mov dword [ebp + 8], eax
push dword [0x409140]
mov ecx, esi
push ebx
push dword [ebp - 0x18]
call fcn.00402919
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.004029ba
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.00402977
mov ecx, esi
call fcn.004027f5
push dword [ebp + 8]
call fcn.00403959
pop ecx
lea eax, [ebp - 0x10]
push 4
push eax
mov ecx, edi
call fcn.00402977
lea eax, [ebp - 0x14]
push 4
push eax
mov ecx, edi
call fcn.00402977
push dword [0x40bfb0]
mov ecx, edi
push dword [0x40bfa0]
call fcn.00402977
mov ecx, edi
call fcn.004027f5
test esi, esi
je 0x401bf9
mov eax, dword [esi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + esi]
mov eax, dword [eax + esi]
call dword [eax]
test edi, edi
je 0x401c0c
mov eax, dword [edi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + edi]
mov eax, dword [eax + edi]
call dword [eax]
push dword [ebp - 0x18]
call fcn.00401c2d
push dword [ebp - 0x18]
call fcn.00403959
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401c2d
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret

Function at 0x401c44
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x1f4
push edi
call fcn.0040394b
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call fcn.004037e0
cmp byte [esi], 0x22
pop ecx
pop ecx
jne 0x401c8a
push esi
call fcn.004038d0
dec eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00401d73
push eax
push esi
call fcn.004037e0
add esp, 0x14
xor eax, eax
cmp byte [eax + esi], 0x22
jne 0x401c96
and byte [eax + esi], 0
inc eax
cmp eax, edi
jl 0x401c8c
push esi
xor edi, edi
call fcn.004038d0
dec eax
pop ecx
dec eax
test eax, eax
jle 0x401cdb
mov al, byte [edi + esi]
cmp al, 0x65
je 0x401cb5
cmp al, 0x45
jne 0x401ccd
mov al, byte [edi + esi + 1]
cmp al, 0x78
je 0x401cc1
cmp al, 0x58
jne 0x401ccd
mov al, byte [edi + esi + 2]
cmp al, 0x65
je 0x401cdb
cmp al, 0x45
je 0x401cdb
push esi
inc edi
call fcn.004038d0
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401caa
push esi
call fcn.004038d0
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401cff
push esi
push dword [ebp + 8]
call fcn.004037e0
push esi
push dword [ebp + 0xc]
call fcn.004037e0
add esp, 0x10
jmp 0x401d24
lea eax, [ebp - 4]
add edi, 3
push eax
push esi
mov dword [ebp - 4], edi
call fcn.00401dd0
push eax
push dword [ebp + 8]
call fcn.004037e0
push esi
push dword [ebp + 0xc]
call fcn.004037e0
add esp, 0x18
push esi
call fcn.00403959
pop ecx
pop edi
pop esi
leave
ret
Function at 0x406315
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40ba88
cmp edx, dword [eax]
je 0x406337
add eax, 8
inc ecx
cmp eax, 0x40bb18
jl 0x406328
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40ba88]
jne 0x406465
mov eax, dword [0x40bfd4]
cmp eax, 1
je 0x40643f
test eax, eax
jne 0x406368
cmp dword [0x40b734], 1
je 0x40643f
cmp edx, 0xfc
je 0x406465
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40639f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409584
push edi
call fcn.004077e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037f0
lea eax, [ebp - 0xa0]
push 0x409564
push eax
call fcn.004037f0
push dword [esi + 0x40ba8c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407756
add esp, 0x2c
pop edi
jmp 0x406465
lea eax, [ebp + 8]
lea esi, [esi + 0x40ba8c]
push 0
push eax
push dword [esi]
call fcn.004038d0
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]
pop esi
leave
ret
Function at 0x401db3
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi + 0x3a], 0
jne 0x401f36
mov ebx, dword [ebp + 0xc]
movzx eax, word [ebx + 0x86]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call dword [0x48f634]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x48]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp + 8], edi
test ecx, ecx
je 0x43bc81
test eax, eax
je 0x43bc98
cmp dword [esi + 0x19c], 0
jne 0x43bcaf
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [0x48f694]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
mov ax, word [esi + 0x58]
cmp byte [edi + 0x90], 7
inc ebp
fcom qword [eax - 1]
aaa
dec eax
or al, 0xe9
inc esi
popal
cld
dec dword [ebx + 0x452be445]
fsub qword [esi - 0x77]
xchg dword [ebp + eax*2 + 0x2de9000c], ecx
arpl sp, di
cld
dec dword [ebx + 0x452be845]
loopne 0x43bd1e
mov dword [edi - 0x7cffff72], eax
jmp 0x401f6f
popal

Function at 0x45fab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x83420f78
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call 0x91421002
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x45fb0b
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45fb02
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x468843
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
lodsb al, byte [esi]
cmp eax, 0x7e
adc edi, edi
jne 0x468853
call 0x93f0b5b
jne 0x468860
call 0x887144d
ret
test byte [ebx - 0x743cf7c0], 1
ret
inc edx
rol bl, 0x8b
inc ecx
Function at 0x333470
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44f584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x33349a
mov eax, dword [ebx]
jmp 0x33349c
mov eax, ebx
mov byte [eax], 0
call fcn.0037da70
mov esi, eax
test esi, esi
jne 0x3334c0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00332fd0
push 1
push 0x34
push esi
call fcn.0037dab0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0037dab0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0037dab0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0037dab0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x333511
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0037dab0
add esp, 0xc
push 0x3335d0
push 0x4e2b
push esi
call fcn.0037dab0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0037dab0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0037dab0
add esp, 0xc
push esi
call fcn.0037dae0
add esp, 4
test eax, eax
je 0x333565
mov dword [ebp - 0x24], 0x13ab
jmp 0x333599
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0037dc40
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x333585
cmp eax, 0xc8
je 0x333599
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0037dbe0
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x3335b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.003b25e4
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x335e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x44f584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.003b6830
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x335ea7
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x335ea0
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x335e8e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x335eba
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x335e71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.003b2239
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.003b2239
mov esp, ebp
pop ebp
ret 4

Function at 0x336500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.003b84b0
mov eax, dword [0x44f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.003b3565
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x3377c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x44f584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x3377f2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.00337920
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.003b6830
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x337820
sub eax, edx
inc eax
cmp eax, edi
je 0x337846
cmp eax, 0x7fffffff
ja 0x337846
push esi
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x108]
call fcn.00336ed0
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x33785c
inc eax
dec edx
jne 0x337851
jmp 0x337884
cmp edx, edi
je 0x337884
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x43e3e0
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00336ed0
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x3378d0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x3378f5
cmp edi, 0x20
jne 0x33790d
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x3378d0
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x3386e0
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x3386f9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x3386f9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x3386fc
xor eax, eax
ret
add eax, 0x18
ret
Function at 0x33e290
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xfa0
jae 0x33e2e1
jmp 0x33e2b0
push str.www.baidu.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x33e2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xfa0
jb 0x33e2b0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
ret

Function at 0x33e300
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x288
mov esi, eax
mov dword [ebp - 8], 0x288
call fcn.003b4af4
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x33e410
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x33e360
push ebx
call fcn.003b4a7a
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call fcn.003b4af4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test eax, eax
je 0x33e410
lea edx, [ebp - 8]
push edx
push ebx
call edi
test eax, eax
jne 0x33e410
mov edi, ebx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x33e410
jmp 0x33e383
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x198]
lea edx, [edi + 0x1b0]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x33e403
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x21], 0
jne 0x33e3c6
cmp dword [ecx + 0x10], eax
jae 0x33e3bc
mov ecx, dword [ecx + 8]
jmp 0x33e3c0
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x21], 0
je 0x33e3b2
cmp ebx, dword [esi + 4]
je 0x33e3d0
cmp eax, dword [ebx + 0x10]
jae 0x33e3f4
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0033ede0
push ebx
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.0033e970
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x33e380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x33e425
push ebx
call fcn.003b4a7a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x33ef10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x33ef33
push edi
movzx edi, byte [edx]
mov eax, dword [esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43caa8]
inc edx
dec ecx
mov dword [esi], eax
jne 0x33ef15
pop edi
ret