joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410225
Capabilities:
Parse pe header

Disassembly:
add byte [edx + 3], ch
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [0x4a6410]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410244
xor eax, eax
jmp 0x4102b3
push esi
mov esi, dword [0x4a64e8]
push edi
lea eax, [ebp - 4]
push eax
push 0x40
lea eax, [ebp - 0x48]
push eax
push ebx
mov dword [ebp - 8], edi
call esi
cmp dword [ebp - 4], 0x40
jne 0x4102a8
cmp word [ebp - 0x48], 0x5a4d
jne 0x4102a8
push edi
push edi
push dword [ebp - 0xc]
push ebx
call dword [0x4a61a4]
cmp eax, 0xffffffff
je 0x4102a8
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x140]
push eax
push ebx
call esi

Function at 0x410541
Capabilities:
Get disk information

Disassembly:
movsx ax, byte [ebp - 2]
add eax, 0x41
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call dword [0x4a61ec]
cmp eax, 5
jne 0x4105a2
movsx ebx, byte [ebp - 1]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x218]
push str.HKLMSYSTEMCurrentControlSetControlSession_ManagerEnvironmentCDROM_u_s
push eax
call esi
add esp, 0x10
push 0
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00466074
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x218]
push str.CDROM_u
push eax
call esi
add esp, 0x10
inc byte [ebp - 1]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0044cff6
inc byte [ebp - 2]
cmp byte [ebp - 2], 0x1a
jl 0x410532
invalid
cmp byte [ebp - 1], 0
pop edi

Function at 0x412b79
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x412b96
and byte [0x4c1bf0], 0xfb
push 0
push 4
push str.SeDebugPrivilege
call fcn.004119f4
add esp, 0xc
ret

Function at 0x413b53
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0x28], 0
test ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], esi
je 0x413b74
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
jmp 0x413b78
and dword [ebp - 0x1c], 0
test ecx, ecx
je 0x413b81
mov eax, dword [ecx + 4]
jmp 0x413b83
xor eax, eax
mov ebx, eax
movzx eax, ax
shr ebx, 0x10
test ecx, ecx
mov dword [ebp - 8], eax
je 0x413b9a
add ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x413ba0
lea eax, [ebp - 0x28]
mov dword [ebp + 0x10], eax
call dword [0x4a64fc]
mov edi, eax
mov al, bl
add edi, esi
and al, 2
cmp esi, 0x4e20
mov dword [ebp - 0x20], edi
mov byte [ebp + 0xb], al
jl 0x413bc4
push 1
call fcn.0044cad1
pop ecx
cmp byte [ebp + 0xb], 0
je 0x413cec
mov dword [ebp - 0x18], 0x99c651
and ebx, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 0
je 0x413c7d
push 0x18
lea ecx, [ebp - 0x10]
call fcn.00450c62
push dword [ebp - 0x10]
call fcn.0044ade2
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov ebx, dword [0x4a61b0]
and dword [esi], 0
mov dword [esp], 0x4c0bcc
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], edi
mov edi, 0x10000
push edi
push esi
mov dword [esi + 8], eax
movsx eax, byte [ebp + 0xb]
push 0x43cffb
test esi, esi
jg 0x413bd5
cmp dword [ebp + 0xc], 0
jg 0x413bd5
push 0
call dword [0x4a6484]
xor eax, eax
jmp 0x413e1d
Function at 0x413c2c
Capabilities:
Create thread

Disassembly:
push edi
or eax, 5
push 0
mov dword [esi + 0x10], eax
call ebx
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x413c5d
push eax
call dword [0x4a6484]
push 0x4c0bcc
push edi
push esi
push 0x43cffb
push edi
push 0
call ebx
test eax, eax
mov dword [ebp - 0xc], eax
je 0x413c72
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x10]
call fcn.0044ae90
mov edi, dword [ebp - 0x20]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x413c8d
call dword [0x4a6238]
push 0x64
pop ebx
mov esi, 0x3e8
cmp byte [ebp + 0xb], 0
jne 0x413cb6
cmp dword [ebp + 0xc], 0
jg 0x413cb6
call dword [0x4a64fc]
mov ecx, edi
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x18], ecx
jle 0x413df3
cmp byte [0x4bf2c0], 0
jle 0x413df3
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x413dbe
cmp dword [ebp - 0x14], 0
je 0x413d0d
cmp eax, ebx
jle 0x413cda
mov eax, ebx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [0x4a6234]
jmp 0x413d2f
cmp eax, esi
jle 0x413d15
mov eax, esi
jmp 0x413d1b
cmp eax, ebx
jle 0x413d1b
mov eax, ebx
push 0x4ff
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [0x4a6744]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x413d49
cmp dword [ebp - 8], 0
jne 0x413de3
push 1
call dword [0x4a6484]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x413dbe
cmp dword [ebp - 0xc], 0
je 0x413e1a
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [0x4a6230]
jmp 0x413e0b
cmp byte [ebp + 0xb], 0
jne 0x413d8a
cmp dword [ebp + 0xc], 0
jg 0x413d8a
call dword [0x4a64fc]
mov ecx, edi
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x18], ecx
jle 0x413dcd
push 3
push 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [0x4a67b4]
test eax, eax
je 0x413dc9
lea eax, [ebp - 0x44]
push eax
call dword [0x4a67b8]
lea eax, [ebp - 0x44]
push eax
call dword [0x4a67bc]
cmp dword [ebp + 0xc], 0
jle 0x413dbe
dec dword [ebp + 0xc]
cmp byte [0x4bf2c0], 0
jg 0x413d6d
jmp 0x413dcd
and dword [ebp + 0xc], 0
cmp dword [ebp - 4], 0x102
jne 0x413c95
and dword [ebp + 0xc], 0
jmp 0x413c95
call dword [0x4a6498]
test eax, eax
jne 0x413dee
inc eax
mov dword [ebp - 4], eax
jmp 0x413e0b
mov eax, dword [ebp - 8]
test eax, eax
jne 0x413dff
and dword [ebp - 4], eax
jmp 0x413e0b
cmp dword [ebp - 4], eax
jne 0x413e0b
mov dword [ebp - 4], 0x102
cmp dword [ebp - 0xc], 0
je 0x413e1a
push dword [ebp - 0xc]
call dword [0x4a64ec]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4153be
Capabilities:
Delete file

Disassembly:
je 0x4153ce
push dword [ebp - 0x54]
call dword [0x4a623c]
jmp 0x41550f
inc ecx
add dword [eax], eax
invalid
cmp eax, 3
jne 0x415493
invalid
cmp byte [ebp - 3], 0
je 0x415488
xor eax, eax
push eax
mov ebx, 0x6000080
push ebx
push 3
push eax
push 7
mov edi, 0x80000000
push edi
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.004199d1
mov esi, dword [0x4a6498]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x14], 0
jne 0x415438
cmp eax, 2
jne 0x415480
lea ecx, [ebp + 0xc]
call fcn.00417377
cmp byte [ebp - 0x20], 0
je 0x415430
push dword [ebp - 0x24]
call fcn.00418519
pop ecx
push 2
pop esi
jmp 0x4155a0
lea ecx, [ebp + 0xc]
call fcn.00417396
push 0
push ebx
push 3
push 0
push 7
push edi
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
call fcn.00419a23
mov edi, eax
call esi
test edi, edi
jne 0x415480
cmp eax, 2
jne 0x415480
lea ecx, [ebp + 0xc]
call fcn.004173c0
cmp byte [ebp - 0x20], 0
je 0x415479
push dword [ebp - 0x24]
call fcn.00418562
pop ecx
xor esi, esi
jmp 0x4155a0
lea ecx, [ebp + 0xc]
call fcn.004173de
push dword [ebp - 0x54]
call dword [0x4a61d8]
jmp 0x41550f
cmp eax, 2
jne 0x4154fe
cmp byte [ebp - 3], 0
je 0x4154ef
push str.__dd__bs8M__
lea ecx, [ebp + 0xc]
call fcn.0045ad3e
push dword [ebp - 0x50]
lea ecx, [ebp + 0xc]
call fcn.0045269c
push str.__0__
lea ecx, [ebp + 0xc]
call fcn.004526a9
push dword [ebp - 0x54]
lea ecx, [ebp + 0xc]
call fcn.004526b4
push 0x4a6c24
lea ecx, [ebp + 0xc]
call fcn.004526c1
mov ecx, dword [ebp - 0x1c]
in al, 0x56
push dword [ebp + 0xc]
call fcn.0047d6cc
lea ecx, [ebp + 0xc]
jmp 0x415572
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [0x4a6244]
jmp 0x41550f
cmp eax, 1
jne 0x415518
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [0x4a6240]
push eax
call 0x447847
pop ecx
jmp 0x41558f
cmp eax, 4
jne 0x41557b
push dword [ebp - 0x54]
lea ecx, [ebp - 0x10]
call fcn.0045adbb
push dword [ebp - 0x10]
cmp dword [ebp - 0xc], 2
jl 0x415585
or byte [ebp - 0x4c], 1
lea eax, [ebp - 0x5c]
push eax
call dword [0x4a6580]
mov esi, eax
Function at 0x4161ad
Capabilities:
Acquire debug privileges

Disassembly:
add eax, dword [eax]
mov ecx, dword [ebp + 0x4c]
cmp esi, ebx
setne byte [ebp + 0x63]
cmp esi, ebx
mov dword [ebp + 0x38], ecx
je 0x4161b9
cmp dword [ebp + 0x34], ebx
je 0x4161b9
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x4161b9
mov dword [ecx], eax
mov dword [ebp + 0x54], 1
mov byte [ebp + 0x63], 2
cmp dword [0x4c0f24], ebx
jne 0x4161dd
push str.NtQuerySystemInformation
push str.ntdll
call dword [0x4a6424]
push eax
call dword [0x4a6464]
mov dword [0x4c0f24], eax
push 4
push 2
push str.SeDebugPrivilege
call fcn.004119f4
add esp, 0xc
push 0x46e7
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x58], ebx
call fcn.00453396
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x3c], eax
add eax, 0xa0
mov dword [ebp + 0x48], eax
add eax, 0x64
lea edi, [eax + 0x8c]
push ebx
push 0x24
mov dword [ebp + 0x50], edi
add edi, 0x80a
lea eax, [edi + 0x414]
push edi
mov word [eax], bx
push ebx
mov dword [ebp + 0x30], eax
mov word [edi], bx
call dword [0x4a6564]
mov esi, dword [0x4a6508]
push edi
call esi
cmp dword [ebp + 0x74], ebx
lea eax, [edi + eax*2]
mov dword [ebp + 8], eax
je 0x4162d7
push 7
pop ecx
xor eax, eax
cmp byte [0x4c0be5], 1
push 0x4d
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x2b8]
rep stosd dword es:[edi], eax
push 0x4e
pop ecx
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], ebx
mov edi, 0x138
jne 0x416292
mov edi, 0x270
push ebx
push 0x20
lea eax, [ebp - 0x34]
push eax
push 3
call dword [0x4c0f24]
push ebx
push edi
lea eax, [ebp - 0x2bc]
push eax
push 2
call dword [0x4c0f24]
push dword [ebp - 0x2b8]
push dword [ebp - 0x2bc]
push dword [ebp + 0x3c]
call fcn.0049cfa4
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 0x48]
call fcn.0049cfb2
add esp, 0x18
cmp dword [ebp + 0x70], ebx
jne 0x4163b2
mov eax, dword [ebp + 0x6c]
cmp word [eax], bx
jne 0x4163b2
mov edi, dword [ebp + 0x74]
push dword [ebp + 0x3c]
mov ecx, edi
call fcn.0045bbf4
push 0x4a9c9c
mov ecx, edi
call fcn.004534eb
push dword [ebp + 0x48]
mov ecx, edi
call fcn.004534f5
cmp byte [0x4c0c24], bl
ja 0x41631c
call fcn.00419fb5
movzx eax, byte [0x4c0c24]
push eax
lea eax, [ebp - 0x334]
push str._t_d_t
push eax
call dword [0x4a67d8]
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
mov ecx, edi
call 0x45352d
push dword [0x4c0cbc]
lea eax, [ebp - 0x334]
push dword [0x4c0cb8]
push eax
call fcn.0049d03d
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
mov ecx, edi
call fcn.00453556
fild qword [0x4c0cb8]
lea ecx, [ebp + 0x5c]
fdivr qword [0x4a9c88]
fstp qword [ebp + 0x24]
call fcn.00453501
fld qword [ebp + 0x24]
push str._t_lf
push ecx
push ecx
lea eax, [ebp + 0x5c]
fstp qword [esp]
push eax
call fcn.0049cfeb
add esp, 0x10
push dword [ebp + 0x5c]
mov ecx, edi
call fcn.00453590
lea ecx, [ebp + 0x5c]
call fcn.0044d5c8
push dword [ebp + 0x6c]
call esi
push dword [ebp + 0x7c]
mov dword [ebp + 0x5c], eax
push 2
call 0x4a85a0
cmp eax, 0xffffffff
mov dword [ebp + 0x2c], eax
jne 0x4163d1
xor eax, eax
mov dword [ebp + 0x2c], eax
cmp eax, 0xffffffff
mov dword [ebp + 4], eax
je 0x41684e
Function at 0x4172a8
Capabilities:
Shutdown system

Disassembly:
or eax, 0xc4830001
and byte [eax + 0x2c], ch
add dword [eax], eax
add byte [ebp + 0x70e8f04d], cl
rol byte [ebx], 1
add byte [edi], cl
mov dh, 5
add eax, dword [eax + 0x4c]
add byte [eax + 0x56], dl

Function at 0x4172c4
Capabilities:
Shutdown system

Disassembly:
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
push str._nSHUTDOWN__0x_X__0x_X___CMD___Main0x_X
push dword [ebp - 0x10]
call dword [0x4a67a0]
push dword [ebp - 0x10]
call fcn.00424e8d
add esp, 0x18
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0x4a69d4
push ebx
call dword [0x4a6070]
lea ecx, [ebp - 0x10]
call fcn.0044e513
xor eax, eax
jmp 0x417020
Function at 0x42512a
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ebp - 1], 0
je 0x425181
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
call fcn.00465fdf
push dword [ebp - 0x40]
call fcn.0045c340
mov ecx, dword [ebp + 0x1c]
movsx eax, byte [ebp - 1]
mov esi, edi
shl esi, 0x10
and ecx, 0xffff
inc dword [eax]
add byte [ebx], cl
int1
or esi, eax
or eax, dword [ebp + 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
call fcn.00437e1a
jmp 0x4251b4
mov dx, word [ecx]
cmp dx, 0xfeff
je 0x425192
cmp dx, 0xfffe
jne 0x425194
mov edi, eax
inc esi
shr esi, 1
dec esi
js 0x4251a5
lea eax, [esi + 1]
xor word [ecx], di
inc ecx
inc ecx
dec eax
jne 0x42519d
mov eax, dword [ebp + 0x1c]
mov esi, edi
shl esi, 0x10
and eax, 0xffff
or esi, eax
or esi, 3
lea eax, [ebp - 0x4c]
push esi
push eax
call 0x4ae0d2
push edi
push dword [ebp - 0x4c]
call fcn.00435579
mov ebx, eax
movzx eax, word [ebp - 0x10]
add esp, 0x10
cmp edi, eax
je 0x4251ed
xor edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebx - 1]
test eax, eax
jl 0x4251ed
inc eax
xor word [ecx], di
inc ecx
inc ecx
dec eax
jne 0x4251e5
mov edi, dword [ebp + 0x18]
mov ax, word [edi + 0x4c]
mov word [ebp - 0x20], ax
lea eax, [ebx + ebx + 0x22]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
call fcn.00432821
mov eax, dword [ebp - 0x4c]
lea eax, [eax + ebx*2]
and word [eax + 0x20], 0
push 0xf
pop ecx
mov dx, word [ebp - 0x10]
mov word [eax + ecx*2], dx
dec ecx
jns 0x425219
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x2c]
mov esi, edi
mov dword [ebp - 0x10], eax
call fcn.0043d5a9
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebp - 0x10]
cmp word [ecx], ax
jne 0x425247
xor esi, esi
jmp 0x42531c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x42525d
push eax
push ecx
call fcn.00435606
pop ecx
pop ecx
mov esi, eax
jmp 0x42525f
xor esi, esi
mov eax, dword [ebp - 0x10]
mov ax, word [eax + ebx*2 - 2]
and dword [ebp + 0x1c], 0
cmp ax, word [edi + 0x54]
je 0x425278
mov dword [ebp + 0x1c], 1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
lea edi, [eax + ebx]
add edi, esi
lea eax, [edi + 0x10]
push eax
call fcn.004328d3
cmp dword [ebp + 0xc], esi
jle 0x425294
Function at 0x428fc7
Capabilities:
Create thread

Disassembly:
lea eax, [ebp - 4]
push eax
call fcn.00444e2e
lea eax, [ebp - 4]
push eax
call fcn.00444e37
mov eax, dword [ebp - 4]
cmp byte [eax], 0x22
pop ecx
pop ecx
jne 0x428e90
inc eax
mov dword [ebp - 0x18], eax
jmp 0x428e9b
cmp byte [eax], 0x22
je 0x428ea4
inc eax
cmp byte [eax], bl
mov dword [ebp - 8], eax
jne 0x428e95
jmp 0x428eb1
mov byte [eax], bl
jmp 0x428ead
cmp byte [eax], 0xa
je 0x428eb7
inc eax
mov dword [ebp - 8], eax
cmp byte [eax], bl
jne 0x428ea8
jmp 0x428ebd
mov byte [eax], bl
inc eax
mov dword [ebp - 8], eax
push str._INFFILE_
push eax
call dword [0x4a65a4]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x428ede
mov byte [eax], bl
inc eax
mov dword [ebp - 4], eax
je 0x428ede
mov byte [eax], bl
inc eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
push 0x4c0bcc
mov eax, 0x10000
push eax
lea ecx, [ebp + esi - 0x68]
push ecx
push 0x428cce
push eax
push ebx
mov dword [ebp + esi - 0x58], 1
call dword [0x4a61b0]
mov edi, dword [ebp - 0x14]
mov dword [ebp + esi - 0x5c], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x429000
mov word [eax], bx
lea ecx, [ebp - 0xc]
call fcn.0046021e
add eax, dword [eax]
cmp dword [ebp - 4], ebx
jne 0x428e73
lea edi, [ebp - 0x5c]
mov dword [ebp + 8], 3
mov eax, dword [edi]
cmp eax, ebx
je 0x429036
push 0xffffffffffffffff
push eax
call dword [0x4a63f0]
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x429034
mov dword [esi + 0x10], eax
mov dword [edi], ebx
invalid
invalid

Function at 0x4290ad
Capabilities:
Get disk information

Disassembly:
add byte [ebp + 0x447589c0], al
je 0x4290b8
mov dword [ebp + 0x44], ebx
lea eax, [edi + 0x532]
Function at 0x42f20d
Capabilities:
Delete file

Disassembly:
jne 0x42f243
mov dword [ebp + 0x30], eax
push eax
call fcn.0043f5c7
test eax, eax
pop ecx
pop ecx
jle 0x42f330
add byte [eax], al
add eax, 2
push eax
push 0
push dword [ebp + 0x54]
call fcn.0043f653
movzx eax, word [ebp + 0x60]
and dword [ebp - 0x28], 0
and edi, 2
or edi, eax
or edi, dword [ebp + 0x60]
add esp, 0xc
cmp dword [ebp + 0x74], 0
je 0x42f252
push dword [ebp + 0x6c]
call dword [0x4a61d8]
cmp dword [ebp + 0x30], 0
jne 0x42f260
xor esi, esi
inc esi
jmp 0x42f332
cmp byte [0x4bf2a4], 0
jge 0x42f270
mov byte [0x4bf2a4], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x54]
push dword [ebp + 0x78]
push eax
push dword [ebp + 0x48]
call fcn.004539b1
sub eax, dword [ebp + 0x54]
sar eax, 1
push eax
push dword [ebp + 0x44]
lea eax, [ebp + 0x54]
push dword [ebp + 0x7c]
push eax
push dword [ebp + 0x48]
call fcn.00447a05
add esp, 0x24
push eax
mov dword [ebp + 0x74], eax
call dword [0x4a6508]
cmp ebx, 9
mov ax, word [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov word [ebp + 0x6c], ax
jne 0x42f2d7
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x54]
push eax
mov dword [esi + 0x4c], ecx
call fcn.0044113d
mov ax, word [ebp - 0x40]
pop ecx
pop ecx
mov word [esi + 0x2c], ax
mov ecx, dword [ebp + 0x54]
and dword [ebp + 0x54], 0
test bl, 1
je 0x42f2e7
mov eax, esi
jmp fcn.0042f2f2
mov eax, ebx
neg eax
sbb eax, eax
lea edx, [ebp - 0x6c]
and eax, edx

Function at 0x42f9c0
Capabilities:
Get disk information

Disassembly:
and cl, byte [edi]
test dword [ebx - 0x3a000000], edi
inc ebp
pop edx
add dword [esi - 0x39], esp
pop es
and byte [eax], al

Function at 0x42f9fa
Capabilities:
Get disk information

Disassembly:
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
Function at 0x434dc3
Capabilities:
Write file on windows

Disassembly:
cmp dword [ebp + 0x48], esi
pop ecx
pop ecx
jge 0x434dcd
mov dword [ebp + 0x48], esi
mov eax, dword [ebp + 0x60]
cmp word [eax], si
je 0x434dd9
add dword [ebp + 0x60], 2
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x44], esi
call fcn.00439395
pop ecx
pop ecx
lea ecx, [ebp + 0x4c]
call fcn.00471f70
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0x50], esi
cmp word [eax], si
je 0x434e2b
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0047d786
mov eax, dword [ebp + 0x60]
inc ebp
pushal
cmp word [eax], si
pop ecx
pop ecx
je 0x434e2b
mov ecx, dword [ebp + 0x6c]
push 0x2c
push ebx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0046792e
mov ebx, 0x4c1b94
push ebx
call dword [0x4a64f0]
mov ecx, dword [ebp + 0x6c]
push esi
push 0xffffffffffffffff
push esi
push dword [ebp + 0x5c]
jne fcn.00434e9d
call fcn.00443607
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x434e74
push ebx
call dword [0x4a64f4]
mov ecx, dword [eax + 0x10]
xor edi, edi
cmp dword [ebp + 0x74], esi
jge 0x434e81
mov dword [ebp + 0x74], ecx
mov eax, dword [ebp + 0x48]
cdq
mov esi, ecx
sub esi, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x10], esi
mov esi, edi
sbb esi, edx
cdq
cmp edx, esi
jl 0x434ea7
jg 0x434e9f
cmp eax, dword [ebp + 0x10]
Function at 0x434e9d
Capabilities:
Write file on windows

Disassembly:
lea ecx, [ebp + 0x4c]
call fcn.0046c072
lea ecx, [ebp + 0x58]
call fcn.0046c07a
lea ecx, [ebp + 0x5c]
call fcn.0046c082
lea ecx, [ebp + 0x54]
jmp fcn.00435107
jbe 0x434ea7
mov eax, ecx
sub eax, dword [ebp + 0x48]
mov dword [ebp + 0x74], eax
xor esi, esi
cmp dword [ebp + 0x74], esi
jge 0x434eb1
mov dword [ebp + 0x74], esi
add ecx, 2
push esi
push 2
adc edi, esi
push edi
push ecx
mov dword [ebp + 0x10], ecx
call 0x4c711f
push eax
lea ecx, [ebp + 0x58]
call fcn.0047208b
mov eax, dword [ebp + 0x58]
push dword [ebp + 0x10]
mov word [eax], si
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0x48]
push eax
push dword [ebp + 0x58]
call fcn.00446b99
add esp, 0xc
push ebx
call dword [0x4a64f4]
mov ebx, dword [ebp + 0x38]
cmp dword [ebx + 0x48], esi
jge 0x434f29
push esi
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x74]
mov dword [ebp + 0x7c], esi
push dword [ebp + 0x58]
push dword [ebx + 0x40]
call dword [0x4a6194]
cmp eax, esi
mov edi, dword [ebp + 0x7c]
jne 0x434f1a
mov edi, dword [ebp + 0x34]
push eax
call fcn.00467252
pop ecx
mov dword [ebp + 0x7c], eax
jmp 0x434fb8
xor eax, eax
mov word [ebp + 0x18], si
lea edi, [ebp + 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x4c]
cmp word [eax], si
je 0x434f91
mov ax, word [ebx + 0x44]
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x7c]
call fcn.00436f0c
push esi
lea ecx, [ebp + 0x18]
push ecx
push dword [eax]
call fcn.00467ae6
add esp, 0xc
lea ecx, [ebp + 0x7c]
call fcn.0046c180
push dword [ebp + 0x50]
call dword [0x4c11dc]
push 0x10
mov word [ebp + 0x1a], ax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x74]
push dword [ebp + 0x58]
push dword [ebx + 0x40]
call dword [0x4c11b4]
jmp 0x434fa3
push dword [ebp + 0x44]
push dword [ebp + 0x74]
push dword [ebp + 0x58]
push dword [ebx + 0x40]
call dword [0x4c11a8]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434fb5
call dword [0x4c11ec]
jmp 0x434f21
mov dword [ebp + 0x7c], esi
push dword [ebp + 0x54]
push edi
push dword [ebp + 0x6c]
call fcn.00474626
add esp, 0xc
jmp 0x434e54
Function at 0x436b4d
Capabilities:
Get file size

Disassembly:
add dword [eax], eax
add byte [ecx - 0x7699b3bb], cl
jo 0x436b59
mov eax, dword [ebp + 0x50]
push eax
add eax, 0x41a
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push esi
push dword [ebp + 0x50]
call dword [0x4a62b4]
push 0x209
push edi
push dword [ebp + 0x50]
mov dword [ebp + 0x44], eax
mov word [edi], si
call dword [0x4a626c]
call dword [0x4a6498]
cmp dword [ebp + 0x44], esi
mov eax, dword [ebp + 0x4c]
mov word [eax], si
jne 0x436bfd
jmp 0x436b9c
mov eax, dword [ebp + 0x4c]
cmp eax, dword [ebp - 0x20]
jbe 0x436fd1
push 0x5c
push esi
push dword [ebp + 0x50]
call dword [0x4a65bc]
push 0x104
mov dword [ebp + 0x4c], eax
mov word [eax + 2], si
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push esi
push dword [ebp + 0x50]
call dword [0x4a62b4]
push 0x209
push edi
push dword [ebp + 0x50]
mov dword [ebp + 0x44], eax
mov word [edi], si
call dword [0x4a626c]
call dword [0x4a6498]
cmp dword [ebp + 0x44], esi
mov eax, dword [ebp + 0x4c]
mov word [eax], si
je 0x436b99
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
push 0x4ac778
mov dword [ebp + 0x48], 1
call dword [0x4a64dc]
test eax, eax
jne 0x436c28
mov dword [ebp + 0x40], 1
jmp 0x436cad
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
push str.FAT32
call dword [0x4a64dc]
test eax, eax
jne 0x436c49
mov dword [ebp + 0x40], 2
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
push str.exFAT
call dword [0x4a64e0]
test eax, eax
jne 0x436c6a
mov dword [ebp + 0x40], 3
jmp 0x436cad
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
push 0x4ac754
call dword [0x4a64dc]
test eax, eax
jne 0x436c8e
mov dword [ebp + 0x40], 4
mov dword [ebp + 0x48], esi
jmp 0x436cad
mov eax, dword [ebp + 0x50]
add eax, 0x41a
push eax
push str.CDFS
call dword [0x4a64e0]
test eax, eax
jne 0x436cad
mov dword [ebp + 0x40], 5