joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f2af
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40f2cc
xor eax, eax
inc eax
jmp 0x40f2d5
mov eax, dword [ebp - 4]
shr eax, 4
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40f604
Capabilities:
Send data

Disassembly:
mov ecx, dword [0x4bd704]
test ecx, ecx
jne 0x40f627
xor eax, eax
push eax
push eax
push 0x1427
push dword [0x4d01b0]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
ret
mov eax, dword [0x4bd6f8]
push esi
push edi
push 0x4bd700
push dword [0x4bd6fc]
add eax, ecx
xor edi, edi
push eax
push dword [0x4bccc0]
inc edi
mov dword [0x4bf950], edi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x40f67f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x40f6af
call fcn.0041e1d1
test eax, eax
je 0x40f67b
push esi
push str.HttpWrite_Failed__GLE_d._r_n
call fcn.0041f2fe
pop ecx
pop ecx
xor eax, eax
jmp 0x40f6b1
mov ecx, dword [0x4d01ac]
xor eax, eax
cmp dword [0x4bcc8c], 3
push eax
push eax
push 0x1427
push dword [0x4d01b0]
cmove ecx, edi
mov dword [0x4bf950], eax
mov dword [0x4d01ac], ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, edi
pop edi
pop esi
ret
Function at 0x411488
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x411560
push ebx
push esi
push dword [edi]
call fcn.00401f4a
lea esi, [eax + 1]
xor eax, eax
mov ecx, esi
mov dword [ebp - 4], esi
push eax
shl ecx, 2
push ecx
call fcn.0042036b
mov ebx, eax
mov dword [ebp - 8], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x41155e
push esi
push ebx
push dword [edi]
call fcn.00406256
mov eax, ebx
mov esi, ebx
mov ebx, dword [edi]
push 0x7c
mov dword [ebp + 8], eax
pop edx
xor ecx, ecx
cmp word [esi], cx
je 0x4114fe
cmp word [esi], dx
je 0x4114ef
add esi, 2
cmp word [esi], cx
jne 0x4114e2
cmp word [esi], cx
je 0x4114fe
xor ecx, ecx
mov word [esi], cx
add esi, 2
jmp 0x411500
mov esi, ecx
push eax
call fcn.0041a509
cmp eax, 0xffffffff
jne 0x411516
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411541
cmp ebx, dword [edi]
je 0x411523
push 0x7c
pop eax
mov word [ebx], ax
add ebx, 2
mov eax, dword [ebp - 4]
mov ecx, ebx
sub ecx, dword [edi]
sar ecx, 1
sub eax, ecx
push eax
push ebx
push dword [ebp + 8]
call fcn.00406256
push ebx
call fcn.00401f4a
lea ebx, [ebx + eax*2]
mov eax, esi
mov dword [ebp + 8], eax
push 0x7c
pop edx
test esi, esi
jne 0x4114db
cmp ebx, dword [edi]
jne 0x411555
xor eax, eax
mov dword [edi], eax
push dword [ebp - 8]
call fcn.0046d68f
pop ecx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4178f5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [ebx + 0xc], esi
je 0x417919
push 0x14
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4179fd
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00411bff
mov eax, dword [0x4bcc70]
cmp eax, dword [0x4bcc74]
je 0x417981
push 1
push 0x66
push 4
push edi
call fcn.00415bee
push 1
push 0xa2
push 0x3ed
push edi
call fcn.00415bee
push 1
push 0xa3
push 3
push edi
call fcn.00415bee
push 1
push 0xb0
push 0x447
push edi
call fcn.00415bee
push 1
push 0xb1
push 0x453
push edi
call fcn.00415bee
cmp dword [ebx + 0x34], esi
je 0x4179b5
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4179e5
mov eax, dword [ebx + 8]
test byte [eax], 2
je 0x4179e7
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x447
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x447
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
push ebx
push edi
mov dword [ebx + 0x28], esi
call fcn.00418794
push 0x3ec
push edi
call fcn.004181ed
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4181ed
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 8

Function at 0x419688
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x419717
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x419716
push ebx
push esi
call fcn.0041f694
mov ebx, eax
cmp ebx, esi
je 0x419715
push edi
xor eax, eax
sub ebx, esi
push eax
push eax
push eax
push eax
sar ebx, 1
push ebx
push esi
push eax
push dword [0x4bcc74]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [eax + 1]
push edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
push eax
call fcn.00406235
test al, al
je 0x419714
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call fcn.0044f154
add esp, 0xc
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push edi
push ebx
push esi
push eax
push dword [0x4bcc74]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x41970d
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push edi
call fcn.0046d68f
pop ecx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41978f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ebx
push 1
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call fcn.00437054
mov esi, eax
cmp esi, 0xffffffff
jne 0x4197e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x20
je 0x4197d2
cmp eax, 0x21
je 0x4197d2
cmp eax, 0x36
jne 0x41980f
inc edi
cmp edi, 5
jge 0x41980f
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41979a
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00406215
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x419838
Capabilities:
Get common file path
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x419879
lea eax, [ebp - 0x108]
push eax
push str.systemdir
call esi
push 0
push 0
push str.shfolder.dll
call fcn.0041817a
mov ebx, eax
test ebx, ebx
je 0x41993b
push str.SHGetFolderPathA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x41992f
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call edi
test eax, eax
jne 0x4198c9
lea eax, [ebp - 0x108]
push eax
push str.progfiles
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x2b
push eax
call edi
test eax, eax
jne 0x4198eb
lea eax, [ebp - 0x108]
push eax
push str.commonfiles
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call edi
test eax, eax
jne 0x41990d
lea eax, [ebp - 0x108]
push eax
push str.appdata
call esi
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 5
push eax
call edi
test eax, eax
jne 0x41992f
lea eax, [ebp - 0x108]
push eax
push str.mydocuments
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, 0x104
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftOffice11.0CommonInstallRoot
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4199d1
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], edi
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push 0x47f04c
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4199c5
lea eax, [ebp - 0x108]
push eax
call fcn.00406215
cmp byte [ebp + eax - 0x109], 0x5c
jne 0x4199b7
lea eax, [ebp - 0x108]
push eax
call fcn.00406215
dec eax
cmp eax, edi
jae 0x4199e2
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
push str.officedir
call esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d772
mov esp, ebp
pop ebp
ret
call fcn.0044dbcc
int3

Function at 0x419fd2
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
cmp word [0x4d0c88], 0
je 0x41a020
push esi
push 0x4d0c88
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41a01f
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00401f4a
add eax, eax
push eax
push dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push 0
push dword [ebp + 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
pop ebp
ret 0x14
Function at 0x41a0ab
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41a262
test byte [ebp + 0xc], 8
je 0x41a262
push esi
mov esi, 0x104
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004152d8
test eax, eax
je 0x41a261
push esi
lea eax, [ebp - 0x118]
push eax
push str...office11_
call fcn.0043044c
push esi
lea eax, [ebp - 0x118]
push eax
push 0x47f424
call fcn.0043044c
push 0x22
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0041817a
mov esi, eax
test esi, esi
je 0x41a261
push ebx
push str._MsoCrashMainThread_4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x41a260
sub ebx, esi
push edi
mov dword [ebp - 0x120], ebx
xor ebx, ebx
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41a260
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], ebx
push eax
push ebx
push ebx
push esi
call dword [0x4d0e94]
push ebx
push dword [ebp - 0x11c]
call fcn.0042036b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41a259
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
push edi
push esi
call dword [0x4d0e94]
test eax, eax
je 0x41a252
test dword [ebp - 0x11c], 0xfffffffc
jbe 0x41a252
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [edi + ebx*4]
push esi
call dword [0x4d0ea0]
test eax, eax
jle 0x41a206
lea eax, [ebp - 0x14]
push 0x47f424
push eax
call fcn.0046b557
pop ecx
pop ecx
test eax, eax
jne 0x41a206
push 0xc
lea eax, [ebp - 0x12c]
push eax
push dword [edi + ebx*4]
push esi
call dword [0x4d0e9c]
test eax, eax
jne 0x41a216
mov eax, dword [ebp - 0x11c]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x41a1c7
jmp 0x41a252
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x120]
add eax, dword [ebp - 0x120]
push ecx
push 0
push 0
push eax
push 0x10000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x41a252
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0046d68f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044d772
mov esp, ebp
pop ebp
ret 8

Function at 0x41a509
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
Function at 0x41b604
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b619
xor eax, eax
jmp 0x41b61c
and eax, 0x10
pop ebp
ret 4

Function at 0x41b64d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
imul esi, eax, 0x18
xor ebx, ebx
cmp dword [esi + 0x4b8270], ebx
je 0x41b688
mov eax, dword [esi + 0x4b8274]
cmp eax, dword [ebp + 0x10]
jne 0x41b688
xor eax, eax
inc eax
jmp 0x41b765
push edi
push ecx
push str.HKCUSoftware
push str._s_s
lea eax, [ebp - 0x108]
push 0xffffffffffffffff
push eax
call fcn.004015eb
mov eax, dword [esi + 0x4b8280]
add esp, 0x14
test eax, eax
je 0x41b6dd
cmp byte [eax], bl
je 0x41b6dd
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push eax
push 0x47e0bc
call fcn.0043044c
push edi
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x4b8280]
call fcn.0043044c
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00420a92
test eax, eax
je 0x41b742
push ebx
lea eax, [ebp - 0x114]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41b742
push 4
pop edi
push edi
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push dword [esi + 0x4b8284]
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41b746
xor eax, eax
jmp 0x41b764
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x4b8274], eax
xor eax, eax
inc eax
mov dword [esi + 0x4b8278], edi
mov dword [esi + 0x4b8270], eax
mov dword [esi + 0x4b827c], ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d772
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b777
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
imul esi, eax, 0x18
xor ebx, ebx
cmp dword [esi + 0x4b8270], ebx
je 0x41b7b2
mov eax, dword [esi + 0x4b8274]
cmp eax, dword [ebp + 0x10]
jne 0x41b7b2
xor eax, eax
inc eax
jmp 0x41b8a1
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push eax
push ecx
call fcn.00401f74
mov eax, dword [esi + 0x4b8280]
test eax, eax
je 0x41b7f9
cmp byte [eax], bl
je 0x41b7f9
push edi
lea eax, [ebp - 0x108]
push eax
push 0x47e0bc
call fcn.0043044c
push edi
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x4b8280]
call fcn.0043044c
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00420a92
test eax, eax
je 0x41b87e
push dword [ebp - 0x10c]
call fcn.0041f644
mov edi, eax
cmp byte [edi], 0x5c
jne 0x41b87e
push ebx
lea eax, [ebp - 0x114]
mov byte [edi], bl
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41b87e
mov eax, dword [esi + 0x4b8284]
test eax, eax
je 0x41b860
cmp byte [eax], bl
jne 0x41b863
lea eax, [edi + 1]
push 4
pop edi
push edi
lea ecx, [ebp + 0x10]
push ecx
push edi
push ebx
push eax
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41b882
xor eax, eax
jmp 0x41b8a0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x4b8274], eax
xor eax, eax
inc eax
mov dword [esi + 0x4b8278], edi
mov dword [esi + 0x4b8270], eax
mov dword [esi + 0x4b827c], ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d772
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b8b3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
test esi, esi
jne 0x41b8cd
xor eax, eax
jmp 0x41b992
push ebx
push esi
call fcn.00401f4a
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00406235
test al, al
jne 0x41b8f2
xor eax, eax
jmp 0x41b991
push ebx
mov ebx, dword [ebp - 4]
push ebx
push esi
mov dword [ebp + 8], edi
call fcn.00406256
mov esi, dword [ebp - 8]
add esi, 0xfffffffe
push ebx
add esi, ebx
call fcn.0041b604
test eax, eax
jne 0x41b985
push ebx
mov dword [ebp - 8], esi
call fcn.0041f694
mov esi, eax
cmp dword [ebp + 8], edi
je 0x41b92b
mov eax, dword [ebp - 8]
push 0x5c
pop ecx
mov word [eax], cx
push ebx
cmp esi, ebx
jbe 0x41b99a
xor eax, eax
mov dword [ebp + 8], 1
mov word [esi], ax
call fcn.0041b604
test eax, eax
je 0x41b912
push 0x5c
pop eax
mov word [esi], ax
add esi, 2
mov dword [ebp + 8], edi
cmp word [esi], ax
je 0x41b968
cmp word [esi], di
je 0x41b963
add esi, 2
cmp word [esi], ax
jne 0x41b956
cmp word [esi], ax
jne 0x41b974
xor eax, eax
mov dword [ebp + 8], 1
mov word [esi], ax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41b988
cmp dword [ebp + 8], edi
jne 0x41b945
xor edi, edi
inc edi
push ebx
call fcn.0046d68f
mov eax, edi
pop ecx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0046d68f
xor eax, eax
jmp 0x41b990
Function at 0x41cd51
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor edi, edi
call fcn.00401f4a
push dword [ebp + 0x10]
mov esi, eax
call fcn.00401f4a
mov ebx, dword [ebp + 0x18]
add eax, 0xb
add eax, esi
cmp eax, ebx
jl 0x41cd7e
xor eax, eax
jmp 0x41ce01
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push dword [ebp + 0x14]
mov esi, eax
push dword [ebp + 0xc]
call fcn.00406256
push ebx
push dword [ebp + 0x14]
push 0x47d358
call fcn.00430486
push 0x10
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.00401f4a
mov ecx, ebx
sub ecx, eax
push ecx
push esi
call fcn.00401f4a
lea eax, [esi + eax*2]
push eax
call fcn.00431045
push ebx
push esi
push dword [ebp + 0x10]
call fcn.00430486
push 1
push 0
push 0x100
push 1
push dword [ebp + 0x20]
push 0
push dword [ebp + 0x1c]
push esi
call fcn.00437054
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x41cdfe
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jmp 0x41cd75
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c

Function at 0x41d358
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x41d3ff
cmp dword [ebp + 8], esi
je 0x41d3ff
push esi
mov ebx, 0x8000
push ebx
call fcn.0042036b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41d3ff
push ebx
push esi
push edi
call fcn.0044f154
add esp, 0xc
push ebx
push edi
push dword [ebp + 8]
call fcn.0041d300
test eax, eax
je 0x41d439
push 1
push esi
push esi
push 1
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call fcn.00437054
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d40a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x41d3dc
cmp eax, 0x21
je 0x41d3dc
cmp eax, 0x36
jne 0x41d3f8
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 5
jge 0x41d3f3
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x32
jl 0x41d3a8
push edi
call fcn.0046d68f
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push edi
call fcn.00406215
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push edi
call fcn.0046d68f
pop ecx
mov eax, esi
jmp 0x41d401
Function at 0x41d49d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x41d54a
cmp dword [ebp + 8], esi
je 0x41d54a
push esi
mov ebx, 0x10000
push ebx
call fcn.0042036b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41d54a
push ebx
push esi
push edi
call fcn.0044f154
add esp, 0xc
push 0x8000
push edi
push dword [ebp + 8]
call fcn.0041d444
test eax, eax
je 0x41d586
push 1
push esi
push esi
push 1
push dword [ebp + 0x10]
push esi
push 0x40000000
push dword [ebp + 0xc]
call fcn.00437054
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x41d527
cmp eax, 0x21
je 0x41d527
cmp eax, 0x36
jne 0x41d543
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 5
jge 0x41d53e
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x32
jl 0x41d4f1
push edi
call fcn.0046d68f
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push edi
call fcn.00401f4a
add eax, eax
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push edi
call fcn.0046d68f
pop ecx
mov eax, esi
jmp 0x41d54c