joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4828be
Capabilities:
Delete file

Disassembly:
mov eax, 0x69f901
call fcn.006375a8
sub esp, 0x34
mov eax, dword [0x7a3be8]
push esi
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x482980
mov eax, dword [esi + 0x28]
add eax, 0x68
cmp dword [eax + 0x14], 8
jb 0x4828ec
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00470ce5
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x28]
and dword [ebp - 4], 0
add eax, 0xcc
push eax
call fcn.0042615e
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x482928
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x482921
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x78], 0
je 0x482943
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x48293d
lea eax, [ebp - 0x40]
push eax
call fcn.0045f286
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x28]
push 0
push 1
mov dword [eax + 0x64], 4
call fcn.004267c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004267c2
lea ecx, [ebp - 0x10]
call fcn.005a78a8
mov esi, dword [ebp - 0x10]
cmp esi, dword [0x7a3be8]
jne 0x4828de
cmp byte [ebp + 8], 0
pop esi
jne 0x48298c
call fcn.004729a5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x482e2b
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7a398a], 0
je 0x482e3b
mov eax, 0x80004005
jmp 0x482e72
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, esi
sub ecx, 0
je 0x482e6f
dec ecx
sub ecx, 1
je 0x482e6f
push dword [esp + 0xc]
push esi
push str.RegKey::DeleteKey_fail___d_:__s_n
call fcn.00479c3c
add esp, 0xc
mov eax, esi
jmp 0x482e71
xor eax, eax
pop esi
ret 8

Function at 0x482e75
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7a398a], 0
je 0x482e82
xor al, al
jmp 0x482eb3
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, eax
sub ecx, 0
je 0x482eb1
dec ecx
sub ecx, 1
je 0x482eb1
push dword [esp + 8]
push eax
push str.RegKey::DeleteTree_fail___d_:__s_n
call fcn.00479c3c
add esp, 0xc
jmp 0x482e7e
mov al, 1
ret 8

Function at 0x482eb6
Capabilities:
Delete registry value

Disassembly:
cmp byte [0x7a398a], 0
je 0x482ec3
xor al, al
jmp 0x482ef5
push esi
push dword [esp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x482eed
cmp esi, 2
je 0x482eed
push esi
push dword [esp + 0xc]
push str.RegKey:_Could_not_delete_value__s:__d_n
call fcn.00479c3c
add esp, 0xc
xor eax, eax
test esi, esi
pop esi
sete al
ret 4
Function at 0x482ef8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x69908e
call fcn.006375a8
sub esp, 0x218
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
mov ebx, 0x104
mov edi, ecx
push 0x208
mov dword [ebp - 0x14], ebx
call fcn.00637905
pop ecx
mov esi, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [edi]
call ebx
mov dword [ebp - 0x18], eax
cmp eax, 0xea
jne 0x482f9b
push esi
call fcn.006375d6
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
push 2
pop edx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00637905
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [edi]
call ebx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x6b6e68
call fcn.00427f43
push 0x6b6e68
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.00427f43
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
jne 0x483002
lea eax, [ebp - 0x224]
push eax
call fcn.00426a30
pop ecx
push eax
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.004372ba
cmp dword [ebp - 0x10], 0
je 0x483002
push esi
call fcn.00426a30
pop ecx
push eax
push esi
lea ecx, [edi + 0x18]
call fcn.004372ba
push esi
call fcn.006375d6
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x483128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 4], eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x483159
cmp dword [ebp + 0x14], eax
jne 0x483159
inc esi
cmp eax, 1
jne 0x483169
xor eax, eax
cmp dword [ebp + 0x14], 2
sete al
or esi, eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x483175
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
pop esi
setne al
mov esp, ebp
pop ebp
ret 0x14

Function at 0x48366c
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7a398a], 0
je 0x483679
xor al, al
jmp 0x4836b5
push esi
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x4836ad
push esi
push dword [esp + 0x10]
push dword [esp + 0x10]
push str.RegKey:_Could_not_write_DWORD_valuename__s_value__d__Error__d_n
call fcn.00479c3c
add esp, 0x10
xor eax, eax
test esi, esi
pop esi
sete al
ret 8
Function at 0x4836b8
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7a398a], 0
je 0x4836c6
or eax, 0xffffffff
jmp 0x4836e0
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0x10

Function at 0x48568b
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x699502
call fcn.006375a8
push ecx
cmp byte [0x7a3c05], 0
je 0x4856a6
mov al, 1
jmp 0x485732
push esi
push edi
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp byte [0x7a3c05], 0
jne 0x48572e
push 0x10
mov dword [0x7a3bfc], esi
call fcn.00637305
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x4856e8
mov ecx, eax
call fcn.0048500c
jmp 0x4856ea
mov eax, edi
or dword [ebp - 4], 0xffffffff
cmp dword [0x7a3bf4], 0
mov dword [0x7a3c00], eax
je 0x485700
xor al, al
jmp 0x485730
add eax, 8
push eax
push edi
push edi
push 0x485064
push edi
push edi
push str.BenchThread::BenchThreadRunner
call fcn.0046908c
mov ecx, dword [0x7a3c00]
push esi
mov byte [0x7a3c05], 1
mov dword [ecx + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48ac20
Capabilities:
Create directory

Disassembly:
mov eax, 0x6998eb
call fcn.006375a8
sub esp, 0x20
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0048166a
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], ebx
jae 0x48ac48
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0042615e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x7a46ac
call fcn.00428af8
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004865bd
push 0x7a435c
call fcn.0048c5b3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492935
Capabilities:
Get disk information

Disassembly:
mov eax, 0x699e1e
call fcn.006375a8
sub esp, 0x174
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
add esi, 4
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x492965
mov byte [eax], bl
push 0x6c0614
push 0x6cb228
call fcn.00462194
mov ecx, eax
or eax, 0xffffffff
test ecx, ecx
je 0x492996
lea eax, [ebp - 0x24]
push eax
call ecx
test eax, eax
jne 0x492996
mov eax, dword [ebp - 0x1a]
mov dword [esi], eax
mov ax, word [ebp - 0x16]
mov word [esi + 4], ax
jmp 0x4929a3
push eax
push str.Cant_create_UUID____d
call fcn.00479bc5
pop ecx
pop ecx
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push ebx
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0xa]
push eax
push ebx
push ebx
push 0x6cb24c
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
lea ecx, [ebp - 0x180]
call fcn.004683d2
push 0xe
push esi
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], ebx
call fcn.0046836e
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.004683d2
push 0xa
push esi
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 1
call fcn.0046836e
mov edi, dword [ebp - 0x10]
cmp edi, eax
je 0x492a0d
push 5
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x98]
call fcn.004683d2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x98]
push 4
push eax
mov byte [ebp - 4], 2
call fcn.0046836e
mov ecx, dword [ebx + eax]
add dword [edi + ebx], ecx
add ebx, 4
cmp ebx, 0x14
jne 0x492a2d
lea ecx, [ebp - 0x98]
call fcn.0040c884
lea ecx, [ebp - 0x10c]
call fcn.0040c884
lea ecx, [ebp - 0x180]
call fcn.0040c884
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x498aec
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.004b8ed4
mov eax, esi
pop esi
ret 4
Function at 0x4991c0
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x69a169
call fcn.006375a8
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.0042615e
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.0042615e
mov eax, dword [esi + 0x30]
lea ecx, [edi + 0x5c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov al, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov al, byte [esi + 0x59]
mov byte [edi + 0x59], al
mov al, byte [esi + 0x5a]
mov byte [edi + 0x5a], al
lea eax, [esi + 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.0042615e
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0x88]
xor al, byte [esi + 0x88]
and al, 1
mov byte [ebp - 4], 2
xor byte [edi + 0x88], al
mov al, byte [edi + 0x88]
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 2
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x88], al
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x88], al
lea ecx, [edi + 0xa0]
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
lea eax, [esi + 0xa0]
push eax
call fcn.0040da7b
lea eax, [esi + 0xb8]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xb8]
call fcn.0040da7b
mov al, byte [esi + 0xd0]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0xd0], al
mov eax, dword [esi + 0xd4]
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4049
Capabilities:
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x28
push esi
push 0x80
push 5
push dword [esp + 0x38]
mov esi, ecx
call fcn.0045fa00
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x4b406f
xor al, al
jmp 0x4b4199
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.0045f9c6
test eax, eax
je 0x4b408a
lea eax, [esp + 8]
push eax
call fcn.0045f990
jmp 0x4b4068
push ebp
push edi
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
call fcn.004b3600
mov eax, dword [esi + 0x238]
xor ebp, ebp
sub eax, dword [esi + 0x234]
mov edi, ebp
sar eax, 3
test eax, eax
je 0x4b40ce
push edi
mov ecx, esi
call fcn.004b0846
mov eax, dword [esi + 0x238]
inc edi
sub eax, dword [esi + 0x234]
sar eax, 3
cmp edi, eax
jb 0x4b40b2
mov ecx, dword [esi + 0x734]
mov eax, dword [esi + 0x738]
add ecx, 0x3fff
adc eax, ebp
shrd ecx, eax, 0xe
shr eax, 0xe
lea eax, [esp + 0x10]
mov dword [esi + 0xf0], ecx
push eax
call fcn.0045f990
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004a505a
cmp dword [eax + 0x14], 8
jb 0x4b410d
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.004267c2
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004a505a
cmp byte [esp + 0x40], 0
je 0x4b4149
cmp dword [eax + 0x14], 8
jb 0x4b413c
mov eax, dword [eax]
push eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4b415e
cmp dword [eax + 0x14], 8
jb 0x4b4151
mov eax, dword [eax]
push 1
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ebx, eax
lea ecx, [esp + 0x20]
push ebp
neg ebx
push 1
sbb bl, bl
call fcn.004267c2
add bl, 1
je 0x4b4179
xor al, al
jmp 0x4b4196
mov ecx, esi
mov byte [esp + 0x13], 1
call fcn.004a3b97
lea ecx, [esp + 0x13]
push dword [eax + 0x20]
push ecx
mov ecx, eax
call fcn.005037f2
mov al, 1
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x28
ret 8

Function at 0x4b6663
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, SysReAllocString
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b6679
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b66b5
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebp
pop ebx
ret
Function at 0x4b671e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4b6727
pop esi
ret

Function at 0x4b8ed4
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x4b8ee9
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8

Function at 0x4b9d05
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [0x7a398a], 0
je 0x4b9dab
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x6cd7f0
push eax
call fcn.004638e7
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b9d34
mov eax, dword [eax]
push esi
push eax
call fcn.00667dd0
pop ecx
xor esi, esi
lea ecx, [ebp - 0x30]
push esi
push 1
call fcn.004267c2
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push str.TEMP_s
push eax
call fcn.004638e7
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b9d65
mov eax, dword [eax]
push eax
call fcn.00667dd0
pop ecx
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.004267c2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x6cd810
push eax
call fcn.004638e7
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 4], 8
jae 0x4b9d97
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.004267c2
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c2aef
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea ecx, [esp + 4]
mov dword [0x7a6378], eax
push ecx
push esi
push eax
push 0x4c2619
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ecx
ret
Function at 0x4c3700
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x69c1ac
call fcn.006375a8
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], 0x6ce978
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0x6ce998
mov dword [esi + 8], 0x6ce9b4
mov dword [esi + 0xc], ebx
call fcn.004c8773
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4c9c50
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x69c7d3
call fcn.006375a8
sub esp, 0x2c
push ebx
push edi
xor edx, edx
mov byte [ebp - 0x38], 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov bl, dl
push 0x10
pop edi
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], edi
jae 0x4c9c91
lea eax, [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
push ecx
push edx
push edx
push edi
push eax
call sub.DNSAPI.dll_DnsQuery_UTF8
test eax, eax
jne 0x4c9d11
push esi
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4c9d04
cmp word [esi + 8], di
jne 0x4c9cfe
xor edi, edi
test bl, bl
jne 0x4c9cfb
lea eax, [esi + 0x1c]
mov dword [ebp - 0x14], eax
cmp edi, dword [esi + 0x18]
jae 0x4c9cfb
mov edx, dword [eax]
push edx
push str.DEBUG:_Processing_TXT:__s_n
call fcn.0040c884
mov ecx, edx
add esp, 8
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c9cd7
lea eax, [ebp - 0x38]
sub ecx, ebx
push eax
push ecx
push edx
call fcn.004d75b1
mov bl, al
inc edi
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
test bl, bl
je 0x4c9cbd
push 0x10
pop edi
mov esi, dword [esi]
test bl, bl
je 0x4c9ca7
push 1
push dword [ebp - 0x18]
call sub.DNSAPI.dll_DnsFree
pop esi
jmp 0x4c9d1b
cmp eax, 0x251d
je 0x4c9d42
mov dword [ebp - 0x1c], eax
test bl, bl
je 0x4c9d42
mov byte [ebp - 0xd], 1
call fcn.00475cf1
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
call fcn.004d8ad0
mov byte [ebp - 4], 3
call fcn.00475d32
lea ecx, [ebp - 0x28]
call fcn.005271d7
lea ecx, [ebp - 0x34]
call fcn.005271d7
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040daff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4caff7
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
push 0x2cc
mov dword [ebp - 8], edi
call fcn.0045e489
mov ebx, eax
push 0x6ce420
push 0x6b69f4
mov dword [ebp - 4], ebx
mov dword [ebx], 0x10007
call fcn.00462194
test eax, eax
je 0x4cb06f
push esi
push dword [ebp + 8]
push edi
push 0x1f03ff
call eax
mov esi, eax
test esi, esi
je 0x4cb06e
push esi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x4cb060
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x4cb060
lea eax, [ebp - 8]
push eax
call fcn.004cac95
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cf232
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x69cc83
call fcn.006375a8
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
and byte [esi + 0xc0], 0xf8
lea edi, [esi + 0x64]
push 0xa
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
push 0x58
rep stosd dword es:[edi], eax
lea eax, [esi + 4]
push ebx
push eax
call fcn.00651ed0
push 4
mov dword [esi + 0xac], 0x186a0
call fcn.00637305
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4cf2da
push 0x4cf371
push 0x4cf384
push 0xf
push 0x20
push 0x18
push 0x4f
call fcn.005390a9
mov dword [edi], eax
jmp 0x4cf2dc
mov edi, ebx
mov ecx, dword [ebp - 0xc]
mov eax, 0x100000
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], 0x5397ba
mov dword [esi + 0x2c], 0x5397da
mov dword [esi + 0x30], 0x5397a6
mov dword [esi + 0x34], 0x539744
mov dword [esi + 0x38], 0x5397b1
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov eax, esi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret