Function at 0x403bf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51f12c
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x565fd0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x565fd0]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
push 0x547cb0
lea ecx, [esp + 0x14]
call fcn.004021e0
xor ebx, ebx
mov dword [esp + 0x29c], ebx
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x403c6b
push 0x104
lea ecx, [esp + 0x14]
call fcn.00402610
mov edx, dword [esp + 0x10]
push str...config.ini
push 0x104
push edx
push str.Dashboard
push str.RegKey
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004f9c77
add esp, 8
cmp eax, ebx
jl 0x404015
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x404015
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], bl
push 0x547bfc
lea ecx, [esp + 0x18]
call fcn.004021e0
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2a8], 1
call fcn.004044a0
add esp, 0xc
mov byte [esp + 0x29c], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x56d40c
call fcn.00404640
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x56d410
call fcn.00404640
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.CDDISK_HID
mov edi, 0x56d444
call fcn.004021e0
call fcn.00403a20
mov edi, vtable.cnShiftDevice.0
add esp, 4
lea ecx, [esp + 0x158]
mov dword [esp + 0x1c], edi
call fcn.00415564
xor eax, eax
push 0x104
lea ecx, [esp + 0x58]
push ebx
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov byte [esp + 0x45], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.004fb1b0
mov byte [esp + 0x2a8], 3
xor eax, eax
mov byte [esp + 0x188], bl
mov byte [esp + 0x17c], bl
push str.MMC_Storage
lea ebx, [esp + 0x18c]
mov esi, str.DiskPid
mov dword [esp + 0x18d], eax
mov dword [esp + 0x191], eax
mov dword [esp + 0x195], eax
mov dword [esp + 0x199], eax
mov dword [esp + 0x181], eax
mov dword [esp + 0x185], eax
call fcn.004043c0
mov eax, ebx
add esp, 0x10
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403e40
sub eax, ecx
cmp eax, 0x10
jge 0x403e6c
mov ecx, 0x10
sub ecx, eax
test ecx, ecx
jle 0x403e6c
push ecx
lea eax, [esp + eax + 0x180]
push 0x20
push eax
call fcn.004fb1b0
add esp, 0xc
push str.USBModem
lea ebx, [esp + 0x174]
mov esi, str.DiskVid
call fcn.004043c0
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e90
sub eax, edx
cmp eax, 8
jge 0x403ebc
mov ecx, 8
sub ecx, eax
test ecx, ecx
jle 0x403ebc
push ecx
lea eax, [esp + eax + 0x174]
push 0x20
push eax
call fcn.004fb1b0
add esp, 0xc
push str.USBSTORCdRomUSBModemMMC_Storage_____2.31
lea edx, [esp + 0x20]
push edx
call fcn.00402e30
mov eax, dword [0x56d444]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00402e30
mov edx, dword [0x547bd4]
mov eax, dword [0x547bd8]
mov ecx, dword [0x547bdc]
mov dword [esp + 0x3c], edx
mov edx, dword [0x547be0]
xor ebx, ebx
push 0xfe
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
mov eax, dword [0x547be4]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x547be8]
lea edx, [esp + 0x195]
push ebx
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x19c], bl
call fcn.004fb1b0
add esp, 0xc
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00402800
cmp eax, ebx
je 0x403f57
lea edx, [esp + 0x190]
push edx
call fcn.00402d10
mov esi, eax
cmp eax, ebx
jne 0x403faa
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x29], edx
mov edx, dword [esp + 0x188]
lea esi, [esp + 0x1c]
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], ecx
mov dword [esp + 0x35], edx
call fcn.004027a0
mov esi, eax
mov byte [esp + 0x29c], bl
lea ecx, [esp + 0x158]
mov dword [esp + 0x1c], edi
call fcn.00415790
mov dword [esp + 0x29c], 0xffffffff
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 0x403fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004f96cd
add esp, 0x290
ret
push 0x80070057
call fcn.004020f0
int3