joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485fa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x14], esi
mov dword [esi], 0x49eb1c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 5
lea edi, [esi + 0x4c]
mov dword [esp + 0x1c], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x1c], 1
jle 0x47b7f6
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x28], eax
lea ecx, [ecx]
push ebp
mov ecx, edi
call fcn.0047b6e0
mov eax, dword [esp + 0x28]
add ebp, 0x1c
dec eax
mov dword [esp + 0x28], eax
jne 0x47b7e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0xec], eax
mov dword [esi + 0x60], ecx
lea ebp, [esi + 0x68]
xor eax, eax
mov ecx, 0x20
mov edi, ebp
mov dword [esi + 0x38], ebx
mov dword [esi + 0x64], edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x47b828
sub eax, ecx
push eax
push edi
push ebp
call dword [sym.imp.MSVCR71.dll_strncpy]
mov eax, dword [esp + 0x44]
mov dword [esi + 0xe8], eax
mov eax, 0x47a960
lea edi, [esi + 0xf0]
mov ecx, 0x100
rep stosd dword es:[edi], eax
add esp, 0xc
mov dword [esi + 0x288], 0x47aa50
mov dword [esi + 0x298], 0x47ab10
mov dword [esi + 0x5c], ebx
call fcn.0047c020
push 0x20
mov dword [esi + 0x48], eax
mov edx, dword [eax]
push str.58DA8D8F_818D_AFC0_949D_4210102A8DA7
mov ecx, eax
call dword [edx]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x47b930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00449c80
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.00449c30
push 0x21
lea ecx, [esi + 0xc]
push ecx
mov ecx, edi
call fcn.00449cf0
add esi, 0x30
push esi
mov ecx, edi
call fcn.00449c30
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47c170
Capabilities:
Access peb ldr_data
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x486138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4ac3b8]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x10], esi
mov dword [esi], 0x49eb24
call fcn.0047cc60
lea edi, [esi + 0x48]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1b0], ebx
call fcn.00449a90
lea ebp, [esi + 0x4c]
mov ecx, ebp
mov byte [esp + 0x1b0], 1
call fcn.00449a90
mov eax, 5
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], eax
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov word [eax], 2
lea eax, [esp + 0x14]
push eax
push 0x202
mov byte [esp + 0x1b8], 6
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
push 1
mov ecx, edi
call fcn.00449aa0
push ebx
push 1
mov ecx, ebp
call fcn.00449aa0
mov ecx, dword [esp + 0x1a8]
pop edi
mov dword [esi + 0x44], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x194]
call fcn.0045015b
add esp, 0x1a4
ret
Function at 0x47c4e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4861b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x4ac3b8]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x420], ebx
xor edi, edi
mov dword [ebp - 0x418], edi
lea ebx, [ebx]
mov al, byte [esi + 0x30]
test al, al
je 0x47c56e
mov ecx, dword [esi + 8]
push ebx
push 0x400
lea eax, [ebp - 0x414]
push eax
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jg 0x47c590
mov byte [esi + 0x30], 0
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x47c567
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x414]
lea ecx, [esi + 0xc]
push eax
call fcn.0047d400
cmp edi, ebx
jne 0x47c5cc
push 0x802
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x47c624
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, edx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x41c]
push edx
push 0x800
push edi
lea ecx, [esi + 0xc]
call fcn.0047ce50
cmp eax, 1
jne 0x47c6d7
mov ax, word [ebp - 0x41c]
lea ebx, [esi + 0x98]
push ebx
mov word [edi + 0x800], ax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x47c630
mov ecx, dword [eax + 4]
mov dword [esi + 0x74], ecx
dec dword [esi + 0x78]
jmp 0x47c64b
mov dword [ebp - 4], 0xffffffff
jmp 0x47c522
push 8
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x47c649
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x47c64b
xor eax, eax
mov dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x47c660
mov dword [esi + 0x6c], eax
jmp 0x47c663
mov dword [ecx + 4], eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x68]
inc eax
lea ecx, [esi + 0x48]
mov dword [esi + 0x68], eax
call fcn.00449b20
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push 0x802
mov dword [ebp - 0x418], edi
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edx, eax
add esp, 4
cmp edx, edi
je 0x47c6b1
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, edx
mov dword [ebp - 0x418], edi
jmp 0x47c5d2
mov dword [ebp - 0x418], edi
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
jmp 0x47c530
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
jmp 0x47c530
Function at 0x47c890
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4861d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
lea ecx, [ecx]
mov al, byte [esi + 0x30]
test al, al
je 0x47ca36
mov eax, dword [esi + 0x50]
test eax, eax
mov dword [ebp - 4], 0
jne 0x47c8e8
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
call fcn.00449af0
mov eax, dword [esi + 0x50]
test eax, eax
jle 0x47c9ab
lea edi, [esi + 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x47c906
xor ebx, ebx
jmp 0x47c952
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
cmp edx, eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x18], ecx
jge 0x47c930
mov ecx, dword [esi + 0x5c]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
inc eax
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
jmp 0x47c939
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
xor eax, eax
cmp ebx, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x54], ebx
jne 0x47c948
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x50]
mov ebx, dword [ebp - 0x18]
dec eax
mov dword [esi + 0x50], eax
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x47c996
cmp dword [esi + 8], 0xffffffff
je 0x47c996
xor edi, edi
jmp 0x47c970
movzx eax, word [ebx + 0x800]
cmp edi, eax
jge 0x47c996
mov ecx, dword [esi + 8]
push 0
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x47c996
add edi, eax
jmp 0x47c970
push ebx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x47c8e3
lea ebx, [esi + 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x47c9c7
lea ecx, [esi + 0x4c]
call fcn.00449b30
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
jmp 0x47c8c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403cbf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x429880]
cmp dword [ebp + 8], 0
je 0x403cea
test eax, eax
je 0x403cde
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
mov dword [0x429880], 0
jmp 0x403d54
test eax, eax
je 0x403cfd
mov dword [esp], 0
call fcn.00408eae
push edx
jmp 0x403d54
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x43bac0]
jbe 0x403d54
mov eax, dword [0x43baec]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403c04
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
sub esp, 0x14
mov dword [0x429880], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
leave
ret
Function at 0x407964
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x38]
lea edi, [ebp - 0x2c]
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0x40001
mov dword [ebp - 0x28], 0x40c8d0
mov dword [ebp - 0x24], 0x40c8d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x40c8c0
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edx
push edx
test eax, eax
je 0x4079c1
xor eax, eax
jmp 0x4079ee
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x4079ee
mov dword [esp + 8], edi
mov dword [esp + 4], 0x80000007
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
sub esp, 0xc
test eax, eax
jne 0x4079bd
call ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x407a26
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [0x43a3c0], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], 0x43a3c0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x407aa2
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push eax
leave
mov eax, edx
ret 4

Function at 0x407aa8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x3c
mov dword [eax + 0x24], 0
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x407d21
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
inc eax
push edx
je 0x407d4f
mov eax, ebx
mov dword [esp], esi
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

Function at 0x407d5a
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.00407d21
push ecx
cmp eax, 0xffffffff
jne 0x407d7b
xor edi, edi
jmp 0x407db8
mov esi, eax
mov dword [esp], ebx
test edi, 1
je 0x407db0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x407da9
and edi, 4
jne 0x407d77
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
push eax
jmp 0x407db8
mov edi, 1
jmp 0x407db8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x407d8e
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x4087a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov dword [0x438bc0], 0x55004e
mov dword [0x438bc4], 0x4c
test ebx, ebx
jne 0x4087f9
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x4383c0
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x4089ee
cmp eax, 0x400
jle 0x40884a
jmp 0x4089ee
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00407dc4
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x438bc0
mov dword [esp], ebx
call esi
sub esp, 0xc
test eax, eax
je 0x4089ee
cmp eax, 0x400
jle 0x4087ca
jmp 0x4089ee
mov dword [esp + 0xc], 0x4383c0
mov dword [esp + 8], 0x438bc0
mov dword [esp + 4], str._ls_ls_r_n
mov dword [esp], 0x437fc0
call dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43ba60]
mov eax, dword [eax + 0x128]
mov dword [esp], 0x4383c0
mov dword [esp + 4], eax
call fcn.0040847e
push esi
push esi
mov dword [esp + 8], 4
mov dword [esp + 4], 0xc0000000
mov dword [esp], 0x4383c0
call fcn.00407dc4
sub esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
je 0x4089ee
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [ebp - 0x1c]
push ecx
push ecx
add eax, esi
mov dword [ebp - 0x24], eax
add eax, 0xa
mov dword [esp + 4], eax
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push ebx
mov ebx, eax
test eax, eax
je 0x4089e4
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00407e8d
sub esp, 0xc
test eax, eax
je 0x4089e4
mov dword [esp + 4], str._Rename__r_n
mov dword [esp], ebx
call fcn.00407c99
lea ecx, [ebx + esi]
push edx
push edx
test eax, eax
jne 0x408944
mov dword [esp + 4], str._Rename__r_n
add esi, 0xa
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, esi
push eax
push eax
jmp 0x408984
add eax, 0xa
mov dword [esp + 4], 0x40c6b3
mov dword [esp], eax
mov dword [ebp - 0x28], ecx
call fcn.00407c99
mov edx, esi
push ecx
mov dword [ebp - 0x20], eax
push ecx
test eax, eax
je 0x408984
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add edx, ebx
cmp dword [ebp - 0x20], ecx
jae 0x40897c
dec ecx
mov al, byte [ecx + 1]
dec edx
mov byte [edx + 1], al
jmp 0x40896d
mov eax, dword [ebp - 0x20]
sub eax, ebx
lea edx, [eax + 1]
mov eax, dword [ebp - 0x1c]
add edx, ebx
mov dword [esp + 4], 0x437fc0
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.00407d04
add esi, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00407ed3
sub esp, 0xc
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x408a73
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp], 0x4393c0
mov dword [esp + 4], eax
call fcn.004082d8
push ebx
push ebx
mov dword [esp], 0x4393c0
call fcn.00407c05
push edx
test eax, eax
jne 0x408aa4
xor eax, eax
jmp 0x408b20
mov dword [esp], eax
mov ebx, eax
call fcn.004083a1
push ecx
test byte [0x43bac4], 0x80
je 0x408ac6
mov ax, word [ebx]
test ax, ax
je 0x408aa0
cmp ax, 0x5c
je 0x408aa0
sub ebx, 0x4393c0
sar ebx, 1
mov dword [esp], 0x4393c0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
mov dword [esp], 0x4393c0
cmp ebx, eax
jge 0x408b05
call fcn.00408a3b
push edx
test eax, eax
je 0x408af6
test byte [eax], 0x10
je 0x408aa0
mov dword [esp], 0x4393c0
call fcn.00407b92
push eax
jmp 0x408ace
call fcn.0040830c
push eax
mov dword [esp], 0x4393c0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
push edx
setne al
movzx eax, al
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x408dac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408dea
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408df1
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c688
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x408f90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43a424], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x408fcd
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x408fb8
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408faa
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408fa3
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408ff0
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fd7
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x41eca0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x41f420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x104
mov eax, dword [0x43d014]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
xor esi, esi
push edi
mov ebx, edx
xor eax, eax
mov byte [ecx + eax + 2], al
inc eax
cmp eax, 0x100
jb 0x41f445
xor edi, edi
mov eax, edi
xor edx, edx
div ebx
inc edi
mov al, byte [edx + ebp]
mov byte [esp + edi + 0xf], al
cmp edi, 0x100
jb 0x41f453
xor eax, eax
jmp 0x41f470
mov dl, byte [ecx + eax + 2]
movzx edi, byte [esp + eax + 0x10]
movzx ebx, dl
add esi, edi
add esi, ebx
and esi, 0xff
mov bl, byte [ecx + esi + 2]
mov byte [ecx + eax + 2], bl
inc eax
mov byte [ecx + esi + 2], dl
cmp eax, 0x100
jb 0x41f470
pop edi
pop esi
mov word [ecx], 0
mov ecx, dword [esp + 0x108]
pop ebp
pop ebx
xor ecx, esp
call fcn.00425d14
add esp, 0x104
ret

Function at 0x41f4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x41f55d
push ebp
mov ebp, dword [esp + 0x10]
push esi
sub ebp, edi
movzx ecx, byte [eax]
inc ecx
and ecx, 0x800000ff
jns 0x41f4ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax], cl
movzx ecx, cl
movzx edx, byte [ecx + eax + 2]
lea esi, [ecx + eax + 2]
movzx ecx, byte [eax + 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x41f50e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [eax + 1], cl
mov dl, byte [esi]
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
mov byte [esi], cl
movzx ecx, byte [eax + 1]
mov byte [ecx + eax + 2], dl
movzx edx, byte [eax + 1]
movzx ecx, byte [edx + eax + 2]
movzx edx, byte [eax]
movzx edx, byte [edx + eax + 2]
add ecx, edx
and ecx, 0x800000ff
jns 0x41f548
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, byte [ecx + eax + 2]
xor cl, byte [edi + ebp]
inc edi
dec ebx
mov byte [edi - 1], cl
jne 0x41f4d6
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x41f560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
add eax, 5
cmp eax, 0x10
jbe 0x41f574
mov eax, 0x10
lea edx, [ecx + 0xb1]
mov dword [esp + 4], edx
add ecx, 0xc1
mov edx, eax
jmp fcn.0041f420
Function at 0x41f7c0
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x43d014]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push esi
mov esi, dword [esp + 0x1cc]
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x20
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x14]
mov ebx, 0x10325476
push ecx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], ebx
call fcn.0041f5b0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x178]
push eax
call fcn.0041f6c0
add esp, 0x14
cmp dword [esi], 3
jne 0x41f88c
mov edi, 0x32
mov ecx, dword [esi + 4]
xor eax, eax
push ecx
lea edx, [esp + 0x16c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], ebx
call fcn.0041f5b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x178]
push edx
call fcn.0041f6c0
add esp, 0x14
dec edi
jne 0x41f838
mov edx, dword [esi + 4]
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x68]
call fcn.0041f420
lea ecx, [esi + 0x28]
push ecx
mov ecx, 0x20
lea edx, [esp + 0x180]
lea eax, [esp + 0x6c]
call fcn.0041f4c0
add esp, 8
cmp dword [esi], 3
jne 0x41f936
mov ebx, 1
mov edi, dword [esi + 4]
xor eax, eax
test edi, edi
je 0x41f8e5
nop
mov dl, byte [esp + eax + 0x168]
xor dl, bl
mov byte [esp + eax + 0x198], dl
inc eax
cmp eax, edi
jb 0x41f8d0
push 0x20
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x1b0]
push ecx
call fcn.00407b00
lea edx, [esp + 0x1a4]
push edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x74]
call fcn.0041f420
lea eax, [esp + 0x1b8]
push eax
mov ecx, 0x20
lea edx, [esp + 0x18c]
lea eax, [esp + 0x78]
call fcn.0041f4c0
inc ebx
add esp, 0x14
cmp ebx, 0x13
jbe 0x41f8c6
push 0x20
lea ecx, [esp + 0x17c]
push ecx
add esi, 0x48
push esi
call fcn.00407b00
mov ecx, dword [esp + 0x1d4]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00425d14
add esp, 0x1c0
ret