joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439fe0
Capabilities:
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54a2ea
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
push eax
push 0xe0
call fcn.00508545
lea edi, [esi + 0x80]
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.CPwdVerification_1.0
call fcn.00502fcc
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0xd4]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00502fcc
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x128]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00502fcc
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x17c]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.00502fcc
mov dword [edi], vtable.CStatic.0
push 0
push 0
push 1
lea ecx, [esi + 0x1d0]
mov byte [esp + 0x28], 4
call fcn.00434770
push 0
push 0
push 1
lea ecx, [esi + 0x27c]
mov byte [esp + 0x28], 5
call fcn.00434770
lea edi, [esi + 0x32c]
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.00502fcc
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x384]
push edi
mov byte [esp + 0x20], 7
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
jne 0x43a0e1
xor ecx, ecx
mov word [edi], cx
push 1
push str.00000409
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [edi + 4]
push eax
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], 0
call fcn.005018ce
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov byte [eax], 0
add esp, 4
mov dword [esi + 0x7c], edi
mov dword [esi + 0x380], ecx
call fcn.0050bde7
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [eax + 0xc]
push 0
push 0xc
call ebp
push eax
push 0xb
call ebp
push eax
push 1
push 0x80
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x328], eax
mov dword [esi + 0x398], edx
mov dword [esi + 0x39c], 0
test edi, edi
je 0x43a1a8
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a170
sub eax, edx
sar eax, 1
add eax, 2
push 2
push eax
call fcn.00525178
add esp, 8
mov dword [esi + 0x39c], eax
mov ecx, edi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x43a197
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0x18
Function at 0x43c330
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x35c]
xor ebx, ebx
push edi
mov edi, 1
cmp eax, 0x400
jne 0x43c351
lea edi, [ebx + 2]
cmp eax, 0x800
jne 0x43c35f
mov edi, 4
xor ebx, ebx
cmp eax, 0x1000
jne 0x43c36d
mov edi, 8
xor ebx, ebx
cmp dword [ebp + 0x3b10], 0
je 0x43c384
pop edi
pop ebp
mov eax, 0x40
xor edx, edx
pop ebx
add esp, 0xc
ret
cmp dword [ebp + 0x3b0c], 0
je 0x43c56c
push esi
push 0x4000
call fcn.00401bb0
mov esi, eax
add esp, 4
test esi, esi
je 0x43c449
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x35c]
mov edx, dword [ebp + 0x734]
mov dword [esp + 0x10], eax
xor eax, eax
push eax
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x4000
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 8]
push ecx
push eax
call fcn.00413640
add esp, 0x18
test eax, eax
je 0x43c440
lea ebx, [ebx]
add dword [esp + 0x20], 0x4000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0x1f4
jae 0x43c45f
add dword [esp + 0x14], 0x4000
mov edx, dword [ebp + 0x35c]
mov eax, dword [ebp + 0x734]
adc dword [esp + 0x18], 0
push 0
push esi
push 0x4000
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.00413640
add esp, 0x18
test eax, eax
jne 0x43c3f0
push esi
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x4000
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x20]
lea eax, [edx + edx]
shr eax, 0xa
push esi
cmp eax, 0x64
ja 0x43c48a
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x40
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0xc8
ja 0x43c4af
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x80
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x190
ja 0x43c4d4
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x100
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x320
ja 0x43c4f9
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x200
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x640
ja 0x43c51e
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x400
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0xc80
ja 0x43c543
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x800
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x1900
ja 0x43c441
call fcn.00401bc0
add esp, 4
push ebx
push edi
push 0
push 0x1000
call fcn.00526b90
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
push edi
push 0
push 0x4000
call fcn.00526b90
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4417a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x5b2904], 0
jne 0x4417ba
cmp dword [0x5b2908], 0
mov eax, 0x20019
je 0x4417bf
mov eax, 0x20119
lea ecx, [esp]
push ecx
push eax
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441816
mov edx, dword [esp + 0x14]
lea eax, [edx + edx]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [str.RescuePath]
push edx
mov edx, dword [esp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44181c
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0xc
ret

Function at 0x4418a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
cmp dword [0x5b2904], 0
push esi
jne 0x4418bb
cmp dword [0x5b2908], 0
mov esi, 0xf003f
je 0x4418c0
mov esi, 0xf013f
lea eax, [esp + 4]
push eax
push esi
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x441906
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push esi
push 0
push 0x58cf10
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44194a
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441910
mov ecx, dword [str.RescuePath]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [esp + 0xc]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x441951
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x441a80
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov ecx, eax
push edi
mov esi, ecx
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441a90
mov ebx, dword [esp + 0x18]
sub ecx, esi
mov edi, ebx
mov edx, ecx
add edi, 0xfffffffe
jmp 0x441ab0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x441ab0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x441ad0
mov ebp, dword [esp + 0x14]
mov edi, ebp
sub eax, ecx
mov esi, ecx
add edi, 0xfffffffe
jmp 0x441af0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x441af0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, ebx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441b20
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x441b47
cmp word [ebx + ecx*2], 0x5c
je 0x441b41
dec ecx
test ecx, ecx
jg 0x441b33
jmp 0x441b47
xor edx, edx
mov word [ebx + ecx*2], dx
mov ecx, ebp
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x441b50
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x441b7c
cmp word [ebp + ecx*2], 0x5c
je 0x441b75
dec ecx
test ecx, ecx
jg 0x441b63
pop edi
pop esi
pop ebp
pop ebx
ret
xor edx, edx
mov word [ebp + ecx*2], dx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x441d40
Capabilities:
Get disk information

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test ecx, ecx
je 0x441d83
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441d76
test dx, dx
je 0x441d72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441d76
add eax, 4
add ecx, 4
test dx, dx
jne 0x441d50
xor eax, eax
jmp 0x441d7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e86
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x441e86
mov ecx, esi
mov eax, 0x5f1d60
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441dc6
test dx, dx
je 0x441dc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441dc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x441da0
xor eax, eax
jmp 0x441dcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e86
mov ecx, esi
mov eax, 0x5efe60
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e06
test dx, dx
je 0x441e02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e06
add eax, 4
add ecx, 4
test dx, dx
jne 0x441de0
xor eax, eax
jmp 0x441e0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e86
mov ecx, esi
mov eax, 0x55118c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e3c
test dx, dx
je 0x441e38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x441e16
xor eax, eax
jmp 0x441e41
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e86
mov ecx, esi
mov eax, 0x551184
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e76
test dx, dx
je 0x441e72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e76
add eax, 4
add ecx, 4
test dx, dx
jne 0x441e50
xor eax, eax
jmp 0x441e7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e86
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x441e90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [0x5f1e64], 0
mov eax, dword [0x55118c]
mov ecx, dword [0x551190]
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x441f46
push ebp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov ebx, eax
xor edi, edi
mov esi, 0x5eff60
nop
mov edx, ebx
mov ecx, edi
shr edx, cl
test dl, 1
jne 0x441ef2
xor eax, eax
mov word [esi], ax
jmp 0x441f28
lea edx, [esp + 0x14]
lea ecx, [edi + 0x41]
push 0
push edx
mov word [esp + 0x1c], cx
call fcn.00441d40
add esp, 8
test eax, eax
jne 0x441f12
mov word [esi], ax
jmp 0x441f28
push 0x80
push esi
lea ecx, [esp + 0x1c]
push ecx
call ebp
test eax, eax
jne 0x441f28
xor edx, edx
mov word [esi], dx
add esi, 0x100
inc edi
cmp esi, 0x5f1960
jl 0x441ee0
mov ebx, dword [esp + 0x10]
mov dword [0x5f1e64], 1
pop ebp
xor edi, edi
mov esi, 0x5eff60
lea ecx, [ecx]
push ebx
push esi
call fcn.00525745
add esp, 8
test eax, eax
je 0x441f81
add esi, 0x100
inc edi
cmp esi, 0x5f1960
jl 0x441f50
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00524d83
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0x41]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524d83
add esp, 0x10
ret

Function at 0x442320
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x442333
xor eax, eax
pop ebx
add esp, 0xc
ret
push esi
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44235c
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
push edi
push 0
lea eax, [esp + 0x20]
push eax
push 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
test edi, edi
je 0x442390
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x3ac], edx
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4427b0
Capabilities:
Copy file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x228]
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00441830
add esp, 8
mov eax, str._RescuePath_
mov edx, esi
mov ecx, 0x18
sub edx, eax
push edi
lea ecx, [ecx]
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x4428b9
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x442800
lea eax, [esp + 0x10]
mov edx, ebx
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442820
lea eax, [esi + 0x18]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442834
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x442846
mov esi, edx
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x230]
and ecx, 3
mov edx, ebp
rep movsb byte es:[edi], byte [esi]
sub edx, eax
pop edi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442870
mov edx, dword [esp + 0x230]
mov ax, word [edx + 0x288]
push 0
push ebp
push ebx
mov word [ebp], ax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x214]
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.00524d83
add esp, 0x20c
ret
mov eax, dword [esp + 0x220]
mov edx, ebx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4428c4
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4428d7
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4428f0
jmp 0x442854

Function at 0x442910
Capabilities:
Unmount volume via ioctl

Disassembly:
push ecx
mov eax, dword [esp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x44293f
xor eax, eax
pop edi
pop ecx
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push eax
call ebx
mov esi, eax
test esi, esi
je 0x442997
mov eax, dword [edi]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
push 0
push 0x90020
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4429a6
mov edx, dword [edi]
push eax
lea ecx, [esp + 0x10]
push ecx
push eax
push eax
push eax
push eax
push 0x9001c
push edx
call ebx
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, esi
pop esi
pop ebx
pop edi
pop ecx
ret
Function at 0x4429f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x94
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xa8]
mov edx, esi
test ebx, ebx
jne 0x442a41
mov eax, str.usb_syslinux_0.cfg
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442a30
jmp 0x442a5f
mov eax, str.usb_syslinux_1.cfg
sub edx, eax
jmp 0x442a50
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442a50
xor eax, eax
movzx ecx, word [eax + str.A:_syslinux.cfg]
mov word [esp + eax + 0x1c], cx
add eax, 2
test cx, cx
jne 0x442a61
mov ax, word [edi + 0x288]
lea ecx, [esp + 0x1c]
push 0x554638
push ecx
mov word [esp + 0x24], ax
call fcn.00527bdc
mov edi, eax
add esp, 8
test edi, edi
je 0x442b5e
push edi
push 8
lea edx, [esp + 0x14]
push 1
push edx
call fcn.00527fdb
add esp, 0x10
cmp eax, 8
jne 0x442b55
mov eax, ebx
sub eax, 0
je 0x442b13
sub eax, 1
jne 0x442b55
mov al, byte [esp + 0xe]
cmp al, 0x31
jne 0x442af1
mov eax, str.usb_syslinux_1.cfg
mov edx, esi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442ae0
jmp 0x442b55
cmp al, 0x30
je 0x442af9
cmp al, 0x32
jne 0x442b55
mov eax, str.usb_syslinux_2.cfg
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442b02
jmp 0x442b55
mov al, byte [esp + 0xe]
cmp al, 0x30
jne 0x442b35
mov eax, str.usb_syslinux_0.cfg
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442b24
jmp 0x442b55
cmp al, 0x31
je 0x442b3d
cmp al, 0x32
jne 0x442b55
mov eax, str.usb_syslinux_2.cfg
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442b46
push edi
call fcn.005276ba
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x94
ret
Function at 0x443fa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x4e4]
mov ecx, dword [esi + 0x4f0]
push eax
push 0
push ecx
call fcn.00526520
add esp, 0xc
cmp dword [esi + 0x4f0], 0
jne 0x443ff0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00524d83
add esp, 0x204
ret
lea ecx, [esi + 0x360]
test ecx, ecx
je 0x443fd8
cmp dword [ecx + 0x20], 0
je 0x443fd8
push ebx
push edi
push 0x100
lea edx, [esp + 0x10]
push edx
call fcn.005083b4
mov ebx, dword [esi + 0x4ec]
imul ebx, dword [esi + 0x4e4]
lea eax, [esp + 0xc]
push 0x554630
push eax
call fcn.00527bdc
mov edi, eax
add esp, 8
test edi, edi
jne 0x44404e
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00524d83
add esp, 0x204
ret
push 0
push ebx
push edi
call fcn.00528134
mov ecx, dword [esi + 0x4e4]
mov edx, dword [esi + 0x4f0]
push edi
push ecx
push 1
push edx
call fcn.00527fdb
push edi
call fcn.005276ba
mov ecx, dword [esp + 0x22c]
add esp, 0x20
pop edi
pop ebx
pop esi
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x204
ret
Function at 0x446b90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push esi
push 2
push 0x104
mov dword [esp + 0xc], 0
call fcn.00525178
mov esi, eax
add esp, 8
test esi, esi
jne 0x446bb8
pop esi
add esp, 0x58
ret 8
push edi
push 0x559f1c
push 0x104
push esi
call fcn.005267e8
mov eax, dword [esp + 0x70]
push eax
push 0x104
push esi
call fcn.00527a99
mov ecx, dword [esp + 0x80]
push ecx
push 0x104
push esi
call fcn.00527a99
push 0x559f18
push 0x104
push esi
call fcn.00527a99
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call fcn.00526520
add esp, 0x3c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov edi, 1
push 0
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x446c54
push esi
call fcn.005251b8
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x58
ret 8
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x446c7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp dword [esp + 8], 0
je 0x446c86
xor edi, edi
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebx
push esi
call fcn.005251b8
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x58
ret 8

Function at 0x446cb0
Capabilities:
Create process on windows
Set current directory

Disassembly:
sub esp, 0x58
push esi
push edi
mov edi, dword [esp + 0x68]
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 2
push 0x30c
call fcn.00525178
mov esi, eax
add esp, 8
test esi, esi
je 0x446d4b
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
push edi
push 0x5b2994
push str.__szip.exe___r__q___s_s____s_
push 0x30c
push esi
call fcn.00526008
push 0x44
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.00526520
add esp, 0x28
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push esi
mov edi, 1
push eax
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], edi
mov word [esp + 0x74], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x446d55
push esi
call fcn.005251b8
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x58
ret 0xc
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x446d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp dword [esp + 8], 0
je 0x446d87
xor edi, edi
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
push esi
call fcn.005251b8
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x58
ret 0xc