joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d238
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524153
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.004046f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
jmp 0x43d28a
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0x18
jge 0x43d2bc
mov ecx, dword [ebp - 0x224]
mov dword [ecx*8 + 0x672d48], 0
mov edx, dword [ebp - 0x224]
add edx, 0x43
mov eax, dword [ebp - 0x224]
mov byte [eax*8 + 0x672d4c], dl
jmp 0x43d27b
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004e8440
add esp, 0xc
push 0x553268
lea edx, [ebp - 0x118]
push edx
call fcn.004e86a0
add esp, 8
push 0x104
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.004e8440
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0x56c150
push 0x553288
push 0x55328c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x220]
test eax, eax
jne 0x43d353
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0050ce61
mov eax, dword [ebp - 0x230]
jmp 0x43d47c
push 0x553290
lea ecx, [ebp - 0x220]
push ecx
call fcn.004e947e
add esp, 8
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
push edx
push 0x553294
lea eax, [ebp - 0x14]
push eax
call fcn.00502a32
add esp, 0xc
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.00426b20
test eax, eax
jne 0x43d45e
lea ecx, [ebp - 0x228]
push ecx
push 0x553298
lea ecx, [ebp - 0x14]
call fcn.00404710
push eax
call fcn.004e9444
add esp, 0xc
mov dword [ebp - 0x224], 0
jmp 0x43d3d4
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0x18
jge 0x43d412
movsx eax, byte [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
movsx edx, byte [ecx*8 + 0x672d4c]
cmp eax, edx
jne 0x43d410
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x224]
mov dword [eax*8 + 0x672d48], 1
jmp 0x43d412
jmp 0x43d3c5
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
push 0x55329c
push 0
call fcn.004e947e
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x43d441
jmp 0x43d45e
mov edx, dword [ebp - 0x11c]
push edx
push 0x5532a0
lea eax, [ebp - 0x14]
push eax
call fcn.00502a32
add esp, 0xc
jmp 0x43d38c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0050ce61
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4468c6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov dword [0x56c220], 0
mov eax, dword [ebp - 4]
add eax, 0xf8
push eax
push 0
push str.ENABLECLEARSMARTFEATURE
push 0x554d0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56c220], eax
mov ecx, dword [ebp - 4]
add ecx, 0xf8
push ecx
push 0
push str.ENABLEASSEMBLYVERIFICATIONPAGE
push 0x554d38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56ce7c], eax
mov edx, dword [ebp - 4]
add edx, 0xf8
push edx
push 0
push str.ENABLEQCTOOLPAGE
push 0x554d54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56ce78], eax
mov eax, dword [ebp - 4]
add eax, 0xf8
push eax
push 0
push str.NetcomQCTool
push 0x554d6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56ca4c], eax
mov ecx, dword [ebp - 4]
add ecx, 0xf8
push ecx
push 0
push str.MainPageOnlyUpdateCID_Identify
push 0x554d94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56c218], eax
mov esp, ebp
pop ebp
ret

Function at 0x44697e
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 0x554db0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56ce74], eax
mov ecx, dword [ebp - 4]
add ecx, 0xf8
push ecx
push 0
push str.ENABLEPNYMODE
push 0x554dc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56ce80], eax
mov esp, ebp
pop ebp
ret
Function at 0x44d35f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0x23
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0x3c
mov byte [ebp - 0x1d], 0x46
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x78
mov byte [ebp - 0x16], 0x7d
mov byte [ebp - 0x15], 0x82
mov byte [ebp - 0x14], 0x87
mov byte [ebp - 0x13], 0x8c
mov byte [ebp - 0x12], 0x91
mov byte [ebp - 0x11], 0x96
mov byte [ebp - 0x10], 0x9b
mov byte [ebp - 0xf], 0xa0
mov byte [ebp - 0xe], 0xa5
mov byte [ebp - 0xd], 0xaa
mov byte [ebp - 0xc], 0xaf
mov byte [ebp - 0xb], 0xb4
mov byte [ebp - 0xa], 0xb9
mov byte [ebp - 9], 0xbe
mov byte [ebp - 8], 0xc3
mov byte [ebp - 7], 0xc8
mov byte [ebp - 0x40], 0x9a
mov byte [ebp - 0x3f], 8
mov byte [ebp - 0x3e], 0xa
mov byte [ebp - 0x3d], 0xc
mov byte [ebp - 0x3c], 0xe
mov byte [ebp - 0x3b], 0x12
mov byte [ebp - 0x3a], 0x13
mov byte [ebp - 0x39], 0x14
mov byte [ebp - 0x38], 0x15
mov byte [ebp - 0x37], 0x16
mov byte [ebp - 0x36], 0x17
mov byte [ebp - 0x35], 0x18
mov byte [ebp - 0x34], 0x19
mov byte [ebp - 0x33], 0x1a
mov byte [ebp - 0x32], 0x1b
mov byte [ebp - 0x31], 0x1c
mov byte [ebp - 0x30], 0x1d
mov byte [ebp - 0x2f], 0x1e
mov byte [ebp - 0x2e], 0x1f
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x21
mov byte [ebp - 0x2b], 0x22
mov byte [ebp - 0x2a], 0x23
mov byte [ebp - 0x29], 0x24
mov byte [ebp - 0x28], 0x25
mov byte [ebp - 0x27], 0x26
mov dword [ebp - 0x24], 0
jmp 0x44d455
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a
jge 0x44d47c
mov ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [ebp + edx - 0x20]
cmp ecx, eax
jne 0x44d47a
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp + ecx - 0x40]
jmp 0x44d47e
jmp 0x44d44c
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x44d484
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0x23
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0x3c
mov byte [ebp - 0x1d], 0x46
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x78
mov byte [ebp - 0x16], 0x7d
mov byte [ebp - 0x15], 0x82
mov byte [ebp - 0x14], 0x87
mov byte [ebp - 0x13], 0x8c
mov byte [ebp - 0x12], 0x91
mov byte [ebp - 0x11], 0x96
mov byte [ebp - 0x10], 0x9b
mov byte [ebp - 0xf], 0xa0
mov byte [ebp - 0xe], 0xa5
mov byte [ebp - 0xd], 0xaa
mov byte [ebp - 0xc], 0xaf
mov byte [ebp - 0xb], 0xb4
mov byte [ebp - 0xa], 0xb9
mov byte [ebp - 9], 0xbe
mov byte [ebp - 8], 0xc3
mov byte [ebp - 7], 0xc8
mov byte [ebp - 0x40], 0x9a
mov byte [ebp - 0x3f], 8
mov byte [ebp - 0x3e], 0xa
mov byte [ebp - 0x3d], 0xc
mov byte [ebp - 0x3c], 0xe
mov byte [ebp - 0x3b], 0x12
mov byte [ebp - 0x3a], 0x13
mov byte [ebp - 0x39], 0x14
mov byte [ebp - 0x38], 0x15
mov byte [ebp - 0x37], 0x16
mov byte [ebp - 0x36], 0x17
mov byte [ebp - 0x35], 0x18
mov byte [ebp - 0x34], 0x19
mov byte [ebp - 0x33], 0x1a
mov byte [ebp - 0x32], 0x1b
mov byte [ebp - 0x31], 0x1c
mov byte [ebp - 0x30], 0x1d
mov byte [ebp - 0x2f], 0x1e
mov byte [ebp - 0x2e], 0x1f
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x21
mov byte [ebp - 0x2b], 0x22
mov byte [ebp - 0x2a], 0x23
mov byte [ebp - 0x29], 0x24
mov byte [ebp - 0x28], 0x25
mov byte [ebp - 0x27], 0x26
mov dword [ebp - 0x24], 0
jmp 0x44d57a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a
jge 0x44d5a1
mov ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [ebp + edx - 0x40]
cmp ecx, eax
jne 0x44d59f
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp + ecx - 0x20]
jmp 0x44d5a3
jmp 0x44d571
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x44eaca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x264
push eax
push 8
push 0x555f14
push 0x555f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x56cdd8], eax
mov esp, ebp
pop ebp
ret

Function at 0x44eb85
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5246e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov dword [ebp - 0x268], ecx
lea ecx, [ebp - 0x14]
call fcn.004046f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004046f0
mov byte [ebp - 4], 1
push 0x725
mov ecx, dword [ebp - 0x268]
call fcn.0050c0d4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.004062c0
push 0x104
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x268]
add ecx, 0x5c
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.004e86a0
add esp, 8
push 0x555f28
lea eax, [ebp - 0x264]
push eax
call fcn.004e86b0
add esp, 8
lea ecx, [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x44ec6a
push 0x10
push 0x555f2c
push str.Cant_find_QC_Setting_Folder__QC_
mov ecx, dword [ebp - 0x268]
call fcn.0050a80e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0050ce61
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0050ce61
jmp 0x44edaa
push 0x140
push 0
lea edx, [ebp - 0x158]
push edx
call fcn.004e8440
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push str...ini
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xffffffff
jne 0x44ecd8
push 0x10
push str.FAIL
push str.Cant_find_any_QC_Setting_INI_file
mov ecx, dword [ebp - 0x268]
call fcn.0050a80e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0050ce61
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0050ce61
jmp 0x44edaa
cmp dword [ebp - 0x15c], 0xffffffff
je 0x44ed46
lea ecx, [ebp - 0x14]
call fcn.0050cdec
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0050cfea
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.005026cf
mov dword [ebp - 0x160], eax
push 0
mov edx, dword [ebp - 0x160]
push edx
lea ecx, [ebp - 0x14]
call fcn.005021a2
lea ecx, [ebp - 0x14]
call fcn.00404710
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406290
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44ed44
jmp 0x44ed46
jmp 0x44ecd8
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x104
push 0
mov eax, dword [ebp - 0x268]
add eax, 0x87c
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x268]
add ecx, 0x87c
push ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00426bd0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00406200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0050ce61
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0050ce61
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c3fc
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x45c412
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x45c42d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x52bff4]
mov dword [edx + ecx*4], eax
jmp 0x45c409
mov esp, ebp
pop ebp
ret
Function at 0x460bdb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x460c04
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x40
jae 0x460d12
mov ecx, dword [ebp - 0x48]
push ecx
push 0x55b9b0
lea edx, [ebp - 0x44]
push edx
call fcn.004e894d
add esp, 0xc
mov eax, dword [ebp - 0x50]
add eax, 0x8e4
push eax
push 0x40
lea ecx, [ebp - 0x40]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
push 0x55b9b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x460c51
jmp 0x460d12
push 0x55b9c4
lea eax, [ebp - 0x40]
push eax
call fcn.004e9290
add esp, 8
test eax, eax
jne 0x460c7c
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4 + 0xe50], 0x100
jmp 0x460d0d
push 0x55b9cc
lea eax, [ebp - 0x40]
push eax
call fcn.004e9290
add esp, 8
test eax, eax
jne 0x460ca4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4 + 0xe50], 0x101
jmp 0x460d0d
push 0x55b9d8
lea eax, [ebp - 0x40]
push eax
call fcn.004e9290
add esp, 8
test eax, eax
jne 0x460ccc
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4 + 0xe50], 0x102
jmp 0x460d0d
push 0x55b9e4
lea eax, [ebp - 0x40]
push eax
call fcn.004e9290
add esp, 8
test eax, eax
jne 0x460cf4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4 + 0xe50], 0x103
jmp 0x460d0d
lea eax, [ebp - 0x40]
push eax
call fcn.004b6fcd
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [edx + ecx*4 + 0xe50], eax
jmp 0x460bfb
mov esp, ebp
pop ebp
ret
Function at 0x4778b9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0x110]
add eax, 0x4d4
push eax
push 0
push str.ENABLEAUTOTEST
push 0x55eaf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x110]
mov dword [ecx + 0xaec], eax
cmp dword [0x56cea4], 0
jne 0x477904
cmp dword [0x56cea0], 0
je 0x47792d
mov edx, dword [ebp - 0x110]
mov dword [edx + 0xaec], 0
push 0
push 0x54f
mov ecx, dword [ebp - 0x110]
call fcn.0050c0d4
mov ecx, eax
call fcn.0050c4f2
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0xaec]
push ecx
push 0x54f
mov ecx, dword [ebp - 0x110]
call fcn.0050c0d4
mov ecx, eax
call fcn.00406560
mov ecx, dword [ebp - 0x110]
call fcn.0047739c
mov dword [ebp - 0x108], 1
jmp 0x477977
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x11
jge 0x477a05
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x108]
push ecx
push str.InitialPort_d
lea edx, [ebp - 0x104]
push edx
call fcn.004e894d
add esp, 0xc
mov eax, dword [ebp - 0x110]
add eax, 0x4d4
push eax
push 1
lea ecx, [ebp - 0x104]
push ecx
push 0x55eb10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x108]
add eax, 0x608
push eax
mov ecx, dword [ebp - 0x110]
call fcn.0050c0d4
mov ecx, eax
call fcn.00406560
jmp 0x477968
mov ecx, dword [ebp - 0x110]
add ecx, 0x4d4
push ecx
push 0x14
push str.MinProgSpeed
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x110]
mov dword [edx + 0x14f4], eax
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x14f4]
push edx
push 0x55eb30
lea eax, [ebp - 0x104]
push eax
call fcn.004e894d
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0x898
mov ecx, dword [ebp - 0x110]
call fcn.0050c1fd
mov esp, ebp
pop ebp
ret
Function at 0x477aa2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov dword [ebp - 0x51c], ecx
push 0x104
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x51c]
add ecx, 0x2cc
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004e86a0
add esp, 8
push 0x104
push 0
lea eax, [ebp - 0x518]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 0x55eb34
lea edx, [ebp - 0x518]
push edx
call fcn.004e894d
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.004e86b0
add esp, 8
push 0x104
push 0
lea edx, [ebp - 0x30c]
push edx
call fcn.004e8440
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0x104
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0x55eb44
push 0x55eb50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x104
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.004e8440
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0
push str.RDTTEST
push 0x55eb60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0
je 0x477be4
cmp dword [0x56c138], 0x979
jne 0x477bc2
push str.ISP2258RDT.bin
lea ecx, [ebp - 0x414]
push ecx
call fcn.004e86a0
add esp, 8
jmp 0x477be2
cmp dword [0x56c138], 0x97a
jne 0x477be2
push str.ISP2256RDT.bin
lea edx, [ebp - 0x414]
push edx
call fcn.004e86a0
add esp, 8
jmp 0x477c26
cmp dword [0x56c138], 0x979
jne 0x477c06
push str.ISP2258.bin
lea eax, [ebp - 0x414]
push eax
call fcn.004e86a0
add esp, 8
jmp 0x477c26
cmp dword [0x56c138], 0x97a
jne 0x477c26
push str.ISP2256.bin
lea ecx, [ebp - 0x414]
push ecx
call fcn.004e86a0
add esp, 8
lea edx, [ebp - 0x30c]
push edx
push str.________________________Current_Parameter_setting__r_nFlash:____s_r_n
mov eax, dword [ebp + 8]
push eax
call fcn.004e894d
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.004e8440
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push str.Firmware:____s_n
lea eax, [ebp - 0x104]
push eax
call fcn.004e894d
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e86b0
add esp, 8
mov esp, ebp
pop ebp
ret 8
Function at 0x47b857
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
call fcn.004046f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
add eax, 0x6dc
push eax
push 0
push str.ENSNINDICATOR
push 0x55f60c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x14fc], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14fc], 0
je 0x47b9dc
push 0x44
push 0
mov eax, dword [ebp - 0x30]
add eax, 0x1500
push eax
call fcn.004e8440
add esp, 0xc
push 0x165
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x1544
push ecx
call fcn.004e8440
add esp, 0xc
mov dword [ebp - 0x2c], 0
jmp 0x47b8f8
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0x10
jge 0x47b9dc
push 0x15
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.004e8440
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 1
push ecx
push str.PHYSICALDRIVE_d
lea edx, [ebp - 0x28]
push edx
call fcn.00502a32
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 0x6dc
push eax
push 0x15
lea ecx, [ebp - 0x24]
push ecx
push 0x55f628
lea ecx, [ebp - 0x28]
call fcn.00404710
push eax
push str.SNINDICATOR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [eax + edx*4 + 0x1504], 1
push str.DEFAULT
lea ecx, [ebp - 0x24]
push ecx
call fcn.004e9290
add esp, 8
test eax, eax
jne 0x47b98b
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [eax + edx*4 + 0x1504], 0
jmp 0x47b9d7
movsx ecx, byte [ebp - 0x24]
test ecx, ecx
jne 0x47b9b5
push 0x14
push 0x20
mov edx, dword [ebp - 0x2c]
add edx, 1
imul edx, edx, 0x15
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 0x1544]
push ecx
call fcn.004e8440
add esp, 0xc
jmp 0x47b9d7
push 0x14
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 1
imul eax, eax, 0x15
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + eax + 0x1544]
push edx
call fcn.004e8ae0
add esp, 0xc
jmp 0x47b8ef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0050ce61
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x47c6f7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov dword [ebp - 0x20c], ecx
cmp dword [0x56c0f4], 0
je 0x47c797
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004e8440
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x208]
push ecx
call fcn.004e8440
add esp, 0xc
push str.C:SMI_Port_InfoBypassVol.map
lea edx, [ebp - 0x104]
push edx
call fcn.004e86a0
add esp, 8
lea eax, [ebp - 0x104]
push eax
push 0x104
lea ecx, [ebp - 0x208]
push ecx
push 0x56d3a8
push 0x55f89c
push 0x55f8a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 5
lea edx, [ebp - 0x208]
push edx
mov ecx, dword [ebp - 0x20c]
add ecx, 0xd4
call fcn.0047daf0
mov esp, ebp
pop ebp
ret
Function at 0x496406
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
push edi
mov byte [ebp - 0x408], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x407]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x304], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x303]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x608], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x607]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x200], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x60c], 0
push 0x104
lea eax, [ebp - 0x304]
push eax
call fcn.004b7127
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0xeb2
push ecx
lea edx, [ebp - 0x304]
push edx
push 0x5619c8
lea eax, [ebp - 0x408]
push eax
call fcn.004e894d
add esp, 0x10
lea ecx, [ebp - 0x408]
push ecx
push 0
push 0x5619d8
push 0x5619dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x610], eax
cmp dword [ebp - 0x610], 0
je 0x49658a
mov edx, dword [ebp + 8]
mov dword [edx + 0xc10], 0x91
push 0x200
push 0
lea eax, [ebp - 0x608]
push eax
call fcn.004e8440
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x200]
push ecx
call fcn.004e8440
add esp, 0xc
mov byte [ebp - 0x608], pe_nt_image_headers32
mov byte [ebp - 0x607], 0xcc
mov byte [ebp - 0x606], 0xc1
mov byte [ebp - 0x5fd], 1
push 0
push 0x200
lea edx, [ebp - 0x200]
push edx
lea eax, [ebp - 0x608]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482188
add esp, 0x14
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x49656c
xor eax, eax
jmp 0x49658f
mov edx, dword [ebp - 0x200]
and edx, 0xff
and edx, 2
test edx, edx
je 0x496586
mov eax, 1
jmp 0x49658f
xor eax, eax
jmp 0x49658f
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret