joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f2c4
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x14
mov eax, 0x466edb
call fcn.0044bacc
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x43f2e4
mov eax, dword [edi]
jmp 0x43f2e6
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f34e
cmp dword [esi + 0x18], 8
jb 0x43f2fb
mov eax, dword [edi]
jmp 0x43f2fd
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f34e
lea eax, [ebp - 0x14]
push eax
call fcn.00429cf6
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x18], 8
mov ebx, dword [eax]
jb 0x43f327
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push ebx
push edi
push str.Failed_to_delete_fileName__S_:__S
mov esi, eax
call fcn.00408ffd
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040eb78
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
jb 0x43f35e
mov eax, dword [esi]
jmp 0x43f360
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f3c8
cmp dword [ebx + 0x18], 8
jb 0x43f375
mov eax, dword [esi]
jmp 0x43f377
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f3c8
lea eax, [ebp - 0x18]
push eax
call fcn.00429cf6
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 8
mov edi, dword [eax]
jb 0x43f3a1
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push edi
push esi
push str.Failed_to_delete_path__S_:__S
mov esi, eax
call fcn.00408ffd
add esp, 0xc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0040eb78
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx + 4], al
push 0
sete al
push 0
push str.SoftwareR_2016RegETags
add eax, 0x80000001
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00429e36
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp dword [eax + 0x18], 8
jb 0x43f3fc
mov eax, dword [eax + 4]
jmp 0x43f3ff
add eax, 4
push 1
push 0x470e5c
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c8fd
lea esi, [ebp - 0x20]
call fcn.0040ca20
call fcn.0044bb71
ret 0x10

Function at 0x43fe32
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x48]
mov byte [esi + 0x30], 1
call edi
push 0
push dword [esi + 0x40]
call edi
push 0
push dword [esi + 0x44]
call edi
push 0x43fce1
push 0x12c
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x440644
Capabilities:
Allocate thread local storage

Disassembly:
push 0x5c
mov eax, 0x461b2c
call fcn.0044bb02
xor ebx, ebx
mov dword [ebp - 0x68], 0xc15730e2
mov dword [ebp - 0x64], 0x7f0725e3
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x58], bl
mov eax, dword [0x498920]
cmp eax, dword [ebp - 0x68]
je 0x440792
mov edi, 0x498920
mov ecx, dword [ebp - 0x64]
mov edx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, ebx
je 0x4406f5
cmp byte [ebp - 0x60], bl
jne 0x4406db
xor ecx, ecx
mov eax, 0x498924
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x498920]
mov byte [ebp - 0x60], 1
cmp eax, dword [ebp - 0x68]
je 0x440792
cmp dword [ebp - 0x5c], ebx
jne 0x4406db
cmp byte [ebp - 0x58], bl
jne 0x4406c2
lea ebx, [ebp - 0x58]
call fcn.004405eb
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413131
jmp 0x4406e6
push 0xffffffffffffffff
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x498920]
cmp eax, dword [ebp - 0x68]
jne 0x44067c
jmp 0x440792
cmp dword [ebp - 0x5c], ebx
jne 0x440727
cmp byte [ebp - 0x58], bl
jne 0x440709
lea ebx, [ebp - 0x58]
call fcn.004405eb
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413131
cmp dword [ebp - 0x5c], ebx
je 0x440730
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.004409cd
cmp byte [ebp - 0x60], bl
jne 0x44074a
xor ecx, ecx
mov eax, 0x498924
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
xchg dword [edi], eax
cmp dword [ebp - 0x5c], ebx
jne 0x440789
mov eax, dword [0x498924]
cmp eax, 1
jle 0x440784
cmp byte [ebp - 0x58], bl
jne 0x44076d
lea ebx, [ebp - 0x58]
call fcn.004405eb
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413131
cmp dword [ebp - 0x5c], ebx
je 0x440792
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebp - 0x5c]
call fcn.0041314e
call fcn.0044bb85
ret
Function at 0x4410ee
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x20
mov eax, 0x465aa5
call fcn.0044bacc
mov esi, dword [ebp + 8]
call fcn.0040812d
xor edi, edi
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00408140
push 0xf0000000
push 1
push edi
push edi
lea ebx, [esi + 0x1c]
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, edi
jne 0x441137
lea eax, [ebp - 0x2c]
call fcn.00429cc8
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409477
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00408140
lea eax, [esi + 0x20]
push eax
push edi
push edi
push 0x8003
mov byte [ebp - 4], 3
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, edi
jne 0x441176
lea eax, [ebp - 0x2c]
call fcn.00429cc8
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409477
mov eax, esi
call fcn.0044bb71
ret 4

Function at 0x4411c2
Capabilities:
Hash data via wincrypt

Disassembly:
push 0x428
mov eax, 0x466e80
call fcn.0044bb02
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x418], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x28]
neg ecx
sbb ecx, ecx
xor edi, edi
and ecx, 0xfffffffc
push edi
add ecx, 4
push eax
call fcn.0040178c
push edi
call fcn.0042ba1e
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0042bbc1
mov ebx, dword [esi + 4]
push str.Failed_CryptHashData
lea ecx, [ebp - 0x434]
call fcn.00408140
push edi
push ebx
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 4], edi
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, edi
jne 0x44124e
lea eax, [ebp - 0x434]
call fcn.00429cc8
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x434]
call fcn.00409477
cmp dword [esi + 4], edi
jg 0x4411ff
call fcn.0044bb85
ret 4

Function at 0x441415
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b280
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441468
cmp dword [ebp - 0x70], 2
jne 0x441468
cmp dword [ebp - 0x7c], 6
jb 0x441468
mov al, 1
jmp 0x44146a
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044763d
add ebp, 0x98
leave
ret
Function at 0x441d41
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464664
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 0x100001
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x278], ebx
cmp eax, ebx
je 0x441f40
lea eax, [esp + 0x5c]
push eax
push 0x441ce8
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], bl
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x60], bl
je 0x441f0d
mov edi, dword [esi + 8]
imul edi, edi, 0xa
mov byte [esi + 0x58], 1
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], 0
jle 0x441e21
push 0x64
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x441dfb
mov byte [esp + 0x17], 1
dec dword [esp + 0x18]
mov eax, dword [esi + 0x10]
inc ebx
test eax, eax
je 0x441e46
push edi
lea ecx, [esi + 0x18]
push ebx
and eax, 0xfffffffe
push ecx
call dword [eax + 4]
add esp, 0xc
test al, al
je 0x441e5d
cmp byte [esp + 0x17], 0
je 0x441ddc
cmp byte [esp + 0x17], 0
jne 0x441f36
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x441e75
lea esi, [esp + 0x34]
call fcn.0042ddaa
mov byte [esp + 0x278], 2
jmp 0x441e57
lea esi, [esp + 0x34]
call fcn.0042ddaa
mov byte [esp + 0x278], 1
push eax
call fcn.00435a36
push 7
lea esi, [esp + 0x28]
call fcn.00427d89
push 0x481698
mov eax, esi
push eax
call fcn.0044bba3
add esi, 0x40
and eax, 0xfffffffe
push esi
call dword [eax + 4]
pop ecx
push 8
mov esi, eax
call fcn.00447994
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x278], 3
test eax, eax
je 0x441eaa
lea ecx, [esp + 0x62]
push ecx
push esi
push eax
call fcn.00442fd6
mov esi, eax
jmp 0x441eac
xor esi, esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x278], 4
test esi, esi
je 0x441ef2
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x441f66
push 0x3e8
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x441eeb
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
je 0x441ebc
mov byte [esp + 0x278], 0
test esi, esi
je 0x441f06
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp byte [esp + 0x17], 0
jne 0x441f36
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x441f2a
cmp dword [esp + 0x18], 0x103
jne 0x441f36
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0044763d
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x18], 1
je 0x441ef2
push 1
lea esi, [esp + 0x28]
call fcn.00427db1
push 0x48164c
mov eax, esi
jmp 0x441e6f
Function at 0x441f84
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464fec
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x185c
call fcn.0045ae80
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x1858], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x1870]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push eax
push 0x1000
lea eax, [esp + 0x4c]
mov edi, ecx
push eax
mov dword [esp + 0x38], edi
call sub.PSAPI.DLL_EnumProcesses
mov esi, dword [esp + 0x38]
push 4
shr esi, 2
call fcn.00447994
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x442000
lea edx, [esp + 0x14]
mov dword [eax], edx
jmp 0x442002
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1878], 1
cmp esi, ecx
jbe 0x44213b
lea ebx, [esp + 0x44]
mov dword [esp + 0x34], esi
mov edi, 0x400
push dword [ebx]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x30], eax
push edi
lea ecx, [esp + 0x1068]
push ecx
push eax
mov byte [esp + 0x1884], 2
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x442111
xor eax, eax
mov word [esp + 0x1862], ax
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x104c]
call fcn.004081ea
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1878], 3
cmp dword [eax + 0x74], 8
mov ecx, dword [eax + 0x70]
jb 0x442098
mov eax, dword [eax + 0x60]
jmp 0x44209b
add eax, 0x60
push ecx
push eax
xor eax, eax
lea ecx, [esp + 0x1050]
call fcn.00409663
cmp eax, 0xffffffff
je 0x442101
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4420bc
xor eax, eax
jmp 0x4420c5
mov eax, dword [esp + 0x28]
sub eax, edx
sar eax, 2
mov ecx, dword [esp + 0x24]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x4420e1
mov eax, dword [ebx]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x442101
mov esi, ecx
cmp edx, ecx
jbe 0x4420ec
call fcn.00447b61
mov eax, dword [esp + 0x14]
push esi
push eax
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
call fcn.004421ce
push 0
push 1
lea esi, [esp + 0x1050]
call fcn.0040970f
mov byte [esp + 0x1878], 1
cmp dword [esp + 0x30], 0
je 0x44212a
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x34]
jne 0x442032
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov byte [edi + 0x58], 0
cmp dword [esp + 0x20], ebx
jbe 0x44214e
call fcn.00447b61
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x44216b
call fcn.00447b61
jmp 0x44216b
push dword [esi]
mov ecx, edi
call fcn.00441d41
add esi, 4
cmp esi, ebx
jne 0x44215f
cmp dword [esp + 0x20], 0
mov bl, byte [edi + 0x58]
je 0x442183
push dword [esp + 0x20]
call fcn.00447632
pop ecx
push dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00447632
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1858]
xor ecx, esp
call fcn.0044763d
mov esp, ebp
pop ebp
ret
Function at 0x442dc2
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
je 0x442e23
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x442e23
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442df3
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
jmp 0x442e25
push edi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov esi, eax
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x442e3e
xor ecx, ecx
mov word [eax], cx
push esi
mov ecx, ebx
call fcn.00442dc2
push esi
test eax, eax
jne 0x442e2b
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x442e23
xor eax, eax
inc eax
jmp 0x442e25
Function at 0x442e43
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x46595d
call fcn.0044ba99
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_couldnt_open__S
mov dword [ebp - 4], ebx
call fcn.0042c7ab
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp ecx, ebx
jne 0x442e95
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00409477
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_GetFileTime:__S
call fcn.0042c7ab
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x442edb
mov eax, esi
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00409477
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
call fcn.0042c7ab
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
shr edi, 0x10
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, ebx
jne 0x442f1b
mov eax, esi
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00409477
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
call fcn.0042c7ab
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, ebx
jne 0x442f5a
mov eax, esi
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00409477
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_SetFileTime:__S
call fcn.0042c7ab
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x442fa0
mov eax, esi
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00409477
cmp dword [ebp - 0x10], ebx
je 0x442fb9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044bb71
ret 4

Function at 0x443073
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x44763d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e190]
jne 0x447647
repz ret
jmp fcn.0044ef3e

Function at 0x45b14c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044fe99
and dword [ebp - 4], 0
cmp dword [0x4987ec], 0
mov ebx, eax
jne 0x45b1fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45b2ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46e548
push edi
call esi
test eax, eax
je 0x45b2ae
push eax
call fcn.0044fe27
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4987ec], eax
call esi
push eax
call fcn.0044fe27
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4987f0], eax
call esi
push eax
call fcn.0044fe27
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4987f4], eax
call esi
push eax
call fcn.0044fe27
pop ecx
mov dword [0x4987fc], eax
test eax, eax
je 0x45b1fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044fe27
pop ecx
mov dword [0x4987f8], eax
mov eax, dword [0x4987f8]
cmp eax, ebx
je 0x45b255
cmp dword [0x4987fc], ebx
je 0x45b255
push eax
call fcn.0044fea2
push dword [0x4987fc]
mov esi, eax
call fcn.0044fea2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45b255
test edi, edi
je 0x45b255
call esi
test eax, eax
je 0x45b24c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45b24c
test byte [ebp - 0xc], 1
jne 0x45b255
or dword [ebp + 0x10], 0x200000
jmp 0x45b28e
mov eax, dword [0x4987f0]
cmp eax, ebx
je 0x45b28e
push eax
call fcn.0044fea2
pop ecx
test eax, eax
je 0x45b28e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45b28e
mov eax, dword [0x4987f4]
cmp eax, ebx
je 0x45b28e
push eax
call fcn.0044fea2
pop ecx
test eax, eax
je 0x45b28e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4987ec]
call fcn.0044fea2
pop ecx
test eax, eax
je 0x45b2ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45b2b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403af5
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x403b32
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x403b48
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esp, ebp
pop ebp
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 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push edi
mov edi, str.http:__www.choijh.net_onair_2_2.php_search
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401030
push 1
push eax
push eax
push str.http:__www.choijh.net_onair_2_2.php_search
push str.OPEN
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
ret 0x10
Function at 0x401595
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4015c7
test dl, 7
je 0x4015c7
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x42da20]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x4015a7
cmp esi, 8
jb 0x401657
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x42da20]
xor ecx, dword [eax*4 + 0x42de20]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x42e220]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x42ea20]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x42ee20]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x42f220]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x42e620]
movzx eax, bl
xor ecx, dword [eax*4 + 0x42f620]
mov ebx, ecx
sub edi, 1
jne 0x4015d6
pop edi
test esi, esi
je 0x401673
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x42da20]
inc edx
sub esi, 1
jne 0x40165b
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x401bc4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
jne 0x401bdd
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401c50
mov ecx, esi
call fcn.00401cb1
test al, al
je 0x401c18
mov eax, 0x4e20
cmp dword [ebp + 0xc], eax
jbe 0x401c18
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00401bc4
jmp 0x401c53
cmp dword [esi + 0xc], 1
jne 0x401c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x401c2d
xor eax, eax
jmp 0x401c53
cmp dword [esi + 0xc], 0
jne 0x401c4b
mov ebx, 0x8000
cmp dword [ebp + 0xc], ebx
jbe 0x401c4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x401c4b
push ebx
jmp 0x401c0c
or eax, 0xffffffff
jmp 0x401c53
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8