joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42add0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ef5d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a5018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42af2d
test eax, eax
je 0x42af2d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0042a950
mov edi, dword [ebp - 0x20]
or ebx, 0xffffffff
test eax, eax
je 0x42aef5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42aef5
push 0x13
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004180c0
mov esi, dword [ebp - 0x18]
push esi
call fcn.0045f41d
add esp, 4
mov dword [ebp - 0x18], eax
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42ae79
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 0x51eb851f
mul dword [ebp - 0x18]
shr edx, 5
cmp edx, 3
je 0x42ae9c
cmp edx, 4
je 0x42aef5
cmp edx, 5
je 0x42aef5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42aed9
test edi, edi
je 0x42aeab
lock inc dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edi
test esi, esi
je 0x42aed9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42aed9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x42aed9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
sub esp, 8
push dword [ebp + 0xc]
push ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.0042af50
add esp, 0x14
mov esi, eax
jmp 0x42aef7
xor esi, esi
test edi, edi
je 0x42af19
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x42af19
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x42af19
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b9a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x42ba56
test esi, esi
je 0x42ba56
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0xa0], vtable.MD5_CTX.0
push 0
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
call fcn.004573c0
add esp, 0xc
mov byte [ebp - 0x44], 0x80
lea ecx, [ebp - 0xa0]
push esi
push edi
call fcn.0043be30
push ebx
lea ecx, [ebp - 0xa0]
call fcn.0043bf20
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454d47
mov esp, ebp
pop ebp
ret
Function at 0x42ca00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4a5018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x42caf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x42cab5
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cab5
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x50]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov ecx, dword [ecx]
call fcn.0042c450
test eax, eax
je 0x42ca99
mov eax, dword [ebp - 0x48]
mov esi, eax
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
mov ebx, eax
shr esi, 0x10
shr ebx, 0x10
movzx eax, ax
jmp 0x42ca9b
xor eax, eax
push eax
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push esi
push 0x496b88
push eax
call fcn.00407700
mov esi, dword [ebp - 0x14]
add esp, 0x18
add esi, 0xfffffff0
mov ecx, esi
call fcn.00406910
add eax, 0x10
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42cadc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402980
int3
Function at 0x42d1a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f470
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x42d218
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x42d28b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004067d0
test al, al
jne 0x42d26e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d250
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004069d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402980
int3

Function at 0x435e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ff5e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a5018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x435f27
mov ebx, dword [esi + 4]
mov ecx, ebx
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x14]
cmp edi, ecx
jae 0x435ed0
lea eax, [edx + edi]
jmp 0x435ef7
jbe 0x435efa
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x435ee6
push ecx
push edi
mov ecx, esi
call fcn.00412b60
jmp 0x435efa
sub edi, ecx
push edi
push 0
push ebx
call fcn.004573c0
add esp, 0xc
lea eax, [edi + ebx]
mov dword [esi + 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x435f27
mov eax, dword [esi + 4]
xor ecx, ecx
mov edx, dword [esi]
sub eax, edx
je 0x435f2a
mov dword [esi + 4], edx
jmp 0x435f2a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x435f33
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4360f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x436100
sub esi, ecx
mov edi, ebx
sar esi, 1
test edx, edx
je 0x43613e
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x436166
mov edi, dword [ebp - 4]
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp edi, ebx
je 0x436164
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436670
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00455f10
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x2d0c], esi
test esi, esi
je 0x4367ef
push ebx
push edi
xor edi, edi
nop dword [eax]
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00436170
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4367bd
push 0x2710
lea eax, [ebp - 0x2cfc]
mov dword [ebp - 0x2d10], 0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x2d10]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4367b6
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.004573c0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0043caf0
mov eax, esi
add esp, 8
lea esi, [ebp - 0x5ec]
mov edx, 0x64
sub esi, dword [ebp - 0x2d0c]
nop
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4367a9
mov cl, byte [esi + eax]
test cl, cl
je 0x4367a9
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x436790
test edx, edx
lea ecx, [eax - 1]
cmovne ecx, eax
mov byte [ecx], 0
jne 0x4367d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
xor esi, esi
cmp edi, 0x10
jge 0x4367dc
mov esi, dword [ebp - 0x2d0c]
jmp 0x4366a0
push ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00454d47
mov esp, ebp
pop ebp
ret
Function at 0x437450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480018
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4a5018]
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 - 4], 0
or edi, 0xffffffff
mov eax, dword [0x4a5d10]
cmp eax, edi
jne 0x4374b6
push ecx
call fcn.004146a0
add esp, 4
test al, al
je 0x4374aa
mov dword [0x4a5d10], 1
jmp 0x4374ba
mov dword [0x4a5d10], 0
jmp 0x4374cc
test eax, eax
je 0x4374cc
push dword [ebp + 8]
call fcn.00438650
mov ebx, eax
test ebx, ebx
jne 0x4375e1
mov ebx, dword [ebp + 8]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x437620
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push 0x49740c
push str.Windows
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.00407700
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004573c0
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
add esp, 0x1c
mov dword [ebp - 0x424], 0x104
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x43756e
mov ebx, 1
jmp 0x4375c6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
cmp word [ebp - 0x420], bx
setne bl
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4375e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x437600
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.00454d47
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402980
int3
Function at 0x438930
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802e6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a5018]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x438b63
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x49740c
push str.Windows
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.00407700
add esp, 0x10
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x2001f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x21c]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040c7e0
or ebx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x234]
jne 0x438b1a
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x438b6d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x224]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.00407700
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004573c0
add esp, 0x1c
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438aa1
mov eax, dword [ebp - 0x238]
cmp eax, 1
je 0x438a8f
cmp eax, 2
jne 0x438aa1
cmp dword [ebp - 0x220], 0
jne 0x438aa1
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0045d1d3
add esp, 8
test eax, eax
je 0x438af2
test esi, esi
je 0x438af2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438ac4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438b0d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
mov esi, 1
jmp 0x438b1c
xor esi, esi
test eax, eax
je 0x438b27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x438b43
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00454d47
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3
Function at 0x438b80
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48031d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a5018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x4aacb0], 0
jne 0x438bc4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x4aacb0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x438c30
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4aacb0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004067d0
test al, al
jne 0x438c1c
mov ecx, 0x4aacb0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438c00
sub ecx, edx
sar ecx, 1
push ecx
push 0x4aacb0
mov ecx, esi
call fcn.004069d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402980
int3
Function at 0x43a230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48069d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4a5018]
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, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.00427bb0
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a2aa
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.0041c000
mov eax, dword [ebp - 0x70]
test al, al
je 0x43a2ec
cmp al, 7
je 0x43a2ec
lea ecx, [ebp - 0x78]
call fcn.0041a770
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x5c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a2ce
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00454d47
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0041ad20
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0043b680
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x43a36d
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x43a36d
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x43a36d
cmp eax, 0xc
ja 0x43a36d
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x43a36d
cmp ecx, 0x1f
ja 0x43a36d
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0x88]
call fcn.00422090
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.00422070
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0046266c
xor esi, esi
lea ebx, [edi + 0x3c]
test eax, eax
lea eax, [ebp - 0x58]
push ebx
cmove esi, dword [ebp - 0x28]
push eax
call fcn.0046266c
xor ecx, ecx
add esp, 0x10
test eax, eax
cmove ecx, dword [ebp - 0x4c]
add edi, 0x34
cmp esi, ecx
je 0x43a3d2
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx], eax
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.00423490
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x43a3e9
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.0041ad20
mov edx, edi
mov ecx, eax
call fcn.0043b850
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x43a43c
mov eax, dword [ebp - 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a41d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a44e
push edx
push ecx
call fcn.00455202
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x78]
call fcn.0041a770
mov edi, 1
jmp 0x43a2ac
call fcn.00459a0a
int3
Function at 0x43aee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480843
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4a5018]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
mov esi, dword [0x4aaa7c]
test esi, esi
je 0x43af34
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x21c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
or edi, 0xffffffff
mov byte [ebp - 4], 3
test esi, esi
je 0x43af83
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43af83
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43af83
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x44]
push 0x104
push eax
push 0x492c60
push dword [ebp + 8]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x43affc
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43afd3
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004069d0
mov esi, 1
jmp 0x43affe
xor esi, esi
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b01f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43b03e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00454d47
mov esp, ebp
pop ebp
ret 8