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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x6f658b
add esp, 0xfffffff0
call fcn.0040430c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
call fcn.00439464
call fcn.00438fdc
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
setg al
mov byte [ebx + 0x78], al
mov dl, 1
mov eax, dword [0x6f31b0]
call fcn.006f59c8
mov edi, eax
mov dword [ebx + 0xc0], edi
mov eax, esi
mov edx, dword [0x6dd4a0]
call fcn.00404134
test al, al
je 0x6f6609
mov dword [ebx + 8], esi
mov edi, esi
mov eax, dword [edi + 0x2e4]
mov al, byte [eax + 0x1d]
mov edx, dword [ebx + 0xc0]
mov byte [edx + 0x1e], al
mov eax, dword [edi + 0x2e4]
mov dl, byte [eax + 0x1d]
mov eax, ebx
call fcn.006f6c08
mov eax, dword [edi + 0x2e4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebx + 0xc0]
mov dword [edx + 0x4c], eax
jmp 0x6f6650
mov eax, esi
mov edx, dword [0x7ac0c8]
call fcn.00404134
test al, al
je 0x6f664c
mov dword [ebx + 8], esi
mov edi, esi
mov eax, dword [edi + 0x44]
mov al, byte [eax + 0x1d]
mov edx, dword [ebx + 0xc0]
mov byte [edx + 0x1e], al
mov eax, dword [edi + 0x44]
mov dl, byte [eax + 0x1d]
mov eax, ebx
call fcn.006f6c08
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x24]
mov edx, dword [ebx + 0xc0]
mov dword [edx + 0x4c], eax
jmp 0x6f6650
mov byte [edi + 0x1e], 0
mov eax, ebx
call fcn.006f6af0
test al, al
je 0x6f6665
call fcn.00439464
mov dword [ebx + 4], eax
jmp 0x6f6682
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004385b4
mov dword [ebx + 4], eax
jmp 0x6f6682
mov eax, dword [0x7b5a74]
mov eax, dword [eax]
call fcn.004a51c0
cmp dword [ebx + 4], 0
je 0x6f6676
cmp byte [ebx + 0x78], 0
je 0x6f66d9
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc0]
call fcn.006f649c
mov eax, dword [0x7b5a74]
mov eax, dword [eax]
call fcn.004a51c0
mov eax, dword [ebx + 4]
call fcn.00438fdc
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
call fcn.00439464
call fcn.00438f2c
cmp esi, eax
jge 0x6f66d9
call fcn.00439464
call fcn.00438f2c
mov edx, eax
mov eax, dword [ebx + 4]
call fcn.00438f44
mov eax, dword [ebx + 0xc0]
call fcn.006f5b40
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0xc0]
call fcn.006f5b48
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x30], 0
mov byte [ebx + 0x91], 0
xor eax, eax
mov dword [ebx + 0x74], eax
mov dl, 1
mov eax, dword [0x6f2a6c]
call fcn.006f43cc
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x98], 0xbe0ded3
mov dword [ebx + 0x9c], 0xc182a993
mov word [ebx + 0xa0], 0x3ffd
mov dword [ebx + 0xa8], 0xbe0ded3
mov dword [ebx + 0xac], 0xc182a993
mov word [ebx + 0xb0], 0x3ffd
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
mov byte [ebx + 0x90], 0
mov byte [ebx + 0xbc], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6f67a2
call fcn.00404364
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x704570
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ebc
push 0
push 0
push 0x7045c4
call sub.kernel32.dll_GetEnvironmentVariableA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x7045bd
mov edx, dword [ebp - 8]
dec edx
mov eax, dword [ebp - 4]
call fcn.00405508
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040537c
push eax
push 0x7045c4
call sub.kernel32.dll_GetEnvironmentVariableA
pop ecx
pop ecx
pop ebp
ret

Function at 0x7045cc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x704766
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ebc
mov word [0x7b9d70], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040537c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x67e45c]
call fcn.004067a4
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040537c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x704735
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x704774
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x7046dd
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, 4
call fcn.00402b40
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.0040a7e4
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.004053dc
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x20]
call fcn.004053dc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
pop ecx
call fcn.004051c8
jmp 0x7046ea
lea eax, [ebp - 0x20]
mov edx, 0x704798
call fcn.00404f54
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x7047ac
push dword [ebp - 0x20]
push 0x7047c8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0x2c]
call fcn.0040537c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x704735
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x67e4e0]
call fcn.0067e7b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70476d
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404ee0
lea eax, [ebp - 0xc]
mov edx, dword [0x67e45c]
call fcn.004068c4
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x7047d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x704961
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x7b9d90], 0xa
jge 0x704940
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 4]
mov edx, 0x704974
call fcn.004051c8
mov eax, dword [ebp - 0x184]
call fcn.0040537c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x704940
mov dword [ebp - 0xc], 0x64
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x7d]
push eax
push 0
push 0
push 0x704988
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x704937
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x17d]
push eax
push 0
push 0
push 0x70499c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x704937
mov byte [ebp - 0x11], 0
mov eax, dword [0x7b9d90]
dec eax
test eax, eax
jl 0x7048e2
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x7b9de8]
call fcn.0040537c
lea edx, [ebp - 0x7d]
call fcn.00409f44
test eax, eax
jne 0x7048da
mov byte [ebp - 0x11], 1
jmp 0x7048e2
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x7048b9
cmp byte [ebp - 0x11], 0
jne 0x704937
inc dword [0x7b9d90]
mov eax, dword [0x7b9d90]
lea eax, [eax*4 + 0x7b9d94]
lea edx, [ebp - 0x17d]
mov ecx, pe_nt_image_headers32
call fcn.0040512c
mov eax, dword [0x7b9d90]
lea eax, [eax*4 + 0x7b9dbc]
mov edx, dword [ebp - 4]
call fcn.00404f10
mov eax, dword [0x7b9d90]
lea eax, [eax*4 + 0x7b9de4]
lea edx, [ebp - 0x7d]
mov ecx, 0x65
call fcn.0040512c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x704968
lea eax, [ebp - 0x184]
call fcn.00404ebc
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x7077fc
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x70797f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b4c80]
cmp byte [eax], 0
jne 0x707824
call fcn.00707c3c
mov byte [0x7b9d7a], 0
cmp dword [0x7b9d90], 1
jle 0x7078df
cmp dword [0x7b9d88], 0
je 0x7078df
lea eax, [ebp - 4]
call fcn.00704570
lea eax, [ebp - 8]
mov ecx, 0x707994
mov edx, dword [0x7b9d88]
call fcn.004051c8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004054c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x7078df
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040517c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0040517c
sub ebx, eax
sub ebx, dword [ebp - 0xc]
inc ebx
push ebx
mov eax, dword [ebp - 8]
call fcn.0040517c
mov edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004053dc
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053dc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.004051c8
mov eax, dword [ebp - 4]
call fcn.0040537c
push eax
push 0x70799c
call sub.kernel32.dll_SetEnvironmentVariableA
cmp dword [0x7b9e14], 0
jbe 0x7078fa
mov eax, dword [0x7b9e14]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x7b9e14], eax
cmp dword [0x7b9e18], 0
jbe 0x707915
mov eax, dword [0x7b9e18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
mov dword [0x7b9e18], eax
mov eax, 0x7b9d64
call fcn.00404ebc
mov eax, 0x7b9d68
call fcn.00404ebc
mov eax, 0x7b9d6c
call fcn.00404ebc
mov word [0x7b9d70], 0
mov byte [0x7b9d72], 0
mov al, byte [0x7079a4]
mov byte [0x7b9d73], al
mov eax, 0x7b9d88
call fcn.00404ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x707986
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404ee0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ee0
ret
Function at 0x70e6ac
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x70e6b4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x70e8b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b5dd0]
cmp byte [eax], 0
jne 0x70e87f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x70e86f
xor edx, edx
push ebp
push 0x70e84b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 1
je 0x70e713
mov eax, dword [0x7b5e74]
test byte [eax], 2
jne 0x70e797
mov eax, dword [ebp - 4]
call fcn.0070e548
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, 0x70e8d0
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.0068165c
mov ebx, eax
mov dx, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dl, 2
mov eax, ebx
call fcn.00681450
mov edx, 0x41
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.0068165c
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004161f4
jmp 0x70e841
mov edx, 0xff
mov eax, dword [0x67e4e0]
call fcn.0067e6ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x70e81e
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0xff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
push eax
mov eax, dword [0x7b4ffc]
mov eax, dword [eax]
call eax
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x67e4e0]
call fcn.0067e7b4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404f10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70e825
mov edx, dword [ebp - 0xc]
mov eax, dword [0x67e4e0]
call fcn.0067e708
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x70e86f
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404f10
jmp 0x70e894
mov edx, dword [0x7b52b4]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
mov ecx, 0x70e948
call fcn.004051c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70e8be
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404ee0
lea eax, [ebp - 0x1c]
call fcn.00412b74
ret
Function at 0x71bf98
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x71c137
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x244]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebx + 0x244]
mov edx, dword [eax]
call dword [edx + 0x18]
fstp qword [ebp - 0x10]
wait
push 0x71c14c
push dword [ebp - 4]
push 0x71c1a8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0x24]
mov edx, 1
call fcn.007a5c9c
mov eax, dword [0x7b5af4]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004d6984
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x18]
wait
push 0x71c1b4
push dword [ebp - 4]
push 0x71c1a8
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0x28]
mov edx, 1
call fcn.007a5c9c
mov eax, dword [0x7b5af4]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004d6984
mov edx, dword [eax]
call dword [edx + 0x54]
fstp qword [ebp - 0x20]
wait
lea eax, [ebp - 0x2c]
push eax
fld qword [ebp - 0x10]
fadd qword [ebp - 0x18]
fstp xword [ebp - 0x40]
wait
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 3
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x71c208
call fcn.0040b894
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x238]
call fcn.0051cd40
lea eax, [ebp - 0x44]
push eax
fld qword [ebp - 0x20]
fstp xword [ebp - 0x40]
wait
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 3
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x71c208
call fcn.0040b894
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x23c]
call fcn.0051cd40
lea eax, [ebp - 0x48]
push eax
fld qword [ebp - 0x10]
fadd qword [ebp - 0x18]
fsub qword [ebp - 0x20]
fstp xword [ebp - 0x40]
wait
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 3
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x71c208
call fcn.0040b894
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x240]
call fcn.0051cd40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71c13e
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ee0
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404ee0
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x728530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406ff0
xor eax, eax
push ebp
push 0x728626
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x3f0]
mov edx, dword [ebp - 4]
call fcn.00406f94
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3f0]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x3e8]
call fcn.00404f10
push 0x72863c
push dword [ebx + 0x3e8]
push 0x728688
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0xc]
mov edx, 1
call fcn.007a5c9c
mov eax, dword [0x7b5af4]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004d6984
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x3ec]
call fcn.00404f10
mov eax, dword [ebx + 0x3e8]
call fcn.006c6620
xor edx, edx
mov eax, dword [ebx + 0x364]
call fcn.00459a8c
mov eax, dword [0x7b9fc0]
xor edx, edx
mov dword [eax + 0x3f4], edx
mov eax, dword [ebx + 0x3e8]
call fcn.006c6278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72862d
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ee0
lea eax, [ebp - 4]
call fcn.00406f7c
ret

Function at 0x773d18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406ff0
xor eax, eax
push ebp
push 0x773df8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x3e4]
mov edx, dword [ebp - 4]
call fcn.00406f94
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3e4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x3dc]
call fcn.00404f10
push 0x773e0c
push dword [ebx + 0x3dc]
push 0x773e58
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040523c
mov eax, dword [ebp - 0xc]
mov edx, 1
call fcn.007a5c9c
mov eax, dword [0x7b5af4]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004d6984
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x3e0]
call fcn.00404f10
xor edx, edx
mov eax, dword [ebx + 0x35c]
call fcn.00459a8c
mov eax, dword [0x7ba4f0]
xor edx, edx
mov dword [eax + 0x3e8], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x773dff
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ee0
lea eax, [ebp - 4]
call fcn.00406f7c
ret
Function at 0x7a05d8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x7a072a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.ws2_32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x7a0702
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.ws2_32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040b20c
lea eax, [ebp - 0x298]
push eax
call sub.ws2_32.dll_gethostbyname
test eax, eax
je 0x7a06eb
mov edx, dword [eax + 0xc]
test edx, edx
je 0x7a06e5
mov ebx, dword [edx]
test ebx, ebx
je 0x7a06df
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x7a0744
call fcn.0040b894
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404f10
mov byte [ebp - 5], 1
jmp 0x7a06ef
mov byte [ebp - 5], 0
jmp 0x7a06ef
mov byte [ebp - 5], 0
jmp 0x7a06ef
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a0709
call sub.ws2_32.dll_WSACleanup
ret

Function at 0x7a5d74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x7a5dc8
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.0040537c
push eax
push 0x7a5dd8
push 0x7a5de4
push esi
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a5dcf
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x7a5dec
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov eax, dword [0x7b602c]
cmp byte [eax], 0
je 0x7a5e59
mov eax, dword [0x7b4ed4]
cmp byte [eax], 0
je 0x7a5e4b
mov eax, 4
call fcn.00402868
mov ebx, eax
push 0
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0
push 0
push 0x7a5ea0
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebx]
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040a794
mov edx, 4
mov eax, ebx
call fcn.00402888
jmp 0x7a5e9b
mov edx, esi
mov eax, 0x7a5eac
call fcn.006c6d24
jmp 0x7a5e9b
mov eax, 4
call fcn.00402868
mov ebx, eax
push 0
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0
push 0
push 0x7a5ea0
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebx]
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.0040a794
mov edx, 4
mov eax, ebx
call fcn.00402888
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x7a5eb8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
xor eax, eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x13c], eax
xor eax, eax
push ebp
push 0x7a6126
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x134], 0x128
xor edx, edx
mov eax, 0xf
call fcn.00683758
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x7a6101
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683778
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x7a5fcb
lea edx, [ebp - 0x13c]
xor eax, eax
call fcn.00402ccc
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.0040af78
mov eax, dword [ebp - 0x138]
push eax
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.0040512c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040af78
mov eax, dword [ebp - 0x140]
pop edx
call fcn.00409dbc
test eax, eax
jne 0x7a5fb7
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc], eax
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
jmp 0x7a5fd3
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683798
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7a5f40
cmp dword [ebp - 0xc], 0
jbe 0x7a60ea
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683778
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x7a601d
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0xc]
jne 0x7a6009
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xc], eax
jmp 0x7a6021
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683798
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7a5ff3
cmp dword [ebp - 0xc], 0
jbe 0x7a60ea
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683778
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x7a60e2
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0xc]
jne 0x7a60ce
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.0040512c
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.0040af78
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409cf4
mov eax, dword [ebp - 0x148]
mov edx, 0x7a613c
call fcn.00409dbc
test eax, eax
jne 0x7a60ce
xor eax, eax
push ebp
push 0x7a60c7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.007a614c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a60ce
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_TerminateProcess
ret
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00683798
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7a6044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a6108
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret