joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fdcc728
Capabilities:
Get hostname

Disassembly:
mov eax, 0x4fdda787
call fcn.4fdcefac
sub esp, 0xf4
mov eax, dword [0x4fddc808]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, ebx
push esi
mov esi, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdcc74f
sub eax, edx
mov dword [ebp + 8], eax
jne 0x4fdcc764
xor al, al
jmp 0x4fdcc83d
push edi
lea ecx, [ebp - 0x100]
call fcn.4fdcc504
xor edi, edi
cmp dword [ebp - 0xf8], 2
mov dword [ebp - 4], edi
je 0x4fdcc785
xor bl, bl
jmp 0x4fdcc825
mov ecx, esi
call fcn.4fdcb9da
push 0x10
pop eax
push 0x4fdc1d46
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.4fdcb268
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4fdcc819
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
push edi
push ebx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp + 8], edi
call dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4fdcc819
cmp dword [ebp + 8], edi
je 0x4fdcc819
push dword [ebp + 8]
call fcn.4fdcf181
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [esi], eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 0x8c]
test eax, eax
jne 0x4fdcc858
mov ecx, esi
call fcn.4fdcb9da
xor bl, bl
push 1
lea ecx, [ebp - 0x58]
call fcn.4fdca0fd
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0x4fdc2180
call fcn.4fdcbb26
mov al, bl
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.4fdce82b
leave
ret 4
mov edi, 0x4fdc22c8
push edi
push ebx
call fcn.4fdcf61f
test eax, eax
pop ecx
pop ecx
je 0x4fdcc875
push ebx
lea ecx, [esi + 4]
call fcn.4fdcbd91
jmp 0x4fdcc893
lea eax, [ebp - 0x3c]
add esi, 4
push eax
mov ecx, esi
call fcn.4fdcbd91
push edi
mov ecx, esi
call fcn.4fdcbd4f
push ebx
mov ecx, esi
call fcn.4fdcbd4f
mov bl, 1
jmp 0x4fdcc81b
Function at 0x4fdce5ac
Capabilities:
Accept command line arguments
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x4fdce699
mov eax, 0x94
call fcn.4fdceb00
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4fdce70e
mov ecx, dword [esi + 0x10]
mov dword [0x4fdde6c0], ecx
mov eax, dword [esi + 4]
mov dword [0x4fdde6cc], eax
mov edx, dword [esi + 8]
mov dword [0x4fdde6d0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x4fdde6c4], esi
je 0x4fdce617
or esi, 0x8000
mov dword [0x4fdde6c4], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x4fdde6c8], eax
call fcn.4fdd0ad8
test eax, eax
pop ecx
je 0x4fdce70e
call fcn.4fdd02cb
test eax, eax
jne 0x4fdce644
call fcn.4fdd0b29
jmp 0x4fdce70e
call fcn.4fdd0a36
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4fddff24], eax
call fcn.4fdd0914
mov dword [0x4fdde6a0], eax
call fcn.4fdd03f5
test eax, eax
jl 0x4fdce692
call fcn.4fdd0872
test eax, eax
jl 0x4fdce68d
call fcn.4fdd063f
test eax, eax
jl 0x4fdce68d
call fcn.4fdcff66
test eax, eax
jne 0x4fdce68d
inc dword [0x4fdde69c]
jmp 0x4fdce71f
call fcn.4fdd05f3
call fcn.4fdd00be
jmp 0x4fdce63a
test eax, eax
jne 0x4fdce6c9
cmp dword [0x4fdde69c], eax
jle 0x4fdce70e
dec dword [0x4fdde69c]
cmp dword [0x4fdde6fc], eax
jne 0x4fdce6b8
call fcn.4fdd00af
call fcn.4fdd05f3
call fcn.4fdd00be
call fcn.4fdd0b29
jmp 0x4fdce71f
cmp eax, 2
jne 0x4fdce712
push 0x88
push 1
call fcn.4fdd033a
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4fdce70e
push esi
push dword [0x4fddcaec]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
push esi
je 0x4fdce708
call fcn.4fdd00dc
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x4fdce71f
call fcn.4fdcea85
pop ecx
xor eax, eax
jmp 0x4fdce722
cmp eax, 3
jne 0x4fdce71f
push 0
call fcn.4fdd0160
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
Function at 0x4fdcffcb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.4fdd108c
xor esi, esi
inc esi
cmp dword [0x4fdde700], esi
pop ecx
jne 0x4fdcfff3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4fdde6fc], esi
mov byte [0x4fdde6f8], al
jne 0x4fdd0059
mov ecx, dword [0x4fddef08]
test ecx, ecx
je 0x4fdd003a
mov eax, dword [0x4fddef04]
sub eax, 4
cmp eax, ecx
jmp 0x4fdd0033
mov eax, dword [eax]
test eax, eax
je 0x4fdd0025
call eax
mov eax, dword [0x4fddef04]
sub eax, 4
cmp eax, dword [0x4fddef08]
mov dword [0x4fddef04], eax
jae 0x4fdd001d
mov eax, 0x4fddc05c
mov esi, 0x4fddc064
cmp eax, esi
mov edi, eax
jae 0x4fdd0059
mov eax, dword [edi]
test eax, eax
je 0x4fdd0052
call eax
add edi, 4
cmp edi, esi
jb 0x4fdd004a
mov eax, 0x4fddc068
mov esi, 0x4fddc070
cmp eax, esi
mov edi, eax
jae 0x4fdd0078
mov eax, dword [edi]
test eax, eax
je 0x4fdd0071
call eax
add edi, 4
cmp edi, esi
jb 0x4fdd0069
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x4fdd0089
push 8
call fcn.4fdd0ff8
jmp 0x4fdd009b
push dword [ebp + 8]
mov dword [0x4fdde700], 1
call fcn.4fdcff24
pop ecx
pop ebp
ret
Function at 0x4fdd0ba8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4fddc808]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4fddcb18]
je 0x4fdd0bd5
inc eax
cmp eax, 0x12
jb 0x4fdd0bc6
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4fddcb18]
jne 0x4fdd0d09
mov eax, dword [0x4fdde6a8]
cmp eax, 1
je 0x4fdd0ce4
cmp eax, edx
jne 0x4fdd0c05
cmp dword [0x4fdde6ac], 1
je 0x4fdd0ce4
cmp ecx, 0xfc
je 0x4fdd0d09
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4fdd0c3e
lea eax, [ebp - 0x10c]
push 0x4fdc2f24
push eax
call fcn.4fdd4030
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.4fdd2a50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4fdd0c80
lea eax, [ebp - 0x10c]
push eax
call fcn.4fdd2a50
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4fdc2f20
push edi
call fcn.4fdd47e0
add esp, 0x10
push edi
call fcn.4fdd2a50
push dword [esi + 0x4fddcb1c]
mov ebx, eax
call fcn.4fdd2a50
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.4fdceb00
mov ebx, esp
push 0x4fdc2f04
push ebx
call fcn.4fdd4030
push edi
push ebx
call fcn.4fdd4040
push 0x4fdc2f00
push ebx
call fcn.4fdd4040
push dword [esi + 0x4fddcb1c]
push ebx
call fcn.4fdd4040
push 0x12010
push 0x4fdc2ed8
push ebx
call fcn.4fdd649b
add esp, 0x2c
jmp 0x4fdd0d09
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x4fddcb1c]
push dword [esi]
call fcn.4fdd2a50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.4fdce82b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fdd4128
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.4fdceb00
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4fdd41bd
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x4fdde6c0]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4fdd41bd
cmp eax, 1
je 0x4fdd41d5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4fdd41bd
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4fdd4192
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4fdd41b9
xor eax, eax
inc eax
jmp 0x4fdd41f1
cmp esi, ebx
jae 0x4fdd41c1
xor eax, eax
jmp 0x4fdd41f1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4fdde6c0]
jmp 0x4fdd41d7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4fdd649b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4fdde9a4], ebx
push esi
push edi
jne 0x4fdd651b
push 0x4fdc6e78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4fdd6556
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4fdc6e6c
push edi
call esi
test eax, eax
mov dword [0x4fdde9a4], eax
je 0x4fdd6556
push 0x4fdc6e5c
push edi
call esi
push 0x4fdc6e48
push edi
mov dword [0x4fdde9a8], eax
call esi
cmp dword [0x4fdde6c0], 2
mov dword [0x4fdde9ac], eax
jne 0x4fdd651b
push 0x4fdc6e2c
push edi
call esi
test eax, eax
mov dword [0x4fdde9b4], eax
je 0x4fdd651b
push 0x4fdc6e14
push edi
call esi
mov dword [0x4fdde9b0], eax
mov eax, dword [0x4fdde9b0]
test eax, eax
je 0x4fdd6560
call eax
test eax, eax
je 0x4fdd6547
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4fdde9b4]
test eax, eax
je 0x4fdd6547
test byte [ebp - 8], 1
jne 0x4fdd6560
cmp dword [0x4fdde6cc], 4
jb 0x4fdd655a
or byte [ebp + 0x12], 0x20
jmp 0x4fdd657f
xor eax, eax
jmp 0x4fdd658f
or byte [ebp + 0x12], 4
jmp 0x4fdd657f
mov eax, dword [0x4fdde9a8]
test eax, eax
je 0x4fdd657f
call eax
mov ebx, eax
test ebx, ebx
je 0x4fdd657f
mov eax, dword [0x4fdde9ac]
test eax, eax
je 0x4fdd657f
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4fdde9a4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fdd6933
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4fddc808]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x4fdd695c
xor eax, eax
jmp 0x4fdd6aca
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4fddee00]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4fdd698f
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.4fdd9061
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4fdd6a61
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x4fdd6a9c
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x4fdd69ea
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4fdd69db
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x4fdd69be
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4fdd6a2a
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x4fdd6a33
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x4fdd69af
jmp 0x4fdd6a35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x4fdd6ac5
cmp dword [ebp - 8], edi
je 0x4fdd6a9c
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x4fdd6a8e
call fcn.4fdd6278
mov dword [eax], 9
call fcn.4fdd6281
mov dword [eax], esi
jmp 0x4fdd6a97
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4fdd6a83
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x4fdd6a35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x4fdd6a35
push dword [ebp - 8]
call fcn.4fdd628a
pop ecx
or eax, 0xffffffff
jmp 0x4fdd6ac8
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4fdd6ab1
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x4fdd6ab1
xor eax, eax
jmp 0x4fdd6ac8
call fcn.4fdd6278
mov dword [eax], 0x1c
call fcn.4fdd6281
mov dword [eax], edi
jmp 0x4fdd6a97
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.4fdce82b
leave
ret
Function at 0x4fdda456
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4fddc808]
xor eax, dword [ebp + 0x7c]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.4fdda426
and byte [esi + 0xc], 0
mov eax, 0x4fdc0000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
call fcn.4fdd63a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4fdda4bb
cmp dword [ebp - 0x1c], 5
jb 0x4fdda4d3
jmp 0x4fdda4cf
cmp dword [ebp - 0x10], 1
jne 0x4fdda4d3
cmp dword [ebp - 0x1c], 4
ja 0x4fdda4cf
jne 0x4fdda4d3
cmp dword [ebp - 0x18], 0
jbe 0x4fdda4d3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x4fdc7610
call fcn.4fdc809f
test eax, eax
jge 0x4fdda4f4
mov byte [0x4fddda18], 1
mov ecx, dword [ebp + 0x74]
xor ecx, dword [ebp + 0x7c]
mov eax, esi
pop esi
call fcn.4fdce82b
add ebp, 0x78
leave
ret
Function at 0x47d1f2
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c657d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ea4ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], 0x403074
call dword [sym.imp.MFC42u.dll_AfxGetModuleState]
push 0xffffffffffffffff
push dword [edi + 0x5f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x5f0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi + 0x84]
xor ebx, ebx
test eax, eax
je 0x47d25c
push ebx
push ebx
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x214]
mov dword [ebp - 0x10], 0x103
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, ebx
cmp dword [ebp - 0x10], 0x103
jne 0x47d2c1
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x208]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x47d2ab
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_SetEvent]
inc esi
cmp esi, 0xc8
jl 0x47d271
cmp dword [ebp - 0x10], 0x103
jne 0x47d2c1
push ebx
push dword [edi + 0x208]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
or dword [edi + 0x208], 0xffffffff
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x47d2d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x210]
test eax, eax
je 0x47d2ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x214]
test eax, eax
je 0x47d2fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x5f0]
test eax, eax
je 0x47d30c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x5f4]
test eax, eax
je 0x47d31d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 0x10660]
call fcn.004aa92b
lea esi, [edi + 0x1064c]
mov ecx, esi
call fcn.004810e5
push dword [esi]
call dword [sym.imp.MFC42u.dll_operatordelete]
mov dword [esi], ebx
lea esi, [edi + 0x10638]
pop ecx
mov ecx, esi
call fcn.004810e5
push dword [esi]
call dword [sym.imp.MFC42u.dll_operatordelete]
pop ecx
lea ecx, [edi + 0x1061c]
mov dword [esi], ebx
call fcn.004814d6
lea ecx, [edi + 0x5dc]
call dword [0x4f63ac]
lea ecx, [edi + 0x5d8]
call dword [0x4f63ac]
lea ecx, [edi + 0x5c4]
call dword [0x4f6694]
lea ecx, [edi + 0x420]
call fcn.004ac587
lea ecx, [edi + 0x1ec]
call dword [0x4f6644]
lea ecx, [edi + 0xb0]
call dword [0x4f6608]
lea ecx, [edi + 0xa4]
call dword [0x4f63ac]
lea ecx, [edi + 0x64]
call dword [sym.imp.MFC42u.dll_CListCtrl::CListCtrl]
mov ecx, edi
call dword [0x4f6380]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x486c65
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c69c9
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ea4ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea edi, [esi + 4]
cmp dword [eax - 8], 0
je 0x486ca9
mov ecx, dword [edi]
call fcn.0049c93b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esi + 0x94]
call dword [0x4f6608]
lea ecx, [esi + 0x80]
call dword [0x4f6608]
lea ecx, [esi + 0x7c]
call dword [0x4f63ac]
lea ecx, [esi + 0x78]
call dword [0x4f63ac]
lea ecx, [esi + 0x64]
call fcn.0048bbeb
lea ecx, [esi + 0x50]
call fcn.0048bbeb
lea ecx, [esi + 0x3c]
call fcn.0048ba54
lea ecx, [esi + 0x28]
call dword [0x4f6608]
lea ecx, [esi + 0x24]
call dword [0x4f63ac]
lea ecx, [esi + 0x10]
call dword [0x4f6608]
lea ecx, [esi + 0xc]
call dword [0x4f63ac]
lea ecx, [esi + 8]
call dword [0x4f63ac]
mov ecx, edi
call dword [0x4f63ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49582e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
push 0x40
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x495844
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x20]
mov dword [ebp - 0x1c], eax
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0x14
mov edx, eax
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 8]
add edx, ecx
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x14]
mov esi, edi
add eax, 0x5a827999
mov edi, ebx
mov ebx, dword [ebp - 0xc]
ror edi, 2
add edx, dword [ecx]
add ecx, 4
add eax, edx
mov dword [ebp - 0x14], ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
jne 0x495883
mov ecx, dword [ebp - 0x10]
mov edx, esi
add ecx, 0x70
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0x14
mov esi, ecx
mov ecx, eax
mov eax, edx
xor eax, edi
rol ecx, 5
xor eax, ebx
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [esi]
add eax, 0x6ed9eba1
mov dword [ebp - 8], edx
lea esi, [esi + 4]
mov edx, edi
add eax, ecx
mov edi, ebx
mov ebx, dword [ebp - 0xc]
ror edi, 2
sub dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
jne 0x4958d5
mov ecx, dword [ebp - 0x10]
mov esi, edx
add ecx, 0xc0
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0x14
mov edx, eax
mov ecx, edi
or ecx, ebx
rol edx, 5
add edx, dword [ebp - 8]
mov eax, edi
and eax, ebx
mov dword [ebp - 8], esi
and ecx, esi
mov esi, edi
or ecx, eax
mov edi, ebx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x14], 4
mov ebx, dword [ebp - 0xc]
ror edi, 2
add ecx, dword [eax]
lea eax, [edx - 0x70e44324]
add eax, ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
jne 0x49591f
mov ecx, dword [ebp - 0x10]
mov edx, esi
add ecx, 0x110
mov dword [ebp - 4], esi
push 0x14
mov dword [ebp - 0x14], ecx
pop esi
mov ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x14]
xor eax, edi
add dword [ebp - 0x14], 4
xor eax, ebx
add eax, dword [ebp - 8]
rol ecx, 5
add ecx, 0xca62c1d6
add ecx, dword [edx]
mov edx, edi
add eax, ecx
mov edi, ebx
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
ror edi, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
sub esi, 1
jne 0x49596e
mov esi, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
add dword [esi + 0x10], ebx
add dword [esi + 0x14], edi
add dword [esi + 0x18], edx
add dword [esi + 0x1c], ecx
add dword [esi], 0x200
pop edi
adc dword [esi + 4], 0
and dword [esi + 8], 0
mov dword [esi + 0xc], eax
pop esi
pop ebx
leave
ret
Function at 0x4959d3
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0x4ea4ec]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
xor eax, eax
mov dword [esp + 0x20], 0x67452301
push edi
mov edi, edx
mov dword [esp + 0x18], eax
mov ebx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ebx
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], 0xc3d2e1f0
movzx eax, byte [esi + 0x40ed80]
lea ecx, [esp + 0x18]
push eax
call fcn.00495726
inc esi
cmp esi, 0x10
jne 0x495a36
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
je 0x495adc
mov edi, dword [esp + 0xc]
xor ebx, ebx
xor esi, esi
mov word [esp + esi*2 + 0x17c], ax
inc esi
inc ebx
movzx eax, word [edi + ebx*2]
test ax, ax
je 0x495a7b
cmp esi, 0x10
jne 0x495ad3
push 0
push 0
push 0
push esi
lea eax, [esp + 0x18c]
push eax
push esi
push eax
push 0xa00
push 0x40b064
call dword [sym.imp.KERNEL32.dll_LCMapStringEx]
lea eax, [esi + esi]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x495ac6
mov edi, eax
movzx eax, byte [esp + esi + 0x17c]
lea ecx, [esp + 0x18]
push eax
call fcn.00495726
inc esi
cmp esi, edi
jne 0x495aab
mov edi, dword [esp + 0xc]
movzx eax, word [edi + ebx*2]
mov ecx, eax
test ax, ax
je 0x495ad8
xor esi, esi
movzx eax, ax
jmp 0x495a63
mov edi, dword [esp + 0x14]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.00495756
mov al, byte [edi + 7]
mov ecx, dword [esp + 0x19c]
and al, 0xf
or al, 0x50
mov byte [edi + 7], al
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c4ec0
mov esp, ebp
pop ebp
ret