joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459f90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b95fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov al, byte [esi + 0xe8]
mov dword [ebp - 0x18], edi
cmp al, 0xff
je 0x459fda
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
mov ebx, 1
test al, al
mov dword [ebp - 0x14], ebx
jne 0x45a111
cmp dword [esi + 0x60], edi
jne 0x45a081
mov eax, dword [esi + 0x114]
mov ecx, dword [esi + 0x68]
cmp ecx, dword [eax + 0x14]
je 0x45a088
lea ecx, [esi + 0x78]
call fcn.0045dc30
cmp eax, 0xffffffff
jne 0x45a02a
push 0x4ea948
lea ecx, [ebp - 0x1c]
call fcn.0049d14a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
jmp 0x45a048
mov ecx, dword [esi + 0x94]
lea eax, [ebp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ebx, 2
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov eax, dword [eax]
push eax
push 0xffffffffffffff9a
call fcn.00460a80
add esp, 8
mov dword [ebp - 4], edi
test bl, 2
je 0x45a06b
and ebx, 0xfffffffd
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], ebx
call fcn.0049d0dc
test bl, 1
mov dword [ebp - 4], 0xffffffff
je 0x45a088
lea ecx, [ebp - 0x1c]
call fcn.0049d0dc
jmp 0x45a088
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [esi + 0x114]
cmp word [eax + 0xe], 8
jne 0x45a09e
lea ecx, [esi + 0x28]
push ecx
call fcn.0048fe40
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x45a111
lea edx, [ebp + 0xc]
mov dword [ebp - 4], 2
push edx
call fcn.0049700e
mov eax, dword [eax]
mov ecx, dword [esi + 0x114]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 0x124], 0
push eax
call fcn.0045ce50
mov ecx, dword [eax]
lea edx, [ebp - 0x134]
push edx
push ebx
mov dword [ebp - 0x130], ecx
call fcn.004a2dec
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x45a10a
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xec]
call fcn.0045f5f0
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe8], 0
call fcn.0045eb50
cmp dword [esi + 0xd8], edi
je 0x45a151
mov esi, dword [esi + 0xd0]
cmp esi, edi
je 0x45a151
mov eax, esi
mov esi, dword [esi]
mov ecx, dword [eax + 8]
push ecx
call fcn.0049c3fa
add esp, 4
cmp esi, edi
jne 0x45a13d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45aa10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4b97cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [esp + 0x138]
push ebx
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.0049d14a
push 0x4dabc0
lea ecx, [esp + 0xc]
mov dword [esp + 0x13c], 0
call fcn.00496b90
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0045a590
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x148], 1
call fcn.0041fea4
add esp, 0x10
or edi, 0xffffffff
test eax, eax
je 0x45ab49
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.00417e7c
push 0
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 2
call fcn.00417f3f
test eax, eax
jne 0x45ab09
lea edx, [esp + 0x30]
push 0x104
push edx
call fcn.0042e53d
add esp, 8
test eax, eax
je 0x45aaf4
push esi
call fcn.0048e051
add esp, 4
test eax, eax
jne 0x45aaf4
lea eax, [esp + 0x30]
push eax
call fcn.0048e051
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 1
call fcn.00417eb9
mov eax, edi
jmp 0x45ab3b
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 1
call fcn.00417eb9
xor eax, eax
jmp 0x45ab3b
lea ecx, [esp + 0x14]
call fcn.0041815f
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x38]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14]
and al, 0xfe
mov byte [esp + 0x13c], 1
inc eax
mov esi, eax
call fcn.00417eb9
mov eax, esi
cmp eax, edi
pop esi
sete al
test al, al
jne 0x45ab49
xor bl, bl
jmp 0x45ab4b
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x138], 0
call fcn.0049d0dc
test bl, bl
jne 0x45abd6
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0045a590
mov eax, dword [eax]
mov byte [esp + 0x140], 3
push eax
call fcn.0045aa10
add esp, 0xc
lea ecx, [esp + 0xc]
test al, al
sete bl
mov byte [esp + 0x138], 0
call fcn.0049d0dc
test bl, bl
jne 0x45abad
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x45abd6
lea ecx, [esp + 8]
mov dword [esp + 0x138], edi
call fcn.0049d0dc
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
add esp, 0x134
ret
lea ecx, [esp + 8]
mov dword [esp + 0x138], edi
call fcn.0049d0dc
mov ecx, dword [esp + 0x130]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret
Function at 0x45b380
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
cmp byte [ebx + 0xe8], 1
je 0x45b392
xor al, al
pop ebx
ret 8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x114]
push ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
push eax
mov eax, dword [esi + 0x14]
push eax
call fcn.004905b0
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jbe 0x45b4dc
push ebp
push edi
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x45b43a
mov ecx, dword [ebx + 0x114]
call fcn.0045d4a0
test al, al
je 0x45b415
mov eax, dword [ebx + 0x64]
xor ebp, ebp
test eax, eax
jbe 0x45b415
mov esi, dword [ebx + 0x70]
mov edi, dword [ebx + 0x1c]
add esi, ebp
and edi, 0xfffd
or edi, 2
mov cl, byte [esi]
push ecx
mov ecx, ebx
call fcn.0045c0e0
mov edx, edi
mov al, byte [esi]
xor edx, 1
imul edx, edi
sar edx, 8
xor al, dl
inc ebp
mov byte [esi], al
mov eax, dword [ebx + 0x64]
cmp ebp, eax
jb 0x45b3e1
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x70]
push 0
push eax
push ecx
lea ecx, [ebx + 0x78]
call fcn.0045e6a0
mov dword [ebx + 0x64], 0
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x38], edx
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x34], eax
mov ecx, dword [ebx + 0x114]
cmp word [ecx + 0xe], 8
jne 0x45b475
mov esi, dword [ebx + 0x3c]
lea eax, [ebx + 0x28]
push 0
push eax
call fcn.00490b70
test eax, eax
je 0x45b466
cmp eax, 2
je 0x45b466
push eax
mov ecx, ebx
call fcn.00459570
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x64]
sub edx, esi
add eax, edx
mov dword [ebx + 0x64], eax
jmp 0x45b4cf
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
jb 0x45b481
mov eax, ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x34]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x28]
mov edi, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x38], ecx
mov ecx, dword [ebx + 0x64]
add ebp, eax
add edi, eax
add esi, eax
add edx, eax
add ecx, eax
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x64], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
ja 0x45b3c2
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x45b4f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe8], 1
je 0x45b500
xor al, al
pop esi
ret
mov eax, dword [esi + 0x114]
push ebx
mov dword [esi + 0x2c], 0
push ebp
cmp word [eax + 0xe], 8
push edi
jne 0x45b5ba
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x45b585
mov ecx, dword [esi + 0x114]
call fcn.0045d4a0
test al, al
je 0x45b560
mov eax, dword [esi + 0x64]
xor ebp, ebp
test eax, eax
jbe 0x45b560
mov edi, dword [esi + 0x70]
mov ecx, esi
add edi, ebp
call fcn.0045c260
mov cl, byte [edi]
mov bl, al
push ecx
mov ecx, esi
call fcn.0045c0e0
mov dl, byte [edi]
xor dl, bl
inc ebp
mov byte [edi], dl
mov eax, dword [esi + 0x64]
cmp ebp, eax
jb 0x45b53a
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x70]
push 0
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.0045e6a0
mov dword [esi + 0x64], 0
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x38], ecx
mov edx, dword [esi + 0x70]
mov dword [esi + 0x34], edx
mov edi, dword [esi + 0x3c]
lea eax, [esi + 0x28]
push 4
push eax
call fcn.00490b70
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x64]
sub ecx, edi
add edx, ecx
test eax, eax
mov dword [esi + 0x64], edx
je 0x45b51b
cmp eax, 1
je 0x45b5ba
cmp eax, 2
je 0x45b5ba
push eax
mov ecx, esi
call fcn.00459570
mov eax, dword [esi + 0x64]
test eax, eax
jbe 0x45b61f
mov ecx, dword [esi + 0x114]
call fcn.0045d4a0
test al, al
je 0x45b60d
mov eax, dword [esi + 0x64]
xor ebx, ebx
test eax, eax
jbe 0x45b60d
mov edi, dword [esi + 0x70]
mov ebp, dword [esi + 0x1c]
add edi, ebx
and ebp, 0xfffd
mov ecx, esi
or ebp, 2
mov dl, byte [edi]
push edx
call fcn.0045c0e0
mov eax, ebp
mov dl, byte [edi]
xor eax, 1
imul eax, ebp
sar eax, 8
xor dl, al
inc ebx
mov byte [edi], dl
mov eax, dword [esi + 0x64]
cmp ebx, eax
jb 0x45b5d9
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x70]
push 0
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0045e6a0
mov eax, dword [esi + 0x114]
pop edi
pop ebp
pop ebx
cmp word [eax + 0xe], 8
jne 0x45b649
lea ecx, [esi + 0x28]
push ecx
call fcn.00490ef0
test eax, eax
je 0x45b649
cmp eax, 2
je 0x45b649
push eax
mov ecx, esi
call fcn.00459570
mov eax, dword [esi + 0x114]
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax + 0x18]
add ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esi + 0x114]
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x1c], ecx
lea ecx, [esi + 0xec]
call fcn.0045f8a0
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe8], 0
call fcn.0045eb50
mov al, 1
pop esi
ret

Function at 0x45ba10
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
push ebx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0045ba40
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [esp + 8]
sete bl
call fcn.0049d0dc
mov al, bl
pop ebx
ret
Function at 0x45c150
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push 0xffffffffffffffff
push 0x4b99b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push 0xc
lea ecx, [esp + 0x1c]
call fcn.0045eaa0
mov eax, dword [esp + 0x18]
push ebp
push 0xc
push eax
lea ecx, [esi + 0x78]
mov dword [esp + 0x34], ebp
call fcn.0045d770
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, 0xfffd
mov edi, dword [esi + 0x14]
or al, 2
mov dl, byte [ecx + ebp]
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, dl
call fcn.004905a0
mov dl, bl
mov ecx, edi
and edx, 0xff
and ecx, 0xff
xor edx, ecx
mov ecx, esi
shr edi, 8
mov eax, dword [eax + edx*4]
mov edx, dword [esi + 0x18]
xor eax, edi
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.0045c3d0
inc ebp
mov dword [esi + 0x1c], eax
cmp ebp, 0xc
jl 0x45c190
mov ecx, dword [esi + 0x114]
call fcn.0045d4b0
mov esi, dword [esi + 0x114]
test al, al
je 0x45c225
xor ecx, ecx
mov cl, byte [esi + 0x11]
cmp cl, bl
jmp 0x45c22d
mov edx, dword [esi + 0x14]
shr edx, 0x18
cmp dl, bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
sete bl
call fcn.0045eb20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x45c400
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x14], 0x12345678
mov dword [esi + 0x18], 0x23456789
mov dword [esi + 0x1c], 0x34567890
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x45c478
mov eax, dword [esi + 0xc]
mov cl, byte [eax + edi]
mov eax, dword [esi + 0x14]
mov byte [esp + 0x10], cl
mov ecx, esi
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.0045c3d0
mov edx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, edx
mov edx, dword [esi + 0x1c]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0045c3d0
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x45c425
push 0
call fcn.004227e1
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul edi, eax
push edi
call fcn.0048e2a5
add esp, 4
xor ebp, ebp
call fcn.0048e2b2
mov ebx, eax
sar ebx, 6
test bl, bl
mov byte [esp + 0x10], bl
jne 0x45c4b0
mov bl, al
mov byte [esp + 0x10], bl
mov edi, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
and edi, 0xfffd
push eax
mov ecx, esi
or edi, 2
call fcn.0045c0e0
mov ecx, edi
mov edx, dword [esp + 0x1c]
xor ecx, 1
imul ecx, edi
mov eax, dword [edx + 4]
sar ecx, 8
xor cl, bl
mov byte [eax + ebp], cl
inc ebp
cmp ebp, 0xa
jl 0x45c498
mov ebp, dword [esp + 0x18]
mov edi, dword [esi + 0x1c]
mov ebx, ebp
and edi, 0xfffd
sar ebx, 0x10
mov byte [esp + 0x10], bl
or edi, 2
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0045c0e0
mov edx, edi
mov eax, dword [esp + 0x1c]
xor edx, 1
imul edx, edi
mov ecx, dword [eax + 4]
mov eax, ebp
sar edx, 8
xor dl, bl
mov byte [ecx + 0xa], dl
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
and edi, 0xfffd
sar eax, 0x18
mov byte [esp + 0x10], al
or edi, 2
call fcn.004905a0
mov dl, byte [esp + 0x10]
mov ecx, ebx
and edx, 0xff
and ecx, 0xff
xor edx, ecx
mov ecx, dword [esi + 0x18]
shr ebx, 8
mov eax, dword [eax + edx*4]
mov ebp, dword [esi + 0x1c]
xor eax, ebx
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, ecx
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
mov dword [esi + 0x18], eax
shr ebx, 0x18
call fcn.004905a0
mov ecx, edi
mov edx, ebp
xor ecx, 1
and ebx, 0xff
imul ecx, edi
and edx, 0xff
pop edi
xor ebx, edx
mov edx, dword [esp + 0x18]
shr ebp, 8
mov eax, dword [eax + ebx*4]
xor eax, ebp
mov dword [esi + 0x1c], eax
mov al, byte [esp + 0xc]
sar ecx, 8
xor cl, al
mov eax, dword [edx + 4]
pop esi
pop ebp
mov byte [eax + 0xb], cl
pop ebx
pop ecx
ret 8
Function at 0x45ccb0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.0045eaa0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.0045d770
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.0045eb50
mov edx, dword [esi + 4]
mov ecx, 0x4e0e08
cmp edx, dword [ecx]
je 0x45cd9c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0045eb20
xor al, al
jmp 0x45ce34
mov ecx, edi
call fcn.0045dc30
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.0045eb80
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x3c]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
test bp, bp
je 0x45cdea
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.0045eb80
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x30]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x45ce11
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.0045eb80
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, edi
call fcn.0045dc30
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.0045eb20
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x45d210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push 0
mov esi, dword [ebx + 0x40]
mov edi, dword [ebx + 0x34]
mov eax, edi
mov ebp, esi
and eax, 0xffff
and ebp, 0xffff
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
lea eax, [eax + ebp + 0x1e]
push eax
mov dword [esp + 0x1c], eax
call fcn.0045eaa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4e0e0c]
push 1
mov dword [esp + 0x30], 0
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dx, word [ebx + 0xa]
mov word [eax + 4], dx
mov edx, dword [esp + 0x20]
mov cx, word [ebx + 0xc]
mov word [edx + 6], cx
mov ecx, dword [esp + 0x20]
mov ax, word [ebx + 0xe]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x20]
mov dx, word [ebx + 0x10]
mov word [eax + 0xa], dx
mov edx, dword [esp + 0x20]
mov cx, word [ebx + 0x12]
mov word [edx + 0xc], cx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0xe], eax
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x12], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x1c]
mov dword [edx + 0x16], ecx
mov eax, dword [esp + 0x20]
mov word [eax + 0x1a], si
mov ecx, dword [esp + 0x20]
mov word [ecx + 0x1c], di
mov edx, dword [esp + 0x20]
mov esi, dword [ebx + 0x3c]
mov ecx, ebp
mov eax, ecx
lea edi, [edx + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov esi, dword [ebx + 0x30]
mov eax, ecx
lea edi, [edx + ebp + 0x1e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
push edi
push ecx
mov ecx, esi
call fcn.0045e6a0
lea ecx, [ebx + 0x2c]
call fcn.0045eb50
mov ecx, esi
call fcn.0045dc30
mov ecx, esi
mov word [ebx + 0x20], ax
call fcn.0045e9b0
sub eax, edi
lea ecx, [esp + 0x18]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.0045eb20
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x45dd70
Capabilities:
Get disk size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9c78
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x20
test al, al
push ebx
push ebp
push esi
mov esi, ecx
jne 0x45dedf
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x48]
add edx, eax
test eax, eax
mov dword [esi + 0x48], edx
je 0x45ddbc
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x40]
push eax
push edx
mov ebx, dword [ecx]
call dword [ebx + 0x38]
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x24]
or ebp, 0xffffffff
cmp eax, 1
jne 0x45de45
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0045ba40
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call fcn.0049d0dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebp
call fcn.0049d0dc
test bl, bl
je 0x45de2c
xor eax, eax
jmp 0x45de42
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
imul eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov ebx, 2
cmp eax, ebx
jne 0x45ded0
mov al, byte [esi + 0x4c]
test al, al
je 0x45ded0
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0
lea eax, [esp + 0x40]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x40], 1
call fcn.0045df20
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x34], bl
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov eax, dword [esp + 0x3c]
push eax
call fcn.0045ac00
add esp, 4
test eax, eax
je 0x45dea4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004a1f5d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.004a1f3b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.0049d0dc
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], ebp
call fcn.0049d0dc
jmp 0x45deef
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 4], ebp
je 0x45deef
mov edx, dword [ecx]
call dword [edx + 0x4c]
jmp 0x45deef
mov ecx, dword [esi + 0x1c]
or ebp, 0xffffffff
cmp dword [ecx + 4], ebp
je 0x45deef
mov eax, dword [ecx]
call dword [eax + 0x4c]
lea ecx, [esi + 0x3c]
call fcn.0045eb50
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x50], ebp
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x45df20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9cee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x45df66
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call fcn.0049d14a
test bl, 1
mov dword [esp + 0x28], 3
je 0x45df8d
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call fcn.0049d0dc
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0045a590
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.0045a6b0
add esp, 0x10
mov ecx, dword [0x4dbb94]
mov dword [esp + 0x38], ecx
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x45dfda
push 0x4e0e1c
lea ecx, [esp + 0x3c]
call fcn.0049d265
jmp 0x45dff0
mov edx, dword [esi + 0x50]
lea eax, [esp + 0x38]
push edx
push 0x4e0e14
push eax
call fcn.00496a65
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0049d30b
push 0x4daf90
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x34], 7
call fcn.0049d371
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
push eax
push esi
mov byte [esp + 0x34], 8
call fcn.0049d30b
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call fcn.0049d0dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.0049d0dc
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.0049d0dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0049d0dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0049d0dc
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0049d0dc
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc