joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011e30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1004e150
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test edi, edi
je 0x10011ffa
push 0x10058964
lea ecx, [esp + 0xc]
call fcn.10002ca0
mov dword [esp + 0x38], 0
mov edx, dword [esp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x10011e94
push 0
lea ecx, [esp + 0xc]
call fcn.10002ae0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10011fd2
push 0
call fcn.10034334
mov dword [esp + 0x18], eax
add esp, 4
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.10011db0
mov byte [esp + 0x38], 1
call fcn.10025867
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10011ee2
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x14]
push str._Edpedisk___s_t__s_r_n
push edx
call fcn.100027b0
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.100273b5
mov byte [esp + 0x38], 3
mov edx, dword [esp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x10011f3f
push 0
lea ecx, [esp + 0xc]
call fcn.10002ae0
mov edx, dword [esp + 8]
push 0
push 0x3002
push edx
lea ecx, [esp + 0x28]
call fcn.100273cd
mov esi, dword [esp + 0xc]
test eax, eax
je 0x10011f7e
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x28]
push 2
push 0
push 0
lea ecx, [esp + 0x28]
call edx
push esi
lea ecx, [esp + 0x20]
call fcn.100275c4
lea ecx, [esp + 0x1c]
call fcn.10027781
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.100277ec
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
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 0x10011fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 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 0x10011ffa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x10012030
Capabilities:
Link many functions at runtime

Disassembly:
push 0x100589a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
test eax, eax
je 0x100120a7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100589ac
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push 0x100589bc
push eax
call edi
mov ecx, dword [esi]
push 0x100589c8
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push 0x100589d8
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push 0x100589e4
push eax
call edi
cmp dword [esi + 4], 0
mov dword [esi + 0x14], eax
pop edi
je 0x100120a7
cmp dword [esi + 8], 0
je 0x100120a7
cmp dword [esi + 0xc], 0
je 0x100120a7
cmp dword [esi + 0x10], 0
je 0x100120a7
test eax, eax
je 0x100120a7
mov al, 1
ret
xor al, al
ret

Function at 0x100120b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x13c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebp
mov ebp, dword [esp + 0x144]
xor eax, eax
push esi
push edi
cmp dword [ebp + 0x10], eax
je 0x1001217a
cmp bl, al
je 0x1001217a
push 0x103
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], al
lea eax, [esp + 0x41]
push eax
mov dword [esp + 0x18], 0x5566
mov dword [esp + 0x1c], 1
mov byte [esp + 0x20], bl
call fcn.10037cf0
movsx ecx, bl
add esp, 0xc
push ecx
lea edx, [esp + 0x3c]
push str.Edpedisk:_lpAddEdpDisk___c
push edx
call fcn.100117d0
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esp + 0x38]
call fcn.10011e30
sub esp, 0x2c
mov edi, esp
mov ecx, 0xb
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
call ecx
test eax, eax
setne al
jmp 0x1001217c
xor al, al
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10032551
add esp, 0x13c
ret 4
Function at 0x100121a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x13c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebp
mov ebp, dword [esp + 0x144]
xor eax, eax
push esi
push edi
cmp dword [ebp + 0xc], eax
je 0x10012263
cmp bl, al
je 0x10012263
push 0x103
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], al
lea eax, [esp + 0x41]
push eax
mov dword [esp + 0x18], 0x5566
mov dword [esp + 0x1c], 1
mov byte [esp + 0x20], bl
call fcn.10037cf0
movsx ecx, bl
add esp, 0xc
push ecx
lea edx, [esp + 0x3c]
push str.Edpedisk:_lpClearEdpDisk___c
push edx
call fcn.100117d0
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esp + 0x38]
call fcn.10011e30
sub esp, 0x2c
mov edi, esp
mov ecx, 0xb
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call ecx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
xor ecx, esp
xor al, al
call fcn.10032551
add esp, 0x13c
ret 4
Function at 0x10012c80
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1124
call fcn.1003a830
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x1120], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1130]
push edi
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x12d]
push ebx
push eax
mov edi, ecx
mov byte [esp + 0x134], bl
call fcn.10037cf0
add esp, 0xc
push 0x103
mov eax, 0x104
lea ecx, [esp + 0x25]
push ebx
push ecx
mov dword [esp + 0x24], 0x1000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x2c], bl
call fcn.10037cf0
add esp, 0xc
test esi, esi
je 0x10012d26
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x18]
push edx
push 0x1000
lea eax, [esp + 0x130]
push eax
push 1
push ebp
call ecx
test eax, eax
jne 0x10012d2a
push str.GetTokenInformation_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.GetTokenInformation_Fail__r_n
call fcn.10011e30
xor eax, eax
jmp 0x10012d70
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0x4c]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
push 0
call ecx
test eax, eax
jne 0x10012d69
push str.LookupAccountSid_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.LookupAccountSid_Fail__r_n
call fcn.10011e30
jmp 0x10012d6e
mov ebx, 1
mov eax, ebx
mov ecx, dword [esp + 0x112c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032551
add esp, 0x1124
ret 4
Function at 0x100152a0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, eax
mov edi, edx
lea edx, [edi + 2]
mov eax, 0xaaaaaaab
mul edx
mov ebp, edx
shr ebp, 1
add ebp, ebp
add ebp, ebp
test ebx, ebx
je 0x100152c4
mov dword [ebx], ebp
cmp dword [esp + 0x18], ebp
jae 0x100152d4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
cmp edi, 3
jb 0x10015349
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edi, 3
sub edx, 1
jne 0x100152e2
test edi, edi
jbe 0x1001539b
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jbe 0x10015371
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jae 0x10015386
mov al, 0x3d
jmp 0x10015394
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________________________________________________________________________________________________________________________________________]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
cmp ebp, dword [esp + 0x18]
jae 0x100153a4
mov byte [ecx], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x100154d0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.10037cf0
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x10055ad8
lea edx, [esp + 4]
push 0x104
push edx
call fcn.10032a15
push str.Watchclient.ini
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.10032a15
add esp, 0x18
lea ecx, [esp]
push ecx
push 0x6b0
push esi
push 0x1005571a
push str.regip
push 0x100591cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10032551
add esp, 0x108
ret

Function at 0x10015a40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x64], eax
mov edx, dword [0x100676ac]
mov eax, dword [esp + 0x6c]
push 0
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10015aaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Errorno:_x
lea edx, [esp + 8]
call fcn.1001ccc0
lea eax, [esp + 8]
push eax
push 0
push 0xc8
push str.CEdpDiskControl::WriteNtDisk
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10032551
add esp, 0x68
ret 4
mov ecx, dword [esi]
push ecx
push str.Erote_ok_...WriteCount:_x
lea edx, [esp + 8]
call fcn.1001ccc0
lea edx, [esp + 8]
push edx
push 0
push 0xce
push str.CEdpDiskControl::WriteNtDisk
mov ecx, str..ClassEdpDiskControlEdpDiskControl.cpp
call fcn.10010760
mov ecx, dword [esp + 0x7c]
add esp, 0x18
xor ecx, esp
xor eax, eax
call fcn.10032551
add esp, 0x68
ret 4
Function at 0x10018df0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x110
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x18], 0
call fcn.10037cf0
add esp, 0xc
call fcn.10019e60
test al, al
je 0x10018f16
lea ecx, [edi - 1]
cmp ecx, 1
ja 0x10018f30
mov al, byte [edi + 0x1006a1a4]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test al, al
je 0x10018f0f
movsx edx, al
push edx
push str.EdpSecDisk___UserLogoffEx_UnMount__c:_r_n
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.10032b06
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call ebx
movzx edx, byte [edi + 0x1006a1a4]
push 1
push edx
call dword [0x1006a070]
test eax, eax
je 0x10018ea7
lea ebp, [esi + 4]
call dword [0x1006a07c]
push eax
mov ecx, ebp
call fcn.10001f90
cmp dword [ebp + 0x18], 0x10
jb 0x10018ea1
mov ebp, dword [ebp + 4]
jmp 0x10018ea4
add ebp, 4
push ebp
call ebx
push str.EdpSecDisk___ClearEdpMountDisk____r_n
call ebx
movzx eax, byte [edi + 0x1006a1a4]
push eax
mov ecx, esi
call fcn.1001a460
call fcn.1001db10
test eax, eax
je 0x10018ede
movsx ecx, byte [edi + 0x1006a1a4]
sub ecx, 0x41
push ecx
push 0x8004
call fcn.1001df80
add esp, 8
cmp dword [0x10068cdc], 0
je 0x10018f08
call fcn.10001090
test eax, eax
je 0x10018f08
mov eax, dword [0x1006a0f4]
test eax, eax
je 0x10018efb
call eax
movzx edx, byte [edi + 0x1006a1a4]
push edx
call fcn.10001380
mov byte [edi + 0x1006a1a4], 0
push str.EdpSecDisk___UserLogoffEx_End__r_n
call ebx
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10032551
add esp, 0x110
ret
mov ecx, dword [esp + 0x118]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.10032551
add esp, 0x110
ret
Function at 0x10019bf0
Capabilities:
Delete file
Print debug messages
Read file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push esi
push edi
mov esi, ecx
jmp 0x10019c1b
push 0x103
xor edi, edi
lea eax, [esp + 0x19]
push edi
push eax
mov byte [esp + 0x20], 0
call fcn.10037cf0
mov eax, dword [0x1006c558]
add esp, 0xc
cmp dword [0x1006c56c], 0x10
jae 0x10019c48
mov eax, 0x1006c558
push eax
lea ebp, [esi + 0x183c]
push 0x104
push ebp
call fcn.100329ad
add esp, 0xc
cmp byte [0x1006a1a4], 0
je 0x10019c80
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10032551
add esp, 0x110
ret
mov edx, dword [0x1006a1a8]
push 0xa
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.100360f3
lea eax, [esp + 0x24]
push eax
push 0x104
push ebp
call fcn.10032a15
add esp, 0x1c
mov dword [esp + 0x10], edi
cmp ebp, edi
jne 0x10019ce6
push edi
push edi
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10019ced
push ebp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push 0x80
push 3
push edi
push 3
push 0x80000000
push ebp
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10019d4d
mov edx, dword [0x1006c624]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019d20
sub eax, edi
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001fc0
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10032551
add esp, 0x110
ret
push ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x6b0
lea ebx, [esi + 0x1178]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], 0x6b0
jae 0x10019dbd
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [esp + 0x14]
push edx
push 0x220
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], 0x220
jae 0x10019dbd
mov eax, dword [0x1006c628]
push eax
lea ecx, [esi + 4]
call fcn.10001f90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x10019e2b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov cl, byte [esi + 0x118c]
lea edx, [esi + 0x1296]
push edx
lea eax, [esi + 0x217b]
push 0x104
push eax
mov byte [0x1006a1a4], cl
call fcn.100329ad
lea ecx, [esi + 0x118d]
mov eax, ecx
add esp, 0xc
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10019e00
sub eax, esi
push ecx
inc eax
push eax
push 0x10068ce0
call fcn.100329ad
add esp, 0xc
jmp 0x10019e29
mov al, 1
mov ecx, dword [esp + 0x11c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10032551
add esp, 0x110
ret
Function at 0x10019e60
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1004d188
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0x1838]
test eax, eax
jne 0x10019f64
cmp byte [esi + 0x1171], al
je 0x10019f36
call fcn.10025867
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10019eb6
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
cmp dword [0x1006c56c], 0x10
mov eax, dword [0x1006c558]
jae 0x10019ee1
mov eax, 0x1006c558
push 0x10056f64
push eax
lea ecx, [esp + 0x10]
push 0x10056de4
push ecx
call fcn.100027b0
mov edi, dword [esp + 0x18]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x1838], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10019f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10019f47
push str.EdpEDiskEx.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x1838], eax
mov eax, dword [esi + 0x1838]
test eax, eax
jne 0x10019f64
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
cmp dword [0x1006a060], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x10019f84
push 0x10059ff0
push eax
call edi
mov dword [0x1006a060], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a064], 0
jne 0x10019fa4
mov ecx, dword [esi + 0x1838]
push 0x1005a000
push ecx
call edi
mov dword [0x1006a064], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a068], 0
jne 0x10019fc4
mov edx, dword [esi + 0x1838]
push 0x1005a010
push edx
call edi
mov dword [0x1006a068], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a06c], 0
jne 0x10019fe8
mov eax, dword [esi + 0x1838]
push 0x1005a020
push eax
call edi
mov dword [0x1006a06c], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a070], 0
jne 0x1001a00c
mov ecx, dword [esi + 0x1838]
push 0x1005a030
push ecx
call edi
mov dword [0x1006a070], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a074], 0
jne 0x1001a030
mov edx, dword [esi + 0x1838]
push 0x1005a044
push edx
call edi
mov dword [0x1006a074], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a080], 0
jne 0x1001a054
mov eax, dword [esi + 0x1838]
push 0x1005a05c
push eax
call edi
mov dword [0x1006a080], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a078], 0
jne 0x1001a078
mov ecx, dword [esi + 0x1838]
push 0x1005a074
push ecx
call edi
mov dword [0x1006a078], eax
test eax, eax
je 0x10019f51
cmp dword [0x1006a07c], 0
jne 0x1001a09c
mov edx, dword [esi + 0x1838]
push 0x1005a084
push edx
call edi
mov dword [0x1006a07c], eax
test eax, eax
je 0x10019f51
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
Function at 0x1001a250
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.10037cf0
mov dl, byte [esp + 0x120]
lea eax, [esp + 0x10]
xor ecx, ecx
push 3
push eax
mov word [esp + 0x19], cx
mov byte [esp + 0x18], dl
call fcn.10032996
add esp, 0x14
add esi, 0x1a44
push esi
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0x1005571a
push str.USBOnlyReadDisk
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 8], 0
je 0x1001a30f
lea edx, [esp + 8]
push 0x104
push edx
call fcn.10032996
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.10033870
add esp, 0x10
test eax, eax
jne 0x1001a325
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.10032a15
add esp, 0xc
push esi
lea ecx, [esp + 0xc]
push ecx
jmp 0x1001a315
push esi
lea edx, [esp + 8]
push edx
push str.USBOnlyReadDisk
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.10032551
add esp, 0x10c
ret 4

Function at 0x1001a340
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.10037cf0
mov dl, byte [esp + 0x120]
lea eax, [esp + 0x10]
xor ecx, ecx
push 3
push eax
mov word [esp + 0x19], cx
mov byte [esp + 0x18], dl
call fcn.10032996
add esp, 0x14
add esi, 0x1a44
push esi
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0x1005571a
push str.EDPMountDisk
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 8], 0
je 0x1001a425
lea edx, [esp + 8]
push 0x104
push edx
call fcn.10032996
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.10033870
add esp, 0x10
test eax, eax
jne 0x1001a445
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.10032a15
add esp, 0xc
push esi
lea ecx, [esp + 0xc]
push ecx
push str.EDPMountDisk
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10032551
add esp, 0x10c
ret 4
push esi
lea edx, [esp + 8]
push edx
push str.EDPMountDisk
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x1001a445
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.10032551
add esp, 0x10c
ret 4