joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406020
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x465f60
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov esi, 7
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x60]
push 0x469acc
xor edi, edi
lea ecx, [esp + 0x50]
call fcn.00401de0
test eax, eax
jne 0x4060f0
mov edi, 1
push edi
lea ecx, [esp + 0x1c]
call fcn.0040acc0
add esp, 4
test eax, eax
jne 0x4060ae
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040acc0
add esp, 4
push edi
push 0x469ad0
lea ecx, [esp + 0x20]
call fcn.00402190
push ebx
push 0x47b738
or eax, 0xffffffff
lea esi, [esp + 0x20]
call fcn.00402630
push edi
push 0x469ad0
mov ecx, esi
call fcn.00402190
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x14]
mov eax, esi
call fcn.00401110
mov esi, 7
jmp 0x406104
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x14]
lea eax, [esp + 0x54]
call fcn.00401110
mov edi, 1
mov eax, str.TaladClient.exeTaladLauncher.exeTaladAutoUpdate.exeTaladAppInst.exe
cmp eax, 0x469acc
mov dword [ebp + 0xc], edi
je 0x40615b
call fcn.0040a010
cmp eax, ebx
jne 0x40615b
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x406134
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x406154
mov edx, dword [esp + 0x50]
push edx
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x40621f
cmp dword [ebp + 0xc], edi
mov dword [ebp + 0x38], edi
je 0x406169
push ebp
call fcn.00408320
lea edi, [ebp + 0xf4]
push edi
push ebx
push ebp
push 0x406f50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp + 0xf0], eax
jne 0x4061c5
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x4061a1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x406154
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x40621f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x38], 3
mov dword [edi], ebx
mov dword [ebp + 0xf0], ebx
jne 0x4061e2
push ebp
call fcn.00409030
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x4061fa
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x40621a
mov eax, dword [esp + 0x50]
push eax
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044eeec
add esp, 0x30
ret 0x20
Function at 0x406c10
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x38], 0
push edi
je 0x406c1e
mov eax, 1
pop edi
ret
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x14]
push 0x469acc
xor edi, edi
call fcn.00401de0
test eax, eax
jne 0x406c36
pop edi
ret
mov eax, 1
cmp dword [esi + 0xc], eax
mov dword [esi + 0x38], eax
je 0x406c49
push esi
call fcn.00408320
mov eax, dword [0x47b794]
mov eax, dword [eax + 0xc]
push 0x408fd0
push 0xbb8
push esi
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esi + 0xf4]
push ecx
push 0
push esi
push 0x406f50
push 0
push 0
mov dword [esi + 0xec], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 0xf0], eax
pop edi
mov eax, edx
ret
Function at 0x408130
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4651d8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x74], esi
mov ebp, 7
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
push 1
sub esp, 0x1c
mov byte [esp + 0x94], 1
mov dword [esp + 0x34], esp
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], esi
push esi
lea eax, [esp + 0xa4]
mov word [ecx + 4], si
call fcn.00401110
lea edi, [esp + 0x4c]
call fcn.0040d2f0
add esp, 0x20
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.00401110
mov edi, 8
cmp dword [esp + 0x44], edi
jb 0x4081da
mov eax, dword [esp + 0x30]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x60], edi
mov eax, dword [esp + 0x4c]
jae 0x4081e8
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x408239
cmp dword [esp + 0x60], edi
mov dword [ebx], esi
mov dword [ebx + 4], esi
jb 0x40820c
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x408232
mov edx, dword [esp + 0x80]
push edx
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x4082f7
cmp dword [esp + 0x94], edi
mov eax, dword [esp + 0x80]
jae 0x408250
lea eax, [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4082ac
cmp dword [esp + 0x60], edi
mov dword [ebx], esi
mov dword [ebx + 4], esi
jb 0x408282
mov edx, dword [esp + 0x4c]
push edx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x408232
mov eax, dword [esp + 0x80]
push eax
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x4082f7
cmp dword [esp + 0x60], edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
jb 0x4082cc
mov eax, dword [esp + 0x4c]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x4082f2
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044eeec
add esp, 0x68
ret 0x1c
Function at 0x408b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465198
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
push eax
lea eax, [ecx + 0x14]
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 2
call fcn.00401110
push 0xf
push str.TaladClient.exe
lea ecx, [esp + 0x30]
call fcn.00402190
cmp dword [esp + 0x40], 8
jb 0x408b95
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044eeec
add esp, 0x50
ret

Function at 0x409030
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4652a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], 0
lea esi, [eax + 0x14]
push 0xffffffffffffffff
push 0
mov eax, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.00401110
push 0xf
push str.TaladClient.exe
lea ecx, [esp + 0x10]
call fcn.00402190
cmp dword [esi + 0x18], 8
jb 0x4090af
mov esi, dword [esi + 4]
jmp 0x4090b2
add esi, 4
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x4090c1
lea eax, [esp + 0xc]
push 1
push esi
push 0x469acc
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x20], 8
jb 0x4090eb
mov eax, dword [esp + 0xc]
push eax
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044eeec
add esp, 0x2c
ret 4
Function at 0x40a940
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x465746
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor edi, edi
push 0x206
lea eax, [esp + 0x56]
push edi
push eax
mov esi, ecx
mov ebx, edx
mov word [esp + 0x5c], di
call fcn.00452a60
add esp, 0xc
push 0x104
lea ecx, [esp + 0x54]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x6c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x30], esp
mov word [esi + 4], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40a9d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00401070
lea eax, [esp + 0x34]
push eax
call fcn.0040abd0
add esp, 0x20
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esp + 0x26c], edi
call fcn.00401110
mov ebx, 8
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x30], ebx
jb 0x40aa2b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044ec2b
add esp, 4
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x6c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x30], esp
mov word [esi + 4], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40aa50
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00401070
lea eax, [esp + 0x50]
push eax
call fcn.0040aad0
add esp, 0x20
push 0xffffffffffffffff
push edi
mov ecx, ebp
mov dword [esp + 0x26c], 1
call fcn.00401110
cmp dword [esp + 0x4c], ebx
jb 0x40aa9f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0044eeec
add esp, 0x254
ret

Function at 0x40acc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.00452a60
add esp, 0xc
xor ecx, ecx
cmp dword [esp + 0x218], 1
push 1
sete cl
lea edx, [esp + 0xc]
lea ecx, [ecx*4 + 0x26]
push ecx
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
cmp edi, 1
jne 0x40ad41
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ad25
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00401070
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.0044eeec
add esp, 0x20c
ret
Function at 0x40ad60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x465708
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
sub esp, 0x1c
mov dword [esp + 0x78], ebx
mov esi, esp
mov dword [esp + 0x4c], esp
push 1
mov ebp, 7
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push 0x469ad0
mov word [esi + 4], bx
call fcn.00401070
sub esp, 0x1c
mov byte [esp + 0x94], 1
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
mov eax, edi
mov word [ecx + 4], bx
call fcn.00401110
mov byte [esp + 0x94], bl
call fcn.0040afa0
add esp, 0x3c
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
or eax, 0xffffffff
lea esi, [esp + 0x30]
mov byte [esp + 0x58], 2
call fcn.00401230
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40ae44
mov esi, dword [esp + 0x20]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40ae4d
call fcn.0044f3b1
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov eax, ecx
push 0
lea ecx, [esp + 0x38]
call fcn.00401110
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, 1
lea ebx, [edi + 0x1b]
lea ebx, [ebx]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40af2a
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x40af2a
push 1
push 0x469ad0
lea ecx, [esp + 0x38]
call fcn.00402190
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40aed2
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40aedb
call fcn.0044f3b1
mov esi, dword [esp + 0x1c]
cmp dword [ebx + esi + 0x18], 8
jb 0x40aee8
mov esi, dword [ebx + esi + 4]
jmp 0x40aeec
lea esi, [ebx + esi + 4]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40aef1
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00402190
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x40af1a
lea eax, [esp + 0x34]
push 0
push eax
call ebp
add edi, 1
add ebx, 0x1c
jmp 0x40ae70
cmp dword [esp + 0x48], 8
jb 0x40af42
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044ec2b
mov esi, dword [esp + 0x20]
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
je 0x40af79
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edx
mov eax, esi
call fcn.00402940
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0044eeec
add esp, 0x48
ret
Function at 0x40baa0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x464f89
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, edx
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], di
mov dword [esp + 0x48], edi
xor eax, eax
push 0xa
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
push 0x14
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], 1
mov word [esp + 0x24], di
call fcn.004507a3
lea eax, [esp + 0x24]
add esp, 0x10
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bb40
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401070
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044eeec
add esp, 0x40
ret
Function at 0x40c8b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4655e9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov ecx, 7
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebp
mov dword [esp + 0x20], edi
mov word [edi + 4], bp
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
mov bl, 0x43
mov dword [esp + 0x68], eax
mov byte [esp + 0x13], bl
jmp 0x40c925
mov eax, 1
cmp dword [esp + 0x58], eax
jae 0x40c93b
mov ecx, dword [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.004012c0
mov ecx, dword [esp + 0x44]
movsx ax, bl
mov esi, 8
cmp dword [esp + 0x58], esi
movzx eax, ax
jae 0x40c955
lea ecx, [esp + 0x44]
mov word [ecx], ax
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], 1
jae 0x40c96e
lea eax, [esp + 0x44]
push 2
push 0x46aca0
lea ecx, [esp + 0x48]
mov word [eax + 2], bp
call fcn.00402190
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x40c990
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x40c9dc
lea ecx, [esp + 0x40]
push ecx
mov ebx, 0x46aca8
lea esi, [esp + 0x28]
call fcn.004026f0
add esp, 4
push ebp
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [esp + 0x70], 2
call fcn.00402630
mov byte [esp + 0x68], 1
cmp dword [esp + 0x3c], 8
jb 0x40c9dc
mov edx, dword [esp + 0x28]
push edx
call fcn.0044ec2b
add esp, 4
mov bl, byte [esp + 0x13]
add bl, 1
cmp bl, 0x5a
mov byte [esp + 0x13], bl
jle 0x40c920
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 1
mov ebx, 7
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push 0x46abf8
mov word [esi + 4], bp
call fcn.00401070
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
mov eax, edi
mov word [ecx + 4], bp
call fcn.00401110
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 1
call fcn.0040ced0
add esp, 0x38
push 0xffffffffffffffff
push ebp
mov ecx, edi
mov byte [esp + 0x70], 4
call fcn.00401110
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x40ca74
mov eax, dword [esp + 0x28]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x58], esi
jb 0x40ca87
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0044ec2b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0044eeec
add esp, 0x5c
ret
Function at 0x40d3b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.00452a60
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
cmp edi, 1
jne 0x40d41e
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d402
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00401070
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.0044eeec
add esp, 0x20c
ret

Function at 0x40d440
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.00452a60
add esp, 0xc
push 1
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
cmp edi, 1
jne 0x40d4ae
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d492
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00401070
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.0044eeec
add esp, 0x20c
ret

Function at 0x40d4d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40d523
mov ax, word [esp]
cmp al, 2
jne 0x40d51d
cmp ah, al
jne 0x40d51d
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0044eeec
add esp, 0x19c
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.0044eeec
add esp, 0x19c
ret
Function at 0x40d7b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x24c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov ebx, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov ebp, eax
jbe 0x40d7e2
call fcn.0044f3b1
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x40d7ef
call fcn.0044f3b1
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.0040e350
push 0x22c
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00452a60
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push ebp
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x40d8d8
push 0x22c
call fcn.0044f136
mov ecx, 0x8b
lea esi, [esp + 0x24]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 4]
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x40d856
xor esi, esi
jmp 0x40d85e
mov esi, dword [ebx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x40d87b
mov edx, dword [ebx + 0xc]
sub edx, ecx
sar edx, 2
cmp esi, edx
jae 0x40d87b
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebx + 8], ecx
jmp 0x40d89a
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x40d887
call fcn.0044f3b1
push esi
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, ebx
call fcn.0040e2c0
push 0x22c
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00452a60
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x40d82d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x40d8ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
push ebp
je 0x40d8cb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044eeec
add esp, 0x24c
ret

Function at 0x40eb80
Capabilities:
Prepare http request

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
push edi
xor edi, edi
cmp eax, edi
lea ebx, [edi + 8]
jne 0x40ebcc
cmp dword [esp + 0x24], ebx
jb 0x40eba1
mov eax, dword [esp + 0x10]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
jb 0x40ebc5
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044ec2b
add esp, 4
pop edi
xor eax, eax
pop ebx
ret 0x3c
cmp dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x10]
jae 0x40ebda
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x44]
push edx
push edi
push edi
push edi
push ecx
push 0x46caf4
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x40eb8e
cmp dword [esp + 0x24], ebx
jb 0x40ec09
mov edx, dword [esp + 0x10]
push edx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
jb 0x40ec2d
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044ec2b
add esp, 4
pop edi
mov eax, 1
pop ebx
ret 0x3c