joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40670f
Capabilities:
Accept command line arguments

Disassembly:
push 0x40
mov eax, 0x482e2f
call fcn.00469021
xor edi, edi
test byte [0x4a7de4], 1
mov dword [ebp - 0x1c], edi
jne 0x406768
or dword [0x4a7de4], 1
mov dword [ebp - 4], edi
xor eax, eax
mov dword [0x4a7dbc], 7
mov dword [0x4a7db8], edi
mov word [0x4a7da8], ax
push 0x4a7dc4
mov byte [ebp - 4], 1
call fcn.004086f8
push 0x4851fb
call fcn.004682bc
or dword [ebp - 4], 0xffffffff
pop ecx
cmp byte [0x4a7de8], 0
jne 0x40692c
xor esi, esi
lea eax, [ebp - 0x18]
inc esi
push eax
mov byte [0x4a7de8], 1
mov dword [0x4a7da0], esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x40692c
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
jle 0x406923
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
cmp word [eax], 0x2f
jne 0x406828
push 0x489dc0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00412219
add esp, 0xc
push 2
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
push 0x1c
cdq
pop esi
idiv esi
cmp eax, ecx
jne 0x406813
push 1
lea esi, [ebp - 0x34]
call fcn.0040fcb5
push 0
mov ebx, eax
call fcn.0040fcb5
push eax
push 0x4a7dc4
call fcn.0040872e
push 0xffffffffffffffff
push 0
push eax
mov eax, ebx
call fcn.004048d8
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x34]
call fcn.004049d1
push dword [ebp - 0x34]
call fcn.00467ccb
pop ecx
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40684f
push str._embedded
push eax
call ebx
test eax, eax
jne 0x40684f
mov dword [0x4a7da0], 2
jmp 0x406914
mov eax, dword [edi]
test eax, eax
je 0x406870
push str._console
push eax
call ebx
test eax, eax
jne 0x406870
mov dword [0x4a7da0], 3
jmp 0x406914
mov eax, dword [edi]
test eax, eax
je 0x406891
push str._consoletool
push eax
call ebx
test eax, eax
jne 0x406891
mov dword [0x4a7da0], 4
jmp 0x406914
push dword [edi]
mov esi, str._class
call fcn.004123cd
test eax, eax
je 0x4068fb
push 0x489e1c
push dword [edi]
lea eax, [ebp - 0x4c]
push eax
call fcn.00412219
add esp, 0xc
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 1
jbe 0x4068e4
push 1
lea esi, [ebp - 0x4c]
call fcn.0040fcb5
push 0xffffffffffffffff
push 0
push 0x4a7da4
call fcn.004048d8
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x4c]
call fcn.004049d1
push dword [ebp - 0x4c]
call fcn.00467ccb
pop ecx
jmp 0x406914
mov edi, dword [edi]
test edi, edi
je 0x406914
push 0x489e20
push edi
call ebx
test eax, eax
jne 0x406914
mov byte [0x4a7dc0], 1
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x4067b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp + 8]
mov eax, dword [0x4a7da0]
push 0x4a7da4
lea esi, [edi + 4]
mov dword [edi], eax
call fcn.004045c2
mov dword [ebp - 4], 4
mov al, byte [0x4a7dc0]
mov byte [edi + 0x20], al
push 0x4a7dc4
lea eax, [edi + 0x24]
push eax
call fcn.00408892
mov eax, edi
call fcn.004690f9
ret
Function at 0x40b559
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x44
lea ebp, [esp - 4]
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x44], eax
push 0x74
mov eax, 0x480a30
call fcn.00469021
mov eax, dword [ebp + 0x50]
mov dword [ebp], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x58]
push 0x38
mov dword [ebp + 4], eax
xor edi, edi
lea eax, [ebp - 0x44]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x48], 0x3c
call fcn.00469330
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
xor ebx, ebx
inc ebx
push edi
push esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40b5d7
xor eax, eax
jmp 0x40b6d8
cmp dword [ebp - 0x3c], 3
jne 0x40b5d0
push dword [ebp - 0x34]
lea esi, [ebp - 0x64]
push dword [ebp - 0x38]
call fcn.0040bb94
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00404787
or dword [ebp - 4], 0xffffffff
push edi
push ebx
mov ecx, esi
call fcn.0040488d
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00404572
mov dword [ebp - 4], ebx
cmp word [ebp - 0x30], 0x50
je 0x40b64c
movzx eax, word [ebp - 0x30]
push eax
push 0x48a414
lea esi, [ebp - 0x64]
call fcn.004124a8
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
lea esi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0040bca2
push edi
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.0040488d
mov cx, word [ebp - 0x30]
mov eax, dword [ebp + 4]
mov word [eax], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add eax, ecx
push eax
push dword [ebp - 0x1c]
lea esi, [ebp + 0x28]
call fcn.0040bb94
mov byte [ebp - 4], 3
cmp dword [ebp + 0x3c], edi
jne 0x40b67f
push 0x48a418
mov ecx, esi
call fcn.00404819
cmp dword [ebp + 0x24], 0x10
mov ecx, dword [ebp + 0x10]
jae 0x40b68b
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x40], 0x10
mov eax, dword [ebp + 0x2c]
jae 0x40b697
lea eax, [ebp + 0x2c]
push ecx
push eax
push str.GET__s_HTTP_1.1_r_nHost:__s_r_nConnection:_close_r_nCache_Control:_no_cache_r_nAccept:___r_n_r_n
lea esi, [ebp - 0x80]
call fcn.004124a8
add esp, 0xc
mov ecx, dword [ebp]
push 0xffffffffffffffff
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00404787
push edi
push ebx
mov ecx, esi
call fcn.0040488d
push edi
push ebx
lea ecx, [ebp + 0x28]
call fcn.0040488d
push edi
push ebx
lea ecx, [ebp + 0xc]
call fcn.0040488d
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 + 0x44]
xor ecx, ebp
call fcn.004678b3
add ebp, 0x48
leave
ret
Function at 0x40b6f5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push esi
push esi
mov dword [ebp - 0xc], 0x4000
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x40b763
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x40b763
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
leave
ret
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40b791
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CancelIo]
or esi, 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40b75f
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x40b784
mov esi, dword [ebp - 4]
jmp 0x40b784
Function at 0x40e70c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x40e724
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x65
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
cmp ebx, esi
je 0x40e77d
cmp edi, esi
jne 0x40e740
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 8
call fcn.004685b1
pop ecx
push esi
push esi
push eax
push 0x40e652
push esi
push esi
mov dword [eax + 4], ebx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x40e775
cmp eax, 0xffffffff
je 0x40e775
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
call fcn.0040e5d2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ec26
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea ecx, [ebp - 0x20]
call fcn.00414a71
cmp dword [eax + 0x18], 8
jb 0x40ec41
mov eax, dword [eax + 4]
jmp 0x40ec44
add eax, 4
call fcn.00411498
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.0040498a
lea ecx, [ebp - 0x20]
call fcn.00414a71
cmp dword [eax + 0x18], 8
jb 0x40ec68
mov eax, dword [eax + 4]
jmp 0x40ec6b
add eax, 4
push eax
call fcn.00411019
cmp eax, 2
jne 0x40ec7e
test edx, edx
jne 0x40ec7e
mov bl, 1
jmp 0x40ec80
xor bl, bl
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.0040498a
test bl, bl
je 0x40eccf
push 0x40
push 0x4895f0
push 0x48ac10
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004128b2
mov dword [esp], str.ruleupt
push 0x4890ac
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x40ece3
push 0x10
push 0x4892c8
push 0x489928
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
pop ebx
leave
ret
Function at 0x40f151
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x4a20b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00411061
and dword [esp + 0x38], 0
cmp dword [esp + 0x20], 0
jne 0x40f1cc
mov byte [esp + 0xb], 0
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040488d
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004678b3
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [esp + 0x10]
call fcn.00401778
pop ecx
mov byte [esp + 0xb], al
jmp 0x40f1a0
Function at 0x40f3ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483fcd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4a20b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 7
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
je 0x40f3fe
xor al, al
jmp 0x40f5c4
test byte [0x4a7dec], 1
jne 0x40f42e
or dword [0x4a7dec], 1
and dword [esp + 0x88], 0
call fcn.0040fcd9
push 0x485208
call fcn.004682bc
or dword [esp + 0x8c], 0xffffffff
pop ecx
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.0040fe26
mov eax, dword [0x4a7e08]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a7df0]
lea edi, [esp + 0x18]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.00405d80
test al, al
je 0x40f5ac
xor esi, esi
push esi
push esi
lea eax, [esp + 0x2c]
call fcn.0041fc92
mov dword [esp + 0x88], 3
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
call fcn.00404bdf
mov byte [esp + 0x88], 4
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x14], esi
jbe 0x40f52a
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.0040fc95
cmp byte [eax], 0x27
jne 0x40f4b6
mov byte [esp + 0x18], 0x22
jmp 0x40f4c3
mov eax, ebx
call fcn.0040fc95
mov al, byte [eax]
mov byte [esp + 0x18], al
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x5c]
call fcn.0040fed4
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x5c]
call fcn.004218b3
push dword [eax + 4]
push dword [eax]
push edi
push esi
call fcn.0041020e
add esp, 0x10
push dword [esp + 0x18]
mov edi, eax
push 1
lea esi, [esp + 0x64]
call fcn.0041017c
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x48]
mov ecx, esi
call fcn.004218b3
call fcn.004105de
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x14]
jb 0x40f49f
xor esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.00401778
pop ecx
test al, al
je 0x40f5a8
cmp byte [esp + 0x2c], 7
jne 0x40f5a8
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0041ed2c
push ebx
mov byte [esp + 0xa4], 5
call fcn.0040fd3a
mov edi, eax
mov byte [esp + 0xa0], 4
call fcn.0041ef48
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call fcn.0040f1dd
pop ecx
pop ecx
mov bl, al
push esi
push 1
lea ecx, [esp + 0x64]
call fcn.0040488d
or dword [esp + 0x88], 0xffffffff
lea esi, [esp + 0x24]
call fcn.0041eec5
mov al, bl
jmp 0x40f5c4
xor bl, bl
jmp 0x40f587
lea esi, [esp + 0x10]
call fcn.00410151
add eax, 0x20
push eax
push dword [esp + 0x24]
call fcn.0040f1dd
pop ecx
pop ecx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004678b3
mov esp, ebp
pop ebp
ret
Function at 0x40f617
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x44
mov eax, 0x481e00
call fcn.00469021
mov ebx, dword [ebp + 0x438]
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x14], 0xc8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esi
jbe 0x40f66a
push 0x488f6c
mov esi, ebx
call fcn.004045a2
mov eax, ebx
jmp 0x40f75c
xor eax, eax
push 0x40e
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.00469330
add esp, 0xc
push 0x208
lea eax, [ebp + 0x1c]
push eax
mov ebx, 0x48ad1c
push ebx
call fcn.004113db
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.0040124d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40f6ad
mov eax, dword [eax + 4]
jmp 0x40f6b0
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp + 0x1c]
push eax
call edi
push esi
push 1
lea esi, [ebp - 0x34]
call fcn.0040498a
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f74e
lea eax, [ebp]
push 2
push eax
call fcn.0040f5e5
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x14], esi
je 0x40f73e
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40f6f9
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
lea eax, [ebp + 0x1c]
push eax
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
push eax
call fcn.0040124d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40f729
mov eax, dword [eax + 4]
jmp 0x40f72c
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push eax
call edi
push esi
push 1
lea esi, [ebp - 0x50]
call fcn.0040498a
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp]
call fcn.0040498a
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
push eax
call fcn.004045a2
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 + 0x42c]
xor ecx, ebp
call fcn.004678b3
add ebp, 0x430
leave
ret
Function at 0x410cbf
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x410ee4
test eax, eax
jne 0x410d10
test ecx, ecx
je 0x410ee4
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x410d66
cmp ax, 0x5c
je 0x410d66
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.00469330
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410ee4
test al, 0x10
je 0x410ee4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x48adbc
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x410ee4
mov dword [ebp - 0xa7c], 1
push 0x489e38
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410ea9
push 0x48adc0
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410ea9
cmp dword [ebp - 0xa78], 0xffffffff
je 0x410ea9
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x410e89
cmp dword [ebp - 0xa80], 0
je 0x410e4d
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x410ec6
cmp dword [ebp + 0xc], 0
je 0x410ea9
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.00410cbf
push 2
pop ecx
cmp eax, ecx
jne 0x410ea9
mov dword [ebp - 0xa7c], ecx
jmp 0x410ed0
cmp dword [ebp - 0xa84], 0
je 0x410ea9
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x410ec6
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410dc9
jmp 0x410ed0
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x410ee6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret 0x18
Function at 0x410ef7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x410ff1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x410ff1
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00469330
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.00411716
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410f6e
shr eax, 4
not eax
and eax, 1
jmp 0x410ff3
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.00411001
test eax, eax
je 0x410ff1
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x410fd3
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x410fd9
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.0040e5d2
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x410ff3
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret
Function at 0x411498
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x4114c1
call fcn.00410ef7
test eax, eax
jne 0x4114c1
pop edi
pop esi
pop ebx
leave
ret
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x4114e1
cmp esi, 0xffffffff
jne 0x4114f9
cmp dword [ebp - 8], ebx
jne 0x4114ed
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.0040e5d2
mov eax, ebx
jmp 0x4114bc
push ebx
lea eax, [ebp - 4]
push eax
push 2
push 0x4898a4
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41151e
cmp dword [ebp - 4], 2
jne 0x41151e
xor ebx, ebx
inc ebx
jmp 0x4114ed
cmp dword [ebp - 8], ebx
jne 0x4114ed
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x4114e6
cmp esi, ebx
je 0x4114e6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4114e6

Function at 0x41169c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.00469330
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.00411605
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4a4608]
inc ecx
cmp ecx, 0x24
jl 0x4116e4
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.004678b3
add ebp, 0x88
leave
ret

Function at 0x41197f
Capabilities:
Write clipboard data

Disassembly:
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, eax
test ebx, ebx
je 0x4119df
test edi, edi
je 0x4119df
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4119de
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4119d7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4119d7
inc ebx
jmp 0x4119de
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
pop ebx
ret