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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x433b90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4200a4
cmp byte [ebx], 0xa
jne 0x4200a4
or byte [eax + edi + 0x28], 4
jmp 0x4200a9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4201a7
mov al, byte [edx]
cmp al, 0x1a
je 0x420189
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4200d8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4200fd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420107
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4200ba
jmp 0x4201a7
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420184
cmp dword [ebp - 0xc], 0
je 0x420184
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x433b90]
test byte [eax + edi + 0x28], 0x48
je 0x42015e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420149
mov byte [esi], dl
jmp 0x42015a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x433b90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4201a7
cmp byte [ebp - 1], 0xa
jne 0x42016d
cmp esi, ebx
jne 0x42016d
mov byte [esi], 0xa
jmp 0x4201a6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004185c9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4201a7
mov byte [esi], 0xd
jmp 0x4201a6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x433b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4201a3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4201a7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4201b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x433b90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4201f3
cmp word [esi], dx
jne 0x4201f3
or byte [edi + eax + 0x28], 4
jmp 0x4201f8
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42034b
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42032b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42023a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420270
cmp eax, edx
jae 0x42027c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x420212
jmp 0x42034b
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420327
cmp dword [ebp - 0x14], 0
je 0x420327
mov eax, dword [ebx*4 + 0x433b90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4202ff
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4202c8
mov word [esi], cx
jmp 0x4202fb
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x433b90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x433b90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x433b90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42034b
pop ebx
cmp word [ebp - 4], bx
jne 0x420310
cmp esi, dword [ebp + 0xc]
jne 0x420310
mov word [esi], bx
jmp 0x420348
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004185c9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42034b
push 0xd
jmp 0x420344
mov ecx, dword [ebx*4 + 0x433b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420342
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42034b
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x422e20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422e4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422e4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4022f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec edx
add esi, 0xec
imul esi
bswap eax
neg eax
inc ebx
inc edi
add edx, 0x85
or ebx, 0x60
rol esi, 0xca
sbb esi, 0x2c
rcl edi, 0x4b
inc ebx
dec edi
rcl edx, 0xf
bswap eax
bswap edi
not eax
imul ebx
dec edi
add edi, 0x2b
dec eax
dec ebx
mov esi, 0x71
not esi
sub eax, 0xb1
imul edx
sbb ebx, 0xa3
imul esi
imul ebx
ror esi, 0xcb
neg edx
imul ebx
rcl ebx, 0x81
ror edi, 0xb0
dec esi
rcl esi, 0x74
rcl eax, 0x23
bswap edx
bswap eax
rcr esi, 0x7c
rol ebx, 0x76
and edi, 0xf8
not edx
and edi, 0xb1
dec edx
or edi, 0x4e
imul esi
dec edi
sbb ebx, 0xab
xor ecx, ecx
xor edi, edi
or eax, 0xb9
bswap eax
inc edx
neg esi
inc eax
rcr eax, 0x2a
sub esi, 0x1f
or edi, 0x51
sub ebx, 8
bswap esi
mov eax, 0xed
rcl esi, 0x69
add eax, 0x6d
or edx, 0x3f
imul edx
imul ebx
and edx, 0xc1
inc edx
not edx
dec ebx
rcr edi, 0xc6
neg edx
rcr esi, 0xfb
dec edx
and ebx, 0xec
neg eax
imul edi
not ebx
or ebx, 9
inc esi
dec edx
rcr ebx, 0xa3
dec edi
dec esi
sub esi, 0xa2
not edx
inc edi
imul edx
bswap esi
rol edx, 0x1e
mov eax, 0xc5
or edi, 0x7a
rcl ebx, 0x83
sbb eax, 0xa7
inc edx
or edi, 0xbe
sub ebx, 0xfd
neg eax
rcr edx, 0x84
dec ebx
mov ecx, dword [ebp + 0xc]
rol ebx, 0xca
rcr ebx, 0x27
not edx
mov ebx, 0xd2
inc eax
add eax, 0x16
not eax
not edx
dec edi
rcr esi, 0xa7
bswap esi
or eax, 0xe8
imul esi
sub ebx, 0xb7
rol ebx, 0xeb
sub edx, 0x3b
neg edx
bswap edi
inc eax
bswap ebx
not edx
inc edi
sub ebx, 0x11
add ebx, 0xb0
sbb esi, 0x4f
bswap edi
not ebx
or ebx, 0x9b
rcl edi, 0x11
dec edx
bswap esi
rcr ebx, 0x88
ror edi, 0x61
inc edi
rcr edx, 0xf8
dec edx
not eax
imul esi
inc edx
not ebx
inc eax
bswap eax
ror edx, 0x25
bswap ebx
dec esi
or eax, 0x27
dec ebx
bswap edx
dec ebx
and ebx, 0x43
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, eax
xor esi, eax
not byte [edi]
xor esi, ebx
mov ebx, eax
xor esi, eax
mov esi, ebx
mov eax, esi
mov esi, ebx
mov esi, eax
mov ebx, eax
xor esi, esi
add byte [edi], 0x79
mov esi, ebx
xor eax, eax
xor esi, ebx
mov eax, eax
mov ebx, esi
xor ebx, eax
xor esi, eax
xor esi, ebx
mov eax, ebx
sub byte [edi], 0x30
mov eax, esi
xor esi, eax
mov esi, esi
xor ebx, eax
mov esi, esi
xor esi, eax
mov eax, ebx
xor esi, eax
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x40248b
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4053fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d094]
jne 0x405404
repz ret
jmp fcn.00409dd6
Function at 0x40b5dd
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.0040839f
and dword [ebp - 4], 0
cmp dword [0x46e614], 0
mov ebx, eax
jne 0x40b68e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b73f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b73f
push eax
call fcn.0040832d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46e614], eax
call esi
push eax
call fcn.0040832d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46e618], eax
call esi
push eax
call fcn.0040832d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46e61c], eax
call esi
push eax
call fcn.0040832d
pop ecx
mov dword [0x46e624], eax
test eax, eax
je 0x40b68e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040832d
pop ecx
mov dword [0x46e620], eax
mov eax, dword [0x46e620]
cmp eax, ebx
je 0x40b6e6
cmp dword [0x46e624], ebx
je 0x40b6e6
push eax
call fcn.004083a8
push dword [0x46e624]
mov esi, eax
call fcn.004083a8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b6e6
test edi, edi
je 0x40b6e6
call esi
test eax, eax
je 0x40b6dd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b6dd
test byte [ebp - 0xc], 1
jne 0x40b6e6
or dword [ebp + 0x10], 0x200000
jmp 0x40b71f
mov eax, dword [0x46e618]
cmp eax, ebx
je 0x40b71f
push eax
call fcn.004083a8
pop ecx
test eax, eax
je 0x40b71f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b71f
mov eax, dword [0x46e61c]
cmp eax, ebx
je 0x40b71f
push eax
call fcn.004083a8
pop ecx
test eax, eax
je 0x40b71f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e614]
call fcn.004083a8
pop ecx
test eax, eax
je 0x40b73f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b741
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404a8c
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00413e00
mov eax, dword [0x559ee8]
mov ecx, dword [0x558e3c]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x404b93
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x559ee8], 0x959
jne 0x404b81
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x4040d8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x404128
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00404895
add ebx, 8
dec dword [ebp - 8]
jne 0x404ab9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4071db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8708]
jne 0x4071e5
repz ret
jmp fcn.0040ed2c

Function at 0x410aa7
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.0040895d
and dword [ebp - 4], 0
cmp dword [0x4aaa30], 0
mov ebx, eax
jne 0x410b58
push 0x40380c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410c09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403800
push edi
call esi
test eax, eax
je 0x410c09
push eax
call fcn.004088eb
mov dword [esp], 0x4037f0
push edi
mov dword [0x4aaa30], eax
call esi
push eax
call fcn.004088eb
mov dword [esp], 0x4037dc
push edi
mov dword [0x4aaa34], eax
call esi
push eax
call fcn.004088eb
mov dword [esp], 0x4037c0
push edi
mov dword [0x4aaa38], eax
call esi
push eax
call fcn.004088eb
pop ecx
mov dword [0x4aaa40], eax
test eax, eax
je 0x410b58
push 0x4037a8
push edi
call esi
push eax
call fcn.004088eb
pop ecx
mov dword [0x4aaa3c], eax
mov eax, dword [0x4aaa3c]
cmp eax, ebx
je 0x410bb0
cmp dword [0x4aaa40], ebx
je 0x410bb0
push eax
call fcn.00408966
push dword [0x4aaa40]
mov esi, eax
call fcn.00408966
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410bb0
test edi, edi
je 0x410bb0
call esi
test eax, eax
je 0x410ba7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410ba7
test byte [ebp - 0xc], 1
jne 0x410bb0
or dword [ebp + 0x10], 0x200000
jmp 0x410be9
mov eax, dword [0x4aaa34]
cmp eax, ebx
je 0x410be9
push eax
call fcn.00408966
pop ecx
test eax, eax
je 0x410be9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410be9
mov eax, dword [0x4aaa38]
cmp eax, ebx
je 0x410be9
push eax
call fcn.00408966
pop ecx
test eax, eax
je 0x410be9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4aaa30]
call fcn.00408966
pop ecx
test eax, eax
je 0x410c09
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410c0b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401862
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018a1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018a1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018a1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018a1
cmp dword [ecx + 0x74], 0xe
jbe 0x4018a1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40737c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407419
push ebx
push esi
call fcn.00407345
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004072d9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4073c6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407418
push edi
push eax
call fcn.00407c0f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4073e6
call fcn.00405e21
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407417
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004072d9
add esp, 0x20
test eax, eax
jne 0x407405
push edi
call fcn.00405e21
jmp 0x40740d
push ebx
call fcn.00405e21
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x408315
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410050
push 0x410048
push str.FlsAlloc
push 0x1f
call fcn.00408231
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408349
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e138]
call esi
jmp 0x40834f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408393
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410060
push 0x410058
push str.FlsGetValue
push 0x21
call fcn.00408231
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4083ca
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4083d2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410068
push 0x410060
push str.FlsSetValue
push 0x22
call fcn.00408231
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40840c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d7b6
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004c5cab
test al, al
je 0x40d820
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp + 8]
push eax
mov ebx, 0x73d794
push ebx
push 4
push 0
mov edi, 0x73d7d4
push edi
call esi
test eax, eax
jns 0x40d801
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 8]
push eax
push ebx
push 4
push 0
push edi
call esi
test eax, eax
js 0x40d80a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040dadb
jmp 0x40d837
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040d83f
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x40dadb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x960
push edi
lea eax, [ebp - 8]
push eax
push 0xf01ff
mov edi, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40dbad
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push esi
push 0x2000000
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x40dbac
push 0x1000
push dword [ebp - 4]
call fcn.004c67a8
pop ecx
pop ecx
test eax, eax
je 0x40dbac
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x104
lea eax, [ebp - 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 0x18]
lea eax, [ebp - 0x960]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
push str.__surl:_s__sflg:_d__sht:_d__swd:_d__smn:_d__sslp:_d
push eax
call fcn.004cc8e8
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x40dbac
xor edi, edi
pop esi
mov eax, edi
pop edi
leave
ret 0x14
Function at 0x40ee3b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, pe_nt_image_headers32
lea ebx, [ebp - 8]
mov eax, esi
lea edi, [ebp - 0x10c]
call fcn.0040e8c7
pop ecx
mov ecx, dword [ebp - 8]
mov al, byte [ebp + ecx - 0x10d]
cmp al, 0x3a
je 0x40ee7e
cmp al, 0x5c
je 0x40ee7e
mov byte [ebp + ecx - 0x10c], 0x5c
inc ecx
mov dword [ebp - 8], ecx
mov eax, esi
sub eax, ecx
push 0x7baf5c
lea edi, [ebp + ecx - 0x10c]
lea ebx, [ebp - 8]
call fcn.0040e8c7
pop ecx
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x40eebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40efa2
cmp byte [ebp - 0x220], 0x2e
jne 0x40eeea
cmp byte [ebp - 0x21f], 0
je 0x40ef7f
cmp byte [ebp - 0x21f], 0x2e
jne 0x40eeea
cmp byte [ebp - 0x21e], 0
je 0x40ef7f
push dword [ebp + 8]
lea ebx, [ebp - 8]
mov eax, esi
lea edi, [ebp - 0x10c]
call fcn.0040e8c7
pop ecx
mov ecx, dword [ebp - 8]
mov al, byte [ebp + ecx - 0x10d]
cmp al, 0x3a
je 0x40ef1c
cmp al, 0x5c
je 0x40ef1c
mov byte [ebp + ecx - 0x10c], 0x5c
inc ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x220]
mov eax, esi
sub eax, ecx
push edx
lea edi, [ebp + ecx - 0x10c]
lea ebx, [ebp - 8]
call fcn.0040e8c7
test byte [ebp - 0x24c], 0x10
pop ecx
lea eax, [ebp - 0x10c]
je 0x40ef65
push 1
push 0x7baf5c
push eax
call fcn.0040ee3b
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40ef6c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ef7f
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004c91a0
pop ecx
pop ecx
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40eebe
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f282
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x410d87
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x24]
push esi
mov esi, dword [edi + 0x34]
sub esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x24]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x410e0e
mov eax, dword [edi + 0x30]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004cfb70
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
sub dword [edi + 0x68], ebx
sub dword [edi + 0x64], ebx
add esp, 0xc
sub dword [edi + 0x54], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x410dcf
mov eax, dword [edi + 0x38]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x410df2
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x410e66
mov ecx, dword [edi + 0x6c]
add ecx, dword [edi + 0x64]
push esi
add ecx, dword [edi + 0x30]
mov esi, eax
push ecx
call fcn.00410ad5
add dword [edi + 0x6c], eax
mov esi, dword [edi + 0x6c]
pop ecx
pop ecx
cmp esi, 3
jb 0x410e52
mov edx, dword [edi + 0x64]
add edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
movzx eax, byte [edx]
mov dword [edi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x4c]
mov dword [edi + 0x40], eax
cmp esi, 0x106
jae 0x410e66
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x410d90
pop esi
pop ebx
leave
ret

Function at 0x412e70
Capabilities:
Hash data with md5

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