joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419900
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x28
call dword [0x44d1fc]
push eax
call dword [0x44d010]
test eax, eax
jne 0x419921
xor eax, eax
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x44d00c]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [0x44d008]
call dword [0x44d20c]
test eax, eax
jne 0x41991b
push 0x80020000
push 2
call dword [0x44d310]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret

Function at 0x41e340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b671
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov eax, dword [0x45c424]
mov edx, dword [eax + 0xc]
mov ecx, 0x45c424
call edx
mov ecx, dword [esp + 0x34]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x2c], esi
mov edx, dword [0x45c424]
mov eax, dword [edx + 0xc]
mov edi, 1
mov ecx, 0x45c424
mov dword [esp + 0x20], edi
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
push 0xee
mov dword [esp + 0x30], edi
call fcn.00401ac0
mov ecx, eax
add esp, 4
cmp ecx, esi
je 0x41e3d9
lea edx, [esp + 0x1c]
push edx
mov eax, 0xee
call fcn.00401c40
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], 2
mov eax, dword [0x45c424]
mov edx, dword [eax + 0xc]
mov ecx, 0x45c424
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c], 3
call fcn.0041e4e0
mov eax, dword [ebx + 0x434]
cmp eax, 0x50
jle 0x41e42b
push 0x109
call fcn.00401ac0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41e471
lea eax, [esp + 0x18]
push eax
mov eax, 0x109
jmp 0x41e46c
cmp eax, 0x14
jle 0x41e44f
push 0xed
call fcn.00401ac0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41e471
lea edx, [esp + 0x18]
push edx
mov eax, 0xed
jmp 0x41e46c
push 0x10a
call fcn.00401ac0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41e471
lea eax, [esp + 0x18]
push eax
mov eax, 0x10a
call fcn.00401c40
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
push esi
push ebp
call fcn.00403100
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4219b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44a890
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov eax, dword [ebp + 0x264]
lea edx, [ebp + 0x260]
mov ecx, eax
shr ecx, 2
not ecx
and ecx, 1
mov ebx, 0
je 0x421a10
mov ecx, dword [edx + 0x1c]
or eax, 4
mov dword [edx + 4], eax
cmp ecx, ebx
je 0x421a10
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push edx
mov edx, dword [eax + 0x28]
call edx
lea eax, [esp + 0x28]
push eax
call fcn.00413060
lea ecx, [esp + 0x40]
lea esi, [ebp + 0x448]
push ecx
push esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x20], esi
call fcn.004125d0
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
xor edi, edi
sar eax, 2
cmp eax, ebx
jbe 0x421af1
add ebp, 0x300
cmp edi, eax
jb 0x421a5c
call fcn.00436bb6
mov edx, dword [esp + 0x4c]
mov esi, dword [edx + edi*4]
push 9
push esi
mov eax, ebp
mov dword [esp + 0x24], esi
call fcn.00424400
cmp eax, ebx
je 0x421ad5
test byte [eax + 4], 1
je 0x421ad5
cmp dword [eax + 0x2c], ebx
je 0x421ad5
mov edx, dword [esp + 0x34]
cmp edx, ebx
jne 0x421a8c
xor ecx, ecx
jmp 0x421a95
mov ecx, dword [esp + 0x3c]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x38]
mov ebx, eax
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x421aaf
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x38], eax
jmp 0x421ad3
mov esi, eax
cmp edx, eax
jbe 0x421aba
call fcn.00436bb6
mov eax, dword [esp + 0x28]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x38]
call fcn.00413360
xor ebx, ebx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
inc edi
sar eax, 2
cmp edi, eax
jb 0x421a5c
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x6c]
lea edx, [esp + 0x28]
push edx
push ebp
call fcn.00421be0
test eax, eax
je 0x421b29
push 4
lea eax, [esp + 0x70]
push eax
push 4
push str.notify
push str.SOFTWARE360Safe_softmgrdio
push 0x80000002
mov dword [esp + 0x84], 1
call dword [0x44d2a8]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
test ecx, 0xfffffffc
je 0x421b65
add esi, 0x2c
push esi
call dword [0x44d1e8]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
lea eax, [edi + 0x44]
call fcn.00412ce0
push esi
call dword [0x44d1ec]
mov eax, dword [edi + 0x20]
push eax
call dword [0x44d0a8]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x421b76
push eax
call fcn.00435d74
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00435d74
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
je 0x421ba0
push eax
call fcn.00435d74
add esp, 4
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00435d74
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4
Function at 0x424330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44946b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor esi, esi
xor eax, eax
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi], vtable.CSomTextWnd.0
mov eax, dword [0x45c424]
mov edx, dword [eax + 0xc]
mov ecx, 0x45c424
call edx
add eax, 0x10
mov dword [edi + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov byte [esp + 0x14], 2
or eax, 0xffffffff
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov eax, dword [0x45d06c]
mov dword [edi + 0x40], 0x984e00
mov dword [edi + 0x44], 0xda7003
mov ecx, dword [eax + 8]
mov dword [edi + 0x38], ecx
call fcn.00406460
cmp dword [edi + 0x3c], esi
je 0x4243e9
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x3c], esi
cmp ecx, esi
je 0x4243e9
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push esi
push esi
push edi
call eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x426940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
mov edi, dword [edx + 0x37c]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], 0
call fcn.0041a7a0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004027f0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xc]
call fcn.00412760
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x3c
ret 4
Function at 0x429150
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44a61b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
xor edi, edi
push 0x208
lea ecx, [esp + 0x16]
xor eax, eax
push edi
mov dword [esp + 0x10], edi
push ecx
mov word [esp + 0x1c], ax
call fcn.00438440
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push edi
push edi
push 0x8023
push edi
call dword [0x44d298]
test eax, eax
jl 0x42926f
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.00401f90
mov eax, str.360safe_softmgr_
mov dword [esp + 0x228], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4291e0
sub eax, edx
sar eax, 1
push eax
push str.360safe_softmgr_
lea ecx, [esp + 0x10]
push ecx
call fcn.004286e0
mov edx, dword [esp + 8]
push edi
push edx
push edi
call dword [0x44d29c]
cmp esi, edi
je 0x429231
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x429215
sub eax, edx
sar eax, 1
je 0x429231
mov edx, esi
lea edi, [esp + 8]
call fcn.00427f50
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.004027f0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42927a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42927a
push ebx
mov ecx, 0x450208
call fcn.00401f90
mov eax, ebx
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00435d7f
add esp, 0x224
ret

Function at 0x4294d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44a5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, dword [0x450ee4]
mov edx, dword [str.chost.exe]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x450eec]
mov dword [esp + 0x10], edx
mov edx, dword [0x450ef0]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x450ef4]
mov dword [esp + 0x18], edx
mov edx, dword [0x450ef8]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [0x44d2b0]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
call fcn.00401f90
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004379c8
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00435d7f
add esp, 0x2c
ret
Function at 0x42b300
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44af3a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0x45f120
call fcn.0042d450
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [0x45c424]
mov edx, dword [eax + 0xc]
mov ecx, 0x45c424
call edx
add eax, 0x10
mov dword [0x45f138], eax
push 0x45f13c
mov byte [esp + 0x2c], 1
call fcn.0042e380
push 0x45f15c
mov byte [esp + 0x2c], 2
call fcn.0042e060
push 0x45f180
mov byte [esp + 0x2c], 3
call fcn.004139d0
push 0x45f1a0
mov byte [esp + 0x2c], 4
call fcn.0042e060
push 0x45f1c0
mov byte [esp + 0x2c], 5
call fcn.0042e380
mov dword [0x45f1e0], esi
push 0x45f1e4
mov byte [esp + 0x2c], 7
call fcn.0042e060
mov byte [esp + 0x28], 8
lea eax, [esp + 0x10]
mov dword [0x45f208], esi
mov dword [0x45f204], 1
mov dword [0x45f17c], esi
call fcn.00428c40
mov edi, 0x45f138
mov byte [esp + 0x28], 9
call fcn.004032b0
mov byte [esp + 0x28], 8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b407
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push str.stat
push str.SOFTWARE360Safe_softmgr_boot
push 0x80000002
mov dword [esp + 0x24], esi
call dword [0x44d2bc]
test eax, eax
mov eax, 0x45f120
jne 0x42b452
cmp dword [esp + 0xc], 1
jne 0x42b452
mov dword [0x45f204], esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x42b770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
mov dword [esp + 8], 0
push ecx
mov word [esp + 0x14], ax
call fcn.00438440
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push str.SOFTWARE360Safe_softmgr_boot
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x208
call dword [0x44d2bc]
lea ecx, [esp + 8]
test eax, eax
je 0x42b7e4
mov ecx, 0x450208
push esi
call fcn.00401f90
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.00435d7f
add esp, 0x214
ret
Function at 0x42ccc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a478
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edx, dword [0x450f50]
mov eax, dword [str.windows_]
mov dword [esp + 0x28], edx
mov edx, dword [0x450f58]
mov dword [esp + 0x24], eax
mov eax, dword [0x450f54]
mov dword [esp + 0x30], edx
mov edx, dword [str._system32_]
mov dword [esp + 0x2c], eax
mov eax, dword [0x450f5c]
mov dword [esp + 0xc], edx
mov edx, dword [0x450f24]
mov dword [esp + 0x34], eax
mov eax, dword [0x450f20]
mov dword [esp + 0x14], edx
mov edx, dword [0x450f2c]
mov dword [esp + 0x10], eax
mov eax, dword [0x450f28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ax, word [0x450f30]
lea edx, [esp + 8]
push edx
mov word [esp + 0x24], ax
call fcn.00401f90
mov dword [esp + 0x44], 0
mov edx, dword [esp + 8]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42cd92
mov ecx, esi
lea eax, [esp + 8]
call fcn.00401e20
mov edx, dword [esp + 8]
lea eax, [esi + 1]
push eax
push edx
call fcn.00437ce3
add esp, 8
test esi, esi
jl 0x42ce5b
mov eax, dword [esp + 8]
cmp esi, dword [eax - 8]
jg 0x42ce5b
mov dword [eax - 0xc], esi
mov edx, dword [esp + 8]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x42cdeb
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004367e5
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x42cdeb
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42ce14
cmp dword [ecx - 0xc], 0
jl 0x42ce10
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004367e5
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x42ce10
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42ce14
xor esi, esi
jmp 0x42ce19
mov esi, 1
lea eax, [ecx - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00435d7f
add esp, 0x40
ret
push 0x80070057
call fcn.00401e90
int3
Function at 0x433300
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44a358
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ebx, [esp + 0xc]
call fcn.004333d0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0xc]
call dword [0x44d230]
push eax
call fcn.00402780
add esp, 4
test eax, eax
jne 0x433367
test esi, esi
je 0x43338c
push esi
call dword [0x44d2ac]
test eax, eax
je 0x433367
push esi
call fcn.00433dc0
add esp, 4
test eax, eax
je 0x43338c
mov eax, dword [esp + 0xc]
push eax
call dword [0x44d228]
mov dword [0x45f114], eax
test eax, eax
je 0x43338c
push str.CreateObject
push eax
call dword [0x44d224]
mov dword [0x45f118], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4333b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x434220
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x402510
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x406597
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Empty
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov bl, 0x43
mov byte [esp + 0x18], bl
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push edi
call sub.MFC42.DLL_CString::operator
push 0x409c74
lea ecx, [esp + 0x18]
call fcn.00406076
lea eax, [esp + 0x14]
push 0x409c70
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x1c]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, 3
je 0x4025ba
inc bl
cmp bl, 0x5a
mov byte [esp + 0x18], bl
jle 0x402568
jmp 0x4025d2
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0x409c6c
lea ecx, [esp + 0x14]
call fcn.00406076
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x402970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x406604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], 0
call sub.MFC42.DLL_CFile::CFile
lea eax, [esp + 0x160]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0x15c]
mov byte [esp + 0x154], 2
cmp ebp, 6
jne 0x4029d6
mov edi, 0xdc
jmp 0x4029f0
cmp ebp, 0xc
jne 0x4029e2
mov edi, 0xe6
jmp 0x4029f0
cmp ebp, 0x12
mov edi, 0x117
je 0x4029f0
mov edi, dword [esp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x409cec
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00406058
lea ecx, [esp + 0x28]
push 0xa
push ecx
push edi
mov byte [esp + 0x160], 3
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push edx
call fcn.00406058
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 4
call fcn.004060be
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402a9a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
push 0x1001
push 0
lea ecx, [esp + 0x16c]
mov edi, eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x402aeb
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0
call fcn.00406088
lea ecx, [esp + 0x160]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x402bb5
mov edx, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x20]
call dword [edx + 0x30]
cmp ebp, 0x12
push 0xe
je 0x402b16
push str.BM8e
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
push 0x1b29
jmp 0x402b29
push str.BM6_r
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
push 0xd27
push edi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CFile::SetStatus
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0
call fcn.00406088
lea ecx, [esp + 0x160]
mov dword [esp + 0x154], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14c
ret
Function at 0x402d80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x406698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_3
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ebp
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::operator_2
push 0
push 0x409c70
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 0xc]
push eax
push 0x409c70
call sub.MFC42.DLL_CString::Find
mov edi, dword [sym.imp.MSVCRT.dll__mkdir]
mov esi, eax
cmp esi, 0xffffffff
je 0x402e49
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call edi
add esp, 4
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x409c70
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
jne 0x402df5
push ebp
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret