joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411280
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5323b0
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x128], ecx
xor esi, esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 4], esi
lea edx, [ebp - 0x118]
push edx
call fcn.00410ca0
add esp, 4
test eax, eax
jne 0x4112f8
lea eax, [ebp - 0x118]
push eax
call fcn.004108a0
add esp, 4
test eax, eax
je 0x411439
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411310
mov edx, dword [str.prefs.js]
mov dword [eax], edx
mov ecx, dword [0x54fd48]
mov dword [eax + 4], ecx
mov dl, byte [0x54fd4c]
mov byte [eax + 8], dl
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x12c], eax
cmp eax, 0xffffffff
je 0x411439
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x411439
lea ebx, [edi + 1]
push ebx
call fcn.00480850
mov esi, eax
lea ecx, [esi + edi]
mov dword [ebp - 0x124], ecx
push ebx
push 0
push esi
call fcn.004ff6f0
add esp, 0x10
push 0
lea edx, [ebp - 0x130]
push edx
push edi
push esi
mov ebx, dword [ebp - 0x12c]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411429
cmp dword [ebp - 0x130], edi
jne 0x411429
push esi
call fcn.00530199
push str.network.hosts.smtp_server
push esi
call fcn.004fee10
add esp, 0xc
test eax, eax
je 0x411429
add eax, 0x1a
push 0x104
mov ecx, dword [ebp - 0x120]
push ecx
mov edi, dword [ebp - 0x124]
push edi
push eax
call fcn.00410a30
add esp, 0x10
test eax, eax
je 0x411429
push str.mail.identity.useremail
push esi
call fcn.004fee10
add esp, 8
test eax, eax
je 0x411429
add eax, 0x18
push 0x104
mov edx, dword [ebp - 0x128]
push edx
push edi
push eax
call fcn.00410a30
add esp, 0x10
test eax, eax
je 0x411429
mov dword [ebp - 0x11c], 1
push esi
call fcn.004808a0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4133e0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5326fb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5bc684]
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 - 0x4c], ecx
call fcn.00413240
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x50], ebx
cmp ebx, esi
je 0x41351b
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0x24
lea eax, [ebp - 0x34]
push eax
push 3
push 0x3b
push ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], esi
call edi
cmp eax, esi
jne 0x413514
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x413514
mov esi, dword [ebp - 0x40]
add esi, 0x24
xor ecx, ecx
mov eax, esi
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fc6be
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x40]
push ecx
push esi
push eax
push 3
push 0x3b
push ebx
mov dword [ebp - 0x48], eax
call edi
xor edi, edi
cmp dword [ebp - 0x38], edi
jbe 0x413508
mov esi, dword [ebp - 0x48]
mov edx, dword [esi]
mov ebx, dword [esi + 4]
push 0x400
mov dword [ebp - 0x3c], edx
call fcn.00480850
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4134e4
mov ecx, dword [ebp - 0x3c]
push ecx
push ebx
mov ecx, eax
call fcn.00412a90
jmp 0x4134e6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], eax
call fcn.00413290
inc edi
add esi, 0x24
cmp edi, dword [ebp - 0x38]
jb 0x4134b3
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
push eax
call fcn.004fedfc
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
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.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x416600
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532c60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x416716
cmp dword [ebp + 0xc], ebx
je 0x416716
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x416690
push str.secur32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x416690
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x416690
lea ecx, [ebp + 0xc]
push ecx
push edi
push 2
call eax
movzx eax, al
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x41669e
lea edx, [ebp + 0xc]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4166c8
mov dword [ebp - 4], 2
test esi, esi
je 0x4166da
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
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
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 8
Function at 0x425480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5346d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
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 0x425870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534710
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
cmp eax, edi
je 0x4258af
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4258bf
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 8]
cmp eax, edi
je 0x4258cf
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x4258df
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x4258ef
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x4258ff
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x42590f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x42591f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x42592f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x42593f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x42594f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x42595f
push eax
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x42596f
push eax
call fcn.004808a0
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 0xffffffff
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 0x425fd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53488b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
xor edi, edi
mov dword [ebp - 0x120], edi
cmp esi, edi
jne 0x426020
xor eax, eax
jmp 0x4261cd
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x60]
add ecx, 0x95c0
cmp byte [ecx], 0
je 0x42604c
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x426033
mov dword [ebp - 0x120], 1
jmp 0x4261c0
mov ebx, 1
mov dword [ebp - 0x124], 0x104
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
lea eax, [ebp - 0x118]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426080
sub eax, edi
cmp ecx, eax
jae 0x4260ad
movsx eax, byte [ebp + ecx - 0x118]
add eax, ecx
xor edx, edx
mov edi, 0x19
div edi
add edx, 0x41
mov byte [ebp + ecx - 0x118], dl
inc ecx
jmp 0x426071
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4260b6
sub eax, edx
cmp eax, 8
jbe 0x4260ca
mov byte [ebp - 0x110], cl
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4260d3
sub eax, edx
je 0x4261a2
mov edx, dword [0x5bbfe4]
mov dword [ebp - 0x11c], edx
mov ebx, 1
mov byte [ebp - 4], bl
push 0x55fb08
lea ecx, [ebp - 0x11c]
call fcn.004bfd50
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004bfd50
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx - 8]
cmp eax, 6
jle 0x426137
add eax, 0xfffffffa
push eax
push 6
lea ecx, [ebp - 0x11c]
call fcn.004c0980
push 0x55fb04
lea ecx, [ebp - 0x11c]
call fcn.004bfd50
lea ecx, [ebp - 0x11c]
call fcn.004c00e0
mov edx, dword [ebp - 0x11c]
mov ecx, edx
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [esi], al
add ecx, ebx
add esi, ebx
test al, al
jne 0x426160
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x60]
add eax, 0x95c0
lea ebx, [ebx]
mov cl, byte [edx]
mov byte [eax], cl
add edx, ebx
add eax, ebx
test cl, cl
jne 0x426180
mov dword [ebp - 0x120], ebx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x11c]
call fcn.004bfa40
jmp 0x4261c0
test ebx, ebx
je 0x4261c0
mov ecx, str.xsrmod32
mov edx, esi
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4261b0
mov dword [ebp - 0x120], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x427d40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534c70
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x364]
test eax, eax
je 0x427df4
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 0x38]
push eax
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [edi + 0x364]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x427df4
cmp dword [ebp - 0x38], 0x1c
jne 0x427df4
cmp dword [ebp - 0x2c], 0xff23ff24
jne 0x427df4
push 0x18
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.0048a5a0
add esp, 0xc
cmp dword [ebp - 0x30], eax
jne 0x427df4
cmp dword [ebp - 0x20], 0
je 0x427df4
push 0
mov ecx, dword [edi + 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x1c]
add edx, 0x1c
cmp eax, edx
sbb esi, esi
inc esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x427e1e
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 - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4285a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534e20
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x32c], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x330], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x428614
mov ecx, dword [eax + 0x60]
add ecx, 0x96c4
cmp byte [ecx], bl
je 0x428614
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x428605
jmp 0x42876e
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x334], ebx
push 0x104
push ebx
lea eax, [ebp - 0x118]
push eax
call fcn.004ff6f0
push 0x208
push ebx
lea ecx, [ebp - 0x320]
push ecx
call fcn.004ff6f0
add esp, 0x18
mov ecx, 0x55fca4
lea edx, [ebp - 0x118]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x428652
mov dword [ebp - 0x328], 0x104
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x428683
sub eax, edx
jne 0x4286aa
mov ecx, 0x55fca4
lea edx, [ebp - 0x118]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4286a0
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4286b3
sub eax, edx
lea ecx, [ebp - 0x334]
push ecx
push 0x208
lea edx, [ebp - 0x320]
push edx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004a34c0
push 0x55fcb4
lea ecx, [ebp - 0x320]
push ecx
call fcn.004fee10
add esp, 0x1c
mov dword [ebp - 0x324], eax
cmp eax, ebx
je 0x4286fc
mov byte [eax], bl
lea esi, [ebp - 0x320]
mov dword [ebp - 0x324], esi
mov edx, esi
push edx
call fcn.00530199
add esp, 4
mov al, byte [esi]
cmp al, bl
je 0x428735
cmp al, 0x61
jl 0x428721
cmp al, 0x7a
jle 0x42872c
cmp al, 0x30
jl 0x428729
cmp al, 0x39
jle 0x42872c
mov byte [esi], 0x6d
inc esi
mov dword [ebp - 0x324], esi
jmp 0x428713
mov byte [ebp - 0x31c], bl
lea eax, [ebp - 0x320]
push eax
push str.ms_swin
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [edi + 0xc], bl
mov edx, edi
mov ecx, dword [ebp - 0x338]
mov eax, dword [ecx + 0x60]
add eax, 0x96c4
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
cmp cl, bl
jne 0x428764
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4287c0
Capabilities:
Get common file path
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534e50
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x428823
mov edx, dword [str.wsock32.dll]
mov dword [eax], edx
mov ecx, dword [0x55fd9c]
mov dword [eax + 4], ecx
mov edx, dword [0x55fda0]
mov dword [eax + 8], edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4288d4
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4288cd
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x128]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret

Function at 0x428910
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004284a0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0x11c]
push eax
call edi
lea ecx, [esi + 0x220]
push ecx
call edi
pop edi
mov ecx, esi
pop esi
jmp fcn.00428520
Function at 0x428940
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
call fcn.004284a0
mov dword [ebp - 4], edi
push edi
mov eax, dword [esi + 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x428a13
push edi
push edi
push edi
mov ecx, dword [esi + 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edi, [esi + 0x350]
push 0
lea edx, [ebp - 0x18]
push edx
push 0x10
push edi
mov eax, dword [esi + 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428a0e
cmp dword [ebp - 0x18], 0x10
jne 0x428a0e
cmp dword [esi + 0x354], 0xff23ff24
jne 0x428a0e
cmp dword [esi + 0x358], 0x30000
jne 0x428a0e
push 0xc
lea ecx, [esi + 0x354]
push ecx
push 0xffffffffffffffff
call fcn.0048a5a0
add esp, 0xc
cmp dword [edi], eax
jne 0x428a0e
mov ecx, esi
call fcn.00427d40
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x428a47
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x428a47
mov edx, dword [esi]
push edi
mov eax, dword [esi + 0x35c]
push eax
push str.RFH:__d_R__d
push 4
push esi
mov ecx, dword [edx + 8]
call ecx
add esp, 0x14
mov ecx, esi
call fcn.00428520
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
Function at 0x428a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x3c], edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
call fcn.004284a0
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x364]
cmp eax, ebx
je 0x428b9f
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [edi + 0x364]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
cmp eax, ebx
je 0x428b9f
cmp dword [ebp - 0x38], 0x1c
jne 0x428b9f
cmp dword [ebp - 0x2c], 0xff23ff24
jne 0x428b9f
push 0x18
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.0048a5a0
add esp, 0xc
cmp dword [ebp - 0x30], eax
jne 0x428b9f
cmp dword [ebp - 0x20], ebx
je 0x428b9f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx + 0x1c]
push eax
call fcn.004fc6be
add esp, 4
mov ebx, eax
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
add edx, ebx
push edx
mov eax, dword [edi + 0x364]
push eax
call esi
test eax, eax
je 0x428b96
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], eax
jne 0x428b96
mov ecx, dword [ebp - 0x18]
push ecx
push eax
mov edx, dword [ebp - 0x24]
add edx, ebx
push edx
mov ecx, edi
call fcn.00427fe0
test eax, eax
je 0x428b96
mov ecx, 7
lea esi, [ebp - 0x30]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
jmp 0x428bfb
push ebx
call fcn.004808a0
add esp, 4
mov ebx, dword [ebp + 8]
add ebx, 0x1c
push ebx
call fcn.004fc6be
mov esi, eax
mov dword [ebp - 0x34], esi
push ebx
push 0
push esi
call fcn.004ff6f0
add esp, 0x10
mov dword [esi + 4], 0xff23ff24
mov dword [esi + 8], 0x30000
mov dword [esi + 0xc], 0x1c
mov dword [ebp - 4], 0xffffffff
jmp 0x428bfb
mov ecx, edi
call fcn.00428520
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 4
Function at 0x428c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call fcn.004284a0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x50]
push eax
call fcn.004fc6be
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push 0
push 0
mov ecx, dword [edi + 0x48]
push ecx
mov edx, dword [ebx + 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
mov ecx, dword [edi + 0x4c]
push ecx
push esi
mov edx, dword [ebx + 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428cee
mov eax, dword [edi + 0x4c]
cmp dword [ebp + 8], eax
jne 0x428cee
mov ecx, dword [edi + 0x50]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00427fe0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x428cee
cmp dword [esi], 6
jne 0x428cea
push 6
call fcn.004230e0
add esp, 4
xor edx, edx
cmp eax, dword [esi + 4]
sete dl
mov eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x428cfe
push esi
call fcn.004808a0
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x428d2f
mov ecx, ebx
call fcn.00428520
mov eax, dword [ebp - 0x14]
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