joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x56aa44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b780
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45b769
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45b6f0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x56ab20]
test eax, eax
jne 0x45b6d7
mov eax, dword [esp + 0x20]
jmp 0x45b6e5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45b727
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x56ab20]
test eax, eax
jne 0x45b712
mov eax, dword [esp + 0x20]
jmp 0x45b720
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45b74d
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45b765
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
add esp, 0x1c
ret
lea eax, [0x4b767e]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x45e810
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x56a926], 0
je 0x45e82a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45e830
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x56a926], 0
je 0x45e84b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45f6a0
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x45f6ba
mov ecx, 0x14
jmp 0x45f6c3
shl ecx, 2
add ecx, 0xe10
mov dword [0x56aa44], ecx
ret
Function at 0x485350
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x56aa44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48553a
sub esp, 0x48
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 0xa]
mov edx, dword [0x5424e4]
movzx ebx, word [eax + 0xc]
movzx ebp, word [eax + 8]
movzx esi, word [eax + 2]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
call sym.time.Date
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0045efee
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0045efee
call sym.time.Time.abs
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call sym.runtime.uint64mod
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x485427
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x485441
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4854b8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x48548e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x48548a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x485483
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x485490
mov ebx, 0x1d
jmp 0x4854ae
mov ebp, eax
jmp 0x485490
mov ebp, eax
cmp ebp, 0xd
jae 0x48552d
lea eax, [ebp - 1]
lea edx, [0x53d540]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x485523
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4854b8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4854ea
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4854f2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, 0xd
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time.pseudoUnix
Function at 0x497580
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x56aa44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497621
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x497617
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x497617
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x497617
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x497617
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x497617
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x497617
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x497617
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x497617
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x497617
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x497617
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x497619
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x401015
Capabilities:
Get hostname
Initialize winsock library
Resolve dns
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov dword [ebp - 0x2a0], 0
lea eax, [ebp - 0x294]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x401069
lea edx, [ebp - 0x100]
push edx
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
jne 0x401079
mov byte [ebp - 0x100], 0x2a
mov byte [ebp - 0xff], 0
jmp 0x4010a8
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea edx, [ebp - 0x100]
push edx
call fcn.004011d0
add esp, 8
call sub.WSOCK32.dll_WSACleanup
lea eax, [ebp - 0x2a0]
push eax
push str.SOFTWAREORACLE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x4010da
mov eax, 3
jmp 0x401122
lea ecx, [ebp - 0x100]
push ecx
call fcn.00401150
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x100]
push edx
push 1
push 0
push str.OMA_LOCAL_IP_ADDRESS
mov eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x401120
mov eax, 3
jmp 0x401122
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401410
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4072b8], 2
je 0x40141e
call fcn.00402510
mov eax, dword [esp + 4]
push eax
call fcn.00402550
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4014b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x407304]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x4014cf
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x407300], 1
mov byte [0x4072fc], bl
jne 0x401529
mov ecx, dword [0x4077ac]
test ecx, ecx
je 0x401517
mov esi, dword [0x4077a8]
sub esi, 4
cmp esi, ecx
jb 0x401517
mov eax, dword [esi]
test eax, eax
je 0x401510
call eax
mov ecx, dword [0x4077ac]
sub esi, 4
cmp esi, ecx
jae 0x401502
push 0x405014
push 0x405010
call fcn.00401560
add esp, 8
push 0x40501c
push 0x405018
call fcn.00401560
add esp, 8
test ebx, ebx
jne 0x401550
push ebp
mov dword [0x407304], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x401ab0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x407418]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x401af2
call edi
mov esi, eax
test esi, esi
je 0x401adc
mov eax, 1
jmp 0x401aed
call ebp
mov ebx, eax
test ebx, ebx
je 0x401bff
mov eax, 2
mov dword [0x407418], eax
cmp eax, 1
jne 0x401b92
test esi, esi
jne 0x401b0b
call edi
mov esi, eax
test esi, esi
je 0x401bff
cmp word [esi], 0
mov eax, esi
je 0x401b25
add eax, 2
cmp word [eax], 0
jne 0x401b13
add eax, 2
cmp word [eax], 0
jne 0x401b13
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x401b84
push edi
call fcn.00402780
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401b84
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x401b76
push ebx
call fcn.00402730
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x401bff
test ebx, ebx
jne 0x401ba3
call ebp
mov ebx, eax
test ebx, ebx
je 0x401bff
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x401bbb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401bab
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401bab
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.00402780
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x401bdd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x402550
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x4051f8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x402574
add eax, 8
inc ebp
cmp eax, 0x405288
jb 0x402565
cmp ecx, dword [ebp*8 + 0x4051f8]
jne 0x40271b
mov eax, dword [0x4072b8]
cmp eax, 1
je 0x4026dd
test eax, eax
jne 0x4025a0
cmp dword [0x405054], 1
je 0x4026dd
cmp ecx, 0xfc
je 0x40271b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4025db
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x402624
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x404390
add ebx, ecx
push ebx
call fcn.00403380
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x404370
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x4051fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004032f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x4076a0]
test eax, eax
je 0x4026ee
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x4026f8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x4051fc]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x40109c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420088]
jne 0x4010a6
repz ret
jmp fcn.00404339

Function at 0x40c3fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404656
and dword [ebp - 4], 0
cmp dword [0x42229c], 0
mov ebx, eax
jne 0x40c4ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c55d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c55d
push eax
call fcn.004045e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42229c], eax
call esi
push eax
call fcn.004045e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4222a0], eax
call esi
push eax
call fcn.004045e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4222a4], eax
call esi
push eax
call fcn.004045e4
pop ecx
mov dword [0x4222ac], eax
test eax, eax
je 0x40c4ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004045e4
pop ecx
mov dword [0x4222a8], eax
mov eax, dword [0x4222a8]
cmp eax, ebx
je 0x40c504
cmp dword [0x4222ac], ebx
je 0x40c504
push eax
call fcn.0040465f
push dword [0x4222ac]
mov esi, eax
call fcn.0040465f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c504
test edi, edi
je 0x40c504
call esi
test eax, eax
je 0x40c4fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c4fb
test byte [ebp - 0xc], 1
jne 0x40c504
or dword [ebp + 0x10], 0x200000
jmp 0x40c53d
mov eax, dword [0x4222a0]
cmp eax, ebx
je 0x40c53d
push eax
call fcn.0040465f
pop ecx
test eax, eax
je 0x40c53d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c53d
mov eax, dword [0x4222a4]
cmp eax, ebx
je 0x40c53d
push eax
call fcn.0040465f
pop ecx
test eax, eax
je 0x40c53d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42229c]
call fcn.0040465f
pop ecx
test eax, eax
je 0x40c55d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c55f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413df0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x10325476
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 4]
call fcn.00412d00
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x5c], 0x80
mov esp, ebp
pop ebp
ret

Function at 0x414a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 0x20], 0
je 0x414a25
mov eax, dword [ebp + 0x20]
mov dword [eax], 0
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004010b0
add esp, 0xc
movzx edx, byte [ebp + 0x1c]
test edx, edx
jne 0x414a43
cmp dword [ebp + 0x20], 0
je 0x414a4a
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x3c], 0x3c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x414a84
xor eax, eax
jmp 0x414b07
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x40], al
cmp byte [ebp - 0x40], 1
je 0x414a98
cmp byte [ebp - 0x40], 2
je 0x414ac0
jmp 0x414ae8
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebp + 0x20], 0
je 0x414ab4
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov dword [edx], eax
jmp 0x414abe
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414b02
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x20], 0
je 0x414adc
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x414ae6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414b02
cmp dword [ebp + 0x20], 0
je 0x414af8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x414b02
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x414b10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x420088]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x414b9c
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, word [edx]
test eax, eax
je 0x414b87
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov ax, word [edx]
mov word [ebp + ecx*2 - 0x220], ax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x414b7c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 4
jne 0x414b7c
jmp 0x414b87
mov edx, dword [ebp + 8]
add edx, 2
mov dword [ebp + 8], edx
jmp 0x414b3c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x414b9a
mov edx, dword [ebp + 8]
add edx, 2
mov dword [ebp + 8], edx
jmp 0x414bc6
push 3
mov eax, dword [ebp + 8]
push eax
push 0x105
lea ecx, [ebp - 0x220]
push ecx
call fcn.00402fc7
add esp, 0x10
mov edx, dword [ebp + 8]
add edx, 6
mov dword [ebp + 8], edx
mov dword [ebp - 8], 3
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x414c45
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x414c20
mov ecx, dword [ebp - 8]
movzx edx, word [ebp + ecx*2 - 0x222]
cmp edx, 0x5c
je 0x414c20
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ebp + ecx*2 - 0x220], ax
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414c20
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414c20
xor eax, eax
jmp 0x414c8b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov ax, word [edx]
mov word [ebp + ecx*2 - 0x220], ax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, 2
mov dword [ebp + 8], edx
jmp 0x414bc6
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 2]
cmp ecx, 0x5c
je 0x414c86
xor edx, edx
mov eax, dword [ebp - 8]
mov word [ebp + eax*2 - 0x220], dx
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414c86
push 0
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414c86
xor eax, eax
jmp 0x414c8b
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040109c
mov esp, ebp
pop ebp
ret
Function at 0x414ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x420088]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
push eax
push 0x105
lea ecx, [ebp - 0x238]
push ecx
call fcn.004012ab
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
call fcn.0040112a
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [ebp + eax*2 - 0x23a]
cmp ecx, 0x5c
jne 0x414cfc
xor edx, edx
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x23a], dx
jmp 0x414d09
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [ebp + edx*2 - 0x236], cx
push 0x1e
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.004010b0
add esp, 0xc
mov dword [ebp - 0x24], 0
mov ecx, 0x414
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x238]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x414d4e
mov eax, 1
jmp 0x414d50
xor eax, eax
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0040109c
mov esp, ebp
pop ebp
ret