joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007d89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007d89
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10007d7a
cmp esi, edx
jae 0x10007d89
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10007d68
cmp esi, edx
jae 0x10007d89
cmp word [esi], 0
je 0x10007d89
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x100083c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x100083d7
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
je 0x100084c0
push edi
push 0x1418
call fcn.1005ecbd
mov edi, eax
add esp, 4
test edi, edi
je 0x10008450
mov ecx, dword [ebp + 8]
push esi
push 0x1000
lea esi, [edi + 4]
mov dword [edi], ecx
push 0
push esi
mov dword [edi + 0x1414], 1
call fcn.1007f220
push 0x800
push ebx
push esi
call fcn.1008d613
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.1007f220
mov eax, dword [ebp + 0x10]
add esp, 0x24
test eax, eax
je 0x1000844d
push 0x208
push eax
push esi
call fcn.1008d613
add esp, 0xc
pop esi
jmp 0x10008452
xor edi, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x100084e0
push 0
push 0
mov dword [ebp - 8], 0x100084e0
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.1008d7aa
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], vtable.CSimpleThread.0
pop edi
test eax, eax
je 0x100084b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
call fcn.100086d0
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10008690
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x100086b5
test byte [ebp - 4], 7
je 0x100086b5
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x100086d0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10008782
cmp word [esi], 0
je 0x10008782
test eax, eax
je 0x1000872d
cmp word [eax], 0
je 0x1000872d
push 0
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10008782
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret 8
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1007f220
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x10008782
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1005f06c
mov esp, ebp
pop ebp
ret 8

Function at 0x1000ad80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a574b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.1007f220
lea eax, [ebp - 0x21c]
push 1
push eax
call fcn.100595a0
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x100ae618
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ae1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1000ae9a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1000ae50
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000b4c0
jmp 0x1000ae7e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ae60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007660
int3
Function at 0x1000aeb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.1005f0f0
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.1007f220
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x1000afa7
test edi, edi
je 0x1000afa7
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1000afa7
cmp eax, 0x3fff
ja 0x1000afa7
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000afa7
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x100ae938
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000afa7
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.1007f220
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
lea eax, [esi - 1]
push eax
push edi
call fcn.1000daa0
add esp, 0x2c
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
Function at 0x10010570
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5610
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0xd0]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100105b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x88]
call fcn.1003f050
lea eax, [esi + 0x70]
mov dword [esi + 0x6c], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x64]
call fcn.1002a410
mov edx, dword [esi + 0x60]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100105f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x54]
call fcn.100104a0
lea ecx, [esi + 0x48]
call fcn.100104a0
lea ecx, [esi + 0x3c]
call fcn.100104a0
lea ecx, [esi + 0x30]
call fcn.100104a0
lea ecx, [esi + 0x24]
call fcn.100104a0
lea ecx, [esi + 0x18]
call fcn.100104a0
lea ecx, [esi + 0xc]
call fcn.100104a0
mov ecx, esi
call fcn.100104a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push str.__hwnd
push dword [ebp + 8]
call fcn.1007f4c1
mov esi, eax
add esp, 8
test esi, esi
je 0x100110f9
push edi
push 0x10
add esi, 0xe
push 0
push esi
call fcn.1008f447
add esp, 0xc
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100110f8
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0x100af818
push esi
push 0
call ebx
cmp eax, 1
jne 0x100110f7
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x100af818
push esi
push 0
call ebx
cmp eax, 1
je 0x100110d0
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x10011b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10011b8f
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x10011b7f
mov ecx, ebx
call fcn.10024240
push 0x20
push ebx
call fcn.1005eced
add esp, 8
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10011b66
mov dword [esi + 8], ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
call fcn.10012170
lea ecx, [esi + 0x10]
call fcn.10012170
lea ecx, [esi + 0x18]
call fcn.10012170
lea ecx, [esi + 0x1c]
call fcn.10012170
lea ecx, [esi + 0x40]
call fcn.10012170
lea ecx, [esi + 0x4c]
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], 0x65
mov dword [esi + 0x78], 0x65
call fcn.10012170
lea ecx, [esi + 0x3c]
call fcn.10012170
lea ecx, [esi + 0x38]
call fcn.10012170
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x7c]
cmp edi, ebx
je 0x10011c49
mov eax, dword [edi]
or ecx, 0xffffffff
sub eax, 0x10
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10011c3f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add edi, 4
cmp edi, ebx
jne 0x10011c25
mov edi, dword [esi + 0x7c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x80], edi
call fcn.10012170
lea ecx, [esi + 0x54]
call fcn.10012170
push 0
push 0x100ae7b4
lea ecx, [esi + 0x58]
call fcn.1000c680
pop edi
lea ecx, [esi + 0x70]
pop esi
pop ebx
jmp fcn.10012170
Function at 0x10012a30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a61c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.100136d0
add esp, 8
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x10012bd6
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x10012c13
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp + 0xc], edx
mov edi, dword [ebx + 0x60]
mov ebx, 1
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov byte [ebp - 4], 1
jge 0x10012aca
push 0x800
lea ecx, [ebp + 0xc]
call fcn.10007ab0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 8], 0x800
jl 0x10012c09
push edi
push 0x800
mov dword [edx - 0xc], 0x800
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push edx
push 0x100ae618
push 0x100af538
mov word [eax + 0x1000], cx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push dword [ecx - 8]
push ecx
call fcn.10085bc2
mov edx, eax
add esp, 8
test edx, edx
js 0x10012c09
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x10012c09
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov word [eax + edx*2], cx
cmp edi, 0x7ff
je 0x10012b47
cmp edi, 0x7fe
jne 0x10012ba9
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x1000
or eax, ebx
mov edi, dword [edi + 0x60]
jge 0x10012b6f
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.10007ab0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], 0x1000
jl 0x10012c09
push edi
push 0x1000
mov dword [ecx - 0xc], 0x1000
xor edx, edx
mov eax, dword [ebp + 0xc]
push ecx
push 0x100ae618
push 0x100af538
mov word [eax + 0x2000], dx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.1000bac0
mov edx, dword [ebp + 0xc]
add esp, 8
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012bd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10012bf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.10007660
push 0x80004005
call fcn.10007660
int3
Function at 0x10012c20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a61e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x10012e06
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [edx - 8]
mov edi, 1
mov esi, dword [ebx + 0x60]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov dword [ebp - 4], 0
jge 0x10012c97
push 0x800
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x800
jl 0x10012e10
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
push esi
push 0x800
push edx
mov dword [edx - 0xc], 0x800
mov eax, dword [ebp - 0x10]
push 0x100ae618
push str.notipreferskeys
push 0x100aee70
mov word [eax + 0x1000], cx
call ebx
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.10085bc2
mov edx, eax
add esp, 8
test edx, edx
js 0x10012e10
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x10012e10
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x10012d18
cmp esi, 0x7fe
jne 0x10012d7a
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + 0x60]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x1000
or eax, ecx
jge 0x10012d42
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x1000
jl 0x10012e10
push esi
push 0x1000
push edx
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push 0x100ae618
push str.notipreferskeys
push 0x100aee70
mov word [eax + 0x2000], cx
call ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10012e10
mov ecx, dword [eax - 8]
sub edi, dword [eax - 4]
sub ecx, esi
or ecx, edi
jge 0x10012da0
push esi
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.1008f754
mov eax, dword [ebp - 0x10]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x10012e10
push dword [ebp + 8]
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x10]
push eax
call fcn.1000bac0
mov edx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012df2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007660
push 0x80070057
call fcn.10007660
int3
Function at 0x100138b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a61e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x10013a96
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [edx - 8]
mov edi, 1
mov esi, dword [ebx + 0x60]
mov ecx, edi
sub ecx, dword [edx - 4]
sub eax, 0x800
or eax, ecx
mov dword [ebp - 4], 0
jge 0x10013927
push 0x800
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x800
jl 0x10013aa0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
push esi
push 0x800
push edx
mov dword [edx - 0xc], 0x800
mov eax, dword [ebp - 0x10]
push 0x100ae618
push str.notipkey
push str.PopTaskbar
mov word [eax + 0x1000], cx
call ebx
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.10085bc2
mov edx, eax
add esp, 8
test edx, edx
js 0x10013aa0
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x10013aa0
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp esi, 0x7ff
je 0x100139a8
cmp esi, 0x7fe
jne 0x10013a0a
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + 0x60]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x1000
or eax, ecx
jge 0x100139d2
push 0x1000
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x1000
jl 0x10013aa0
push esi
push 0x1000
push edx
mov dword [edx - 0xc], 0x1000
xor ecx, ecx
mov eax, dword [ebp - 0x10]
push 0x100ae618
push str.notipkey
push str.PopTaskbar
mov word [eax + 0x2000], cx
call ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10013aa0
mov ecx, dword [eax - 8]
sub edi, dword [eax - 4]
sub ecx, esi
or ecx, edi
jge 0x10013a30
push esi
lea ecx, [ebp - 0x10]
call fcn.10007ab0
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.1008f754
mov eax, dword [ebp - 0x10]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x10013aa0
push dword [ebp + 8]
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x10]
push eax
call fcn.1000bac0
mov edx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10013a82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007660
push 0x80070057
call fcn.10007660
int3
Function at 0x1001d720
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a70c0
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x1001d786
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
call esi
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [ebp - 0x444], eax
call esi
mov dword [ebp - 0x440], eax
jmp 0x1001d78c
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x1001d7a3
test eax, eax
je 0x1001d7a3
lea eax, [ebp - 0x448]
push eax
call ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [ebp - 0x444], 0
mov dword [ebp - 4], 0
je 0x1001d7ce
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x1001d7ce
push dword [ebp - 0x448]
call ecx
test esi, esi
je 0x1001d8a8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001d8a8
push 0x208
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.1007f220
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.1007f220
add esp, 0xc
mov dword [ebp - 0x2c], 0x730025
mov dword [ebp - 0x28], 0x6c005c
mov dword [ebp - 0x24], 0x730064
mov dword [ebp - 0x20], 0x25002d
mov dword [ebp - 0x1c], 0x2e0075
mov dword [ebp - 0x18], 0x6d0074
mov dword [ebp - 0x14], 0x70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.1008daac
add esi, eax
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.1001fb00
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x234]
add esp, 0x14
push 1
push eax
push edi
call esi
push 4
push 0
test eax, eax
je 0x1001d8a5
lea eax, [ebp - 0x234]
push eax
jmp 0x1001d8a6
push edi
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
Function at 0x1001eab0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a732b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
xor ebx, ebx
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1001ec55
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], ebx
mov esi, 0x1a
call fcn.1008daac
cdq
idiv esi
lea edi, [edx + 0x61]
call fcn.1008daac
cdq
idiv esi
lea esi, [edx + 0x61]
call fcn.1008daac
cdq
mov ecx, 0x1a
idiv ecx
movzx eax, di
push eax
movzx eax, si
add edx, 0x61
push eax
movzx eax, dx
push eax
call fcn.1008daac
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x61
movzx eax, dx
push eax
lea eax, [ebp - 0x240]
push str._c_c_c_c32.exe
push eax
call fcn.100078e0
add esp, 0x18
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x240]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001ebdc
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.1007f220
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1001ebd5
nop dword [eax]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1008d937
add esp, 8
test eax, eax
je 0x1001ec2c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001ebb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
push eax
add ecx, 0x40
call fcn.10007e40
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001ec10
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x14
jg 0x1001ec3e
inc ebx
jmp 0x1001eb06
mov ecx, dword [ebp - 0x244]
push 8
add ecx, 0x40
push str.Link.exe
call fcn.10007bf0
jmp 0x1001ebf1
push 0x80004005
call fcn.10007660
int3