joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41941d
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x210], ecx
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x210]
add ecx, 0x2dd
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004a9f30
add esp, 8
push 0x509b08
lea eax, [ebp - 0x208]
push eax
call fcn.004a9f40
add esp, 8
mov ecx, dword [ebp - 0x210]
add ecx, 0xf34
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004a9f40
add esp, 8
push 0x509b14
lea eax, [ebp - 0x208]
push eax
call fcn.004a9f40
add esp, 8
mov ecx, dword [ebp - 0x210]
add ecx, 0xd2c
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004aab30
add esp, 8
test eax, eax
jne 0x4194c9
mov eax, 1
jmp 0x41952d
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0xd2c
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419528
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20c], eax
mov edx, 1
test edx, edx
je 0x41950a
mov dword [ebp - 0x214], 0
jmp 0x419524
mov eax, dword [ebp - 0x20c]
push eax
push str._CopyLoadConfigAsFileToDefaultDir_:_errorcode___d_n
call fcn.00410eb0
add esp, 8
mov dword [ebp - 0x214], eax
xor eax, eax
jmp 0x41952d
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41b478
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x8f5
push eax
push 0
push 0x50a4b4
push 0x50a4bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a4c8
push 0x50a4d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a4e0
push 0x50a4e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a4f4
push 0x50a4fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov esp, ebp
pop ebp
ret 4

Function at 0x41b50b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x8f5
push eax
push 0
push 0x50a508
push 0x50a514
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 1
push 0x50a520
push 0x50a52c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a538
push 0x50a544
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 1
push 0x50a550
push 0x50a55c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a568
push 0x50a578
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a584
push 0x50a590
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a59c
push 0x50a5ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 6], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a5b8
push 0x50a5c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 7], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50a5d0
push 0x50a5dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0x28
push 0x50a5e8
push 0x50a5f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov esp, ebp
pop ebp
ret 4
Function at 0x41bf22
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], 6
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x114], 0x15
mov dword [ebp - 0x110], 0x44
mov dword [ebp - 0x10c], 0x44
mov dword [ebp - 0x108], 0x60
mov dword [ebp - 0x120], 0
jmp 0x41bf88
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 3
jge 0x41c076
push 0x104
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x120]
add edx, 1
push edx
push 0x50a968
lea eax, [ebp - 0x104]
push eax
call fcn.004aa1dd
add esp, 0xc
mov ecx, dword [ebp - 0x124]
add ecx, 0x8f5
push ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp + edx*4 - 0x11c]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 0x50a978
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 + 0x4e], eax
push 0x104
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x120]
add eax, 1
push eax
push 0x50a97c
lea ecx, [ebp - 0x104]
push ecx
call fcn.004aa1dd
add esp, 0xc
mov edx, dword [ebp - 0x124]
add edx, 0x8f5
push edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp + eax*4 - 0x110]
push ecx
lea edx, [ebp - 0x104]
push edx
push 0x50a98c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x5a], eax
jmp 0x41bf79
mov esp, ebp
pop ebp
ret 4
Function at 0x41c07c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x104]
add eax, 0x8f5
push eax
push 0
push 0x50a990
push 0x50a998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x104]
add edx, 0x8f5
push edx
push 0
push 0x50a9a0
push 0x50a9b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x104]
add edx, 0x8f5
push edx
push 0
push 0x50a9b8
push 0x50a9c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x104]
add edx, 0x8f5
push edx
push 0
push 0x50a9d0
push 0x50a9dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x104]
add edx, 0x8f5
push edx
push 0
push 0x50a9e4
push 0x50a9f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x104]
add edx, 0x8f5
push edx
push 0
push 0x50a9f8
push 0x50aa04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
push 0x100
push 0
lea edx, [ebp - 0x100]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x104]
add eax, 0x8f5
push eax
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push 0
push 0x50aa0c
push 0x50aa1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x58
call fcn.004ce4ea
mov esp, ebp
pop ebp
ret 4

Function at 0x41fe4c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x50
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x1080
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 0x8f5
push ecx
push 0x50
mov edx, dword [ebp - 0xc]
add edx, 0x1080
push edx
push 0x5282d4
push 0x50b9c0
push 0x50b9cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
call fcn.0041ff0c
push 1
push 0
mov ecx, dword [ebp - 0xc]
call fcn.00420092
mov ecx, dword [ebp - 0xc]
call fcn.00420d10
mov ecx, dword [ebp - 0xc]
call fcn.00420d91
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1038], 0
je 0x41fee7
push 0x82d
mov ecx, dword [ebp - 0xc]
call fcn.004cd5d4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x103c]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040a310
push 0x818
mov ecx, dword [ebp - 0xc]
call fcn.004cd5d4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, 0x1080
push eax
mov ecx, dword [ebp - 4]
call fcn.004cd86b
mov esp, ebp
pop ebp
ret
Function at 0x41ff0c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e52ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x10]
call fcn.004048b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x84]
add eax, 0x8f5
push eax
push 0
push 0x50b9d4
push 0x50b9e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x10d8], eax
push 6
push 0
mov edx, dword [ebp - 0x84]
add edx, 0x10dc
push edx
call fcn.004a9cd0
add esp, 0xc
push 0x64
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x84]
add ecx, 0x8f5
push ecx
push 0x64
lea edx, [ebp - 0x7c]
push edx
push 0x5282d8
push 0x50b9f0
push 0x50ba00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x7c]
test eax, eax
jne 0x41ffda
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ce361
jmp 0x420084
push 0x50ba08
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push 0x50ba0c
lea eax, [ebp - 0x10]
push eax
call fcn.004c3f32
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0040acf0
test eax, eax
jne 0x420075
lea ecx, [ebp - 0x18]
push ecx
push 0x50ba10
lea ecx, [ebp - 0x10]
call fcn.004048d0
push eax
call fcn.004aac4b
add esp, 0xc
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x80]
mov al, byte [ebp - 0x18]
mov byte [edx + 0x10dc], al
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 6
jne 0x42004c
jmp 0x420075
push 0x50ba14
push 0
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
push 0x50ba18
lea eax, [ebp - 0x10]
push eax
call fcn.004c3f32
add esp, 0xc
jmp 0x420003
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x424f04
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x15
push 0
mov eax, dword [ebp - 8]
add eax, 0x5c
push eax
call fcn.004a9cd0
add esp, 0xc
cmp dword [0x528f74], 0
je 0x424f4e
mov ecx, dword [ebp - 8]
add ecx, 0x8f5
push ecx
push 0x15
mov edx, dword [ebp - 8]
add edx, 0x5c
push edx
push 0
push 0x50c4e0
push 0x50c4e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x5c]
test ecx, ecx
jne 0x424f7e
mov edx, dword [ebp - 8]
add edx, 0x8f5
push edx
push 0x15
mov eax, dword [ebp - 8]
add eax, 0x5c
push eax
push 0
push 0x50c4f0
push 0x50c4f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x569
mov ecx, dword [ebp - 8]
call fcn.004cd5d4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x5c
push ecx
mov ecx, dword [ebp - 4]
call fcn.004cd86b
mov esp, ebp
pop ebp
ret
Function at 0x42c30e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x28], 0x64
mov word [ebp - 0x26], 0xc8
mov word [ebp - 0x24], 0x32
mov word [ebp - 0x22], 0x7d
mov word [ebp - 0x20], 0x89
mov word [ebp - 0x1e], 0x96
mov word [ebp - 0x1c], 0xa2
mov word [ebp - 0x1a], 0xaf
mov word [ebp - 0x18], 0xbb
mov word [ebp - 0x16], 0x19
mov word [ebp - 0x14], 0x25
mov word [ebp - 0x12], 0x3e
mov word [ebp - 0x10], 0x4b
mov word [ebp - 0xe], 0x51
mov word [ebp - 0xc], 0x57
mov word [ebp - 0xa], 0xc1
mov word [ebp - 8], 0x38
mov word [ebp - 6], 0x44
mov word [ebp - 4], 0x5d
mov word [ebp - 0x50], 0xa0
mov word [ebp - 0x4e], 0x20
mov word [ebp - 0x4c], 0x120
mov word [ebp - 0x4a], 0xa8
mov word [ebp - 0x48], 0xac
mov word [ebp - 0x46], 0x18
mov word [ebp - 0x44], 0x1a
mov word [ebp - 0x42], 0x1c
mov word [ebp - 0x40], 0x1e
mov word [ebp - 0x3e], 0x1a0
mov word [ebp - 0x3c], 0x118
mov word [ebp - 0x3a], 0x128
mov word [ebp - 0x38], 0x98
mov word [ebp - 0x36], 0x9a
mov word [ebp - 0x34], 0x9c
mov word [ebp - 0x32], 0x1f
mov word [ebp - 0x30], 0x124
mov word [ebp - 0x2e], 0x12c
mov word [ebp - 0x2c], 0x9e
cmp dword [0x5284c8], 0
je 0x42c427
cmp dword [0x528490], 0
je 0x42c427
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x11d04]
mov edx, dword [ebp - 0x54]
mov ax, word [ebp + ecx*2 - 0x50]
mov word [edx + 0x11d0c], ax
jmp 0x42c43f
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x11d04]
mov eax, dword [ebp - 0x54]
mov cx, word [ebp + edx*2 - 0x28]
mov word [eax + 0x11d0c], cx
mov esp, ebp
pop ebp
ret
Function at 0x42c8c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5424
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x10]
call fcn.004048b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push 0x10
push 0
mov eax, dword [ebp - 0x2c]
add eax, 0x119b1
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x11ac5
push ecx
push 0x104
mov edx, dword [ebp - 0x2c]
add edx, 0x119c1
push edx
push 0
push str.WWN16
push 0x50d438
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + 0x119c1]
test ecx, ecx
jne 0x42c974
push 0
push 0x50d43c
push str.Please_Check_the_WWN.ini_file_
mov ecx, dword [ebp - 0x2c]
call fcn.004cbd0e
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov eax, dword [ebp - 0x20]
jmp 0x42ca6a
push 0x50d464
mov edx, dword [ebp - 0x2c]
add edx, 0x119c1
push edx
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0x50d468
lea ecx, [ebp - 0x10]
push ecx
call fcn.004c3f32
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0040acf0
test eax, eax
jne 0x42ca1c
cmp dword [ebp - 0x1c], 0x10
jae 0x42c9e0
lea edx, [ebp - 0x18]
push edx
push 0x50d46c
lea ecx, [ebp - 0x10]
call fcn.004048d0
push eax
call fcn.004aac4b
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x18]
mov byte [eax + 0x119b1], cl
jmp 0x42c9e2
jmp 0x42ca1c
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
push 0x50d470
push 0
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42ca05
jmp 0x42ca1c
mov eax, dword [ebp - 0x14]
push eax
push 0x50d474
lea ecx, [ebp - 0x10]
push ecx
call fcn.004c3f32
add esp, 0xc
jmp 0x42c9a3
cmp dword [ebp - 0x1c], 0x10
jae 0x42ca51
push 0
push 0x50d478
push str.Cant_find_enough_16_bytes_WWN__please_check_WWN.ini_content.
mov ecx, dword [ebp - 0x2c]
call fcn.004cbd0e
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov eax, dword [ebp - 0x24]
jmp 0x42ca6a
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d13f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x42d161
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x20
jge 0x42d1b1
push 0x14
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
push 0x50d4c0
lea eax, [ebp - 0x18]
push eax
call fcn.004aa1dd
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0x8f5
push ecx
push 0
lea edx, [ebp - 0x18]
push edx
push 0x50d4c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov byte [ecx], al
jmp 0x42d158
mov dword [ebp - 0x1c], 0
jmp 0x42d1c3
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x20
jge 0x42d218
mov dword [ebp - 0x20], 0
jmp 0x42d1db
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
jge 0x42d20e
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jne 0x42d1eb
jmp 0x42d1d2
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x42d20c
mov dword [ebp - 4], 0
jmp 0x42d20e
jmp 0x42d1d2
cmp dword [ebp - 4], 0
jne 0x42d216
jmp 0x42d218
jmp 0x42d1ba
cmp dword [ebp - 4], 0
jne 0x42d243
mov dword [ebp - 0x1c], 0
jmp 0x42d230
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x20
jge 0x42d243
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x1c]
mov byte [ecx], dl
jmp 0x42d227
mov esp, ebp
pop ebp
ret 4
Function at 0x43ac98
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push str._SMIReadCIDTable
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528448], eax
cmp dword [0x528448], 0
jne 0x43ace7
mov ecx, 1
test ecx, ecx
je 0x43accd
mov dword [ebp - 4], 0
jmp 0x43acdd
push str.Null_dll_SMIReadCIDTable_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 4], eax
mov eax, 0x28
jmp 0x43ae99
push str._SMIReadFlashID
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528444], eax
cmp dword [0x528444], 0
jne 0x43ad30
mov eax, 1
test eax, eax
je 0x43ad16
mov dword [ebp - 8], 0
jmp 0x43ad26
push str.Null_dll_SMIScanSMIDrive_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 8], eax
mov eax, 4
jmp 0x43ae99
push str._SMIReadVndrCmd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528440], eax
cmp dword [0x528440], 0
jne 0x43ad79
mov edx, 1
test edx, edx
je 0x43ad5f
mov dword [ebp - 0xc], 0
jmp 0x43ad6f
push str.Null_dll_SMIReadVndrCmd_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, 5
jmp 0x43ae99
push str._SMIWriteVndrCmd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52843c], eax
cmp dword [0x52843c], 0
jne 0x43adc2
mov ecx, 1
test ecx, ecx
je 0x43ada8
mov dword [ebp - 0x10], 0
jmp 0x43adb8
push str.Null_dll_SMIWriteVndrCmd_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, 6
jmp 0x43ae99
push str._SMI_Read_Phy_Page
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528438], eax
cmp dword [0x528438], 0
jne 0x43ae0b
mov eax, 1
test eax, eax
je 0x43adf1
mov dword [ebp - 0x14], 0
jmp 0x43ae01
push str.Null_dll_SMI_Read_Phy_Page_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, 7
jmp 0x43ae99
push str._SMI_Program_Phy_Page
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528434], eax
cmp dword [0x528434], 0
jne 0x43ae51
mov edx, 1
test edx, edx
je 0x43ae3a
mov dword [ebp - 0x18], 0
jmp 0x43ae4a
push str.Null_dll_SMI_Program_Phy_Page_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, 8
jmp 0x43ae99
push str._SMI_Erase_Phy_block
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x528430], eax
cmp dword [0x528430], 0
jne 0x43ae97
mov ecx, 1
test ecx, ecx
je 0x43ae80
mov dword [ebp - 0x1c], 0
jmp 0x43ae90
push str.Null_dll_SMI_Erase_Phy_block_n
call fcn.00410eb0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, 9
jmp 0x43ae99
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x44189c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x14]
call fcn.004048b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
jmp 0x4418ee
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0x18
jge 0x441920
mov ecx, dword [ebp - 0x224]
mov dword [ecx*8 + 0x529710], 0
mov edx, dword [ebp - 0x224]
add edx, 0x43
mov eax, dword [ebp - 0x224]
mov byte [eax*8 + 0x529714], dl
jmp 0x4418df
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 0x51423c
lea edx, [ebp - 0x118]
push edx
call fcn.004a9f30
add esp, 8
push 0x104
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.004a9cd0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0x528510
push 0x51425c
push 0x514260
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x220]
test eax, eax
jne 0x4419b7
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce361
mov eax, dword [ebp - 0x230]
jmp 0x441ae0
push 0x514264
lea ecx, [ebp - 0x220]
push ecx
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
push edx
push 0x514268
lea eax, [ebp - 0x14]
push eax
call fcn.004c3f32
add esp, 0xc
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.0040acf0
test eax, eax
jne 0x441ac2
lea ecx, [ebp - 0x228]
push ecx
push 0x51426c
lea ecx, [ebp - 0x14]
call fcn.004048d0
push eax
call fcn.004aac4b
add esp, 0xc
mov dword [ebp - 0x224], 0
jmp 0x441a38
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0x18
jge 0x441a76
movsx eax, byte [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
movsx edx, byte [ecx*8 + 0x529714]
cmp eax, edx
jne 0x441a74
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x224]
mov dword [eax*8 + 0x529710], 1
jmp 0x441a76
jmp 0x441a29
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
push 0x514270
push 0
call fcn.004aa9b6
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x441aa5
jmp 0x441ac2
mov edx, dword [ebp - 0x11c]
push edx
push 0x514274
lea eax, [ebp - 0x14]
push eax
call fcn.004c3f32
add esp, 0xc
jmp 0x4419f0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce361
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44be66
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov dword [0x5285e0], 0
mov eax, dword [ebp - 4]
add eax, 0xf8
push eax
push 0
push str.ENABLECLEARSMARTFEATURE
push 0x516110
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5285e0], eax
mov dword [0x5285dc], 0
mov ecx, dword [ebp - 4]
add ecx, 0xf8
push ecx
push 0
push str.ResetSmartTool
push 0x51612c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5285dc], eax
mov edx, dword [ebp - 4]
add edx, 0xf8
push edx
push 0
push str.ENABLEQCTOOLPAGE
push 0x51614c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x528468], eax
mov esp, ebp
pop ebp
ret

Function at 0x44bee7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0xf8
push eax
push 0
push str.ENTRANSCENDFEATURE
push 0x516168
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x528f74], eax
mov ecx, dword [ebp - 4]
add ecx, 0xf8
push ecx
push 0
push str.ENABLEPNYMODE
push 0x516180
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x529184], eax
mov edx, dword [ebp - 4]
add edx, 0xf8
push edx
push 0
push str.EnBarunMode
push 0x516194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5285d8], eax
mov eax, dword [ebp - 4]
add eax, 0xf8
push eax
push 0
push str.EnKingstonMode
push 0x5161ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x528464], eax
mov esp, ebp
pop ebp
ret