Function at 0x483ce4
Capabilities:
Extract resource via kernel32 functions
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov dword [ebp - 0x644], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x220], ax
mov word [ebp - 0x42c], 0
cmp dword [ebp + 8], 0
je 0x483f58
mov eax, dword [ebp - 0x644]
mov dword [eax + 0x2ae8], 0
mov dword [ebp - 0x434], 1
jmp 0x483d45
mov ecx, dword [ebp - 0x434]
add ecx, 1
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x644]
mov eax, dword [ebp - 0x434]
cmp eax, dword [edx + 0x2ae4]
jg 0x483f04
push 0x52fc64
mov ecx, dword [ebp - 0x644]
add ecx, 0x2820
push ecx
call fcn.004ba79a
add esp, 8
mov edx, dword [ebp - 0x434]
push edx
push 0x5127f8
lea eax, [ebp - 0x21c]
push eax
call fcn.004ba7bf
add esp, 0xc
mov ecx, dword [ebp - 0x644]
add ecx, 0xd58
push ecx
push 0x104
lea edx, [ebp - 0x428]
push edx
push 0x5304e4
lea eax, [ebp - 0x21c]
push eax
push 0x512810
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x644]
add ecx, 0xd58
push ecx
push 0
lea edx, [ebp - 0x428]
push edx
push 0x512830
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov word [ebp - 0x42c], ax
mov eax, dword [ebp - 0x644]
add eax, 0xd58
push eax
push 0x104
lea ecx, [ebp - 0x640]
push ecx
push 0x5304e8
lea edx, [ebp - 0x428]
push edx
push 0x512850
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x512870
lea eax, [ebp - 0x640]
push eax
call fcn.004bb8cf
add esp, 8
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x483eff
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.0040d610
mov edx, dword [ebp - 0x42c]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.004047c0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.004116c0
cmp dword [ebp - 0x438], 0
je 0x483eff
mov eax, dword [ebp - 0x438]
push eax
call fcn.004ba82e
add esp, 4
mov word [ebp - 0x42c], ax
mov ecx, dword [ebp - 0x42c]
and ecx, 0xffff
mov edx, dword [ebp - 0x220]
and edx, 0xffff
cmp ecx, edx
jne 0x483ee8
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.004047c0
sub eax, 1
mov ecx, dword [ebp - 0x644]
mov dword [ecx + 0x2ae8], eax
jmp 0x483eff
push 0x512878
push 0
call fcn.004bb8cf
add esp, 8
mov dword [ebp - 0x438], eax
jmp 0x483e8b
jmp 0x483d36
mov edx, dword [ebp - 0x220]
and edx, 0xffff
push edx
push 0
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.004116c0
mov eax, dword [ebp - 0x644]
cmp dword [eax + 0x2ae8], 0
jne 0x483f43
mov ecx, dword [ebp - 0x644]
mov dword [ecx + 0x2ae8], 1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.004047f0
push 0x52fa5c
push 1
push str.bitmap_with_text
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x484098
mov eax, dword [ebp - 0x644]
cmp dword [eax + 0x1964], 0
je 0x483fbf
mov ecx, dword [ebp - 0x644]
mov edx, dword [ecx + 0x1964]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x644]
mov dword [eax + 0x1964], 0
mov ecx, dword [ebp - 0x644]
add ecx, 0x1954
call fcn.004d2c63
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.0040d5e0
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.00411690
cmp eax, 0x404
jne 0x484001
push 0x91
mov ecx, dword [ebp - 0x644]
add ecx, 0x1954
call fcn.00452260
jmp 0x484059
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.0040d5e0
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.00411690
cmp eax, 0x804
jne 0x484043
push 0x92
mov ecx, dword [ebp - 0x644]
add ecx, 0x1954
call fcn.00452260
jmp 0x484059
push 0x88
mov ecx, dword [ebp - 0x644]
add ecx, 0x1954
call fcn.00452260
mov ecx, dword [ebp - 0x644]
add ecx, 0x1954
call fcn.00452230
mov ecx, dword [ebp - 0x644]
mov dword [ecx + 0x1964], eax
mov edx, dword [ebp - 0x644]
cmp dword [edx + 0x1964], 0
je 0x484098
mov eax, dword [ebp - 0x644]
mov ecx, dword [eax + 0x1964]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [ebp + 0xc], 0
jne 0x4840af
mov edx, dword [ebp - 0x644]
mov eax, dword [edx + 0x2ae8]
mov dword [ebp - 4], eax
jmp 0x4840c3
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.0040d5e0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73864
call fcn.00411690
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
jmp 0x4840ed
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x644]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x2ae4]
jg 0x48418f
mov edx, dword [ebp - 0x14]
push edx
push 0x5128b4
lea eax, [ebp - 0x21c]
push eax
call fcn.004ba7bf
add esp, 0xc
mov ecx, dword [ebp - 0x644]
add ecx, 0xd58
push ecx
push 0x104
lea edx, [ebp - 0x428]
push edx
push 0x5304ec
lea eax, [ebp - 0x21c]
push eax
push 0x5128cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x644]
add ecx, 0xd58
push ecx
push 0
lea edx, [ebp - 0x428]
push edx
push 0x5128ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 4], eax
jne 0x48418a
mov eax, dword [ebp - 0x14]
push eax
push 0x51290c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004ba7bf
add esp, 0xc
jmp 0x48418f
jmp 0x4840e4
push 0x52fc64
mov edx, dword [ebp - 0x644]
add edx, 0x2820
push edx
call fcn.004ba79a
add esp, 8
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x2820
push ecx
call fcn.004ba770
add esp, 8
mov dword [ebp - 0x14], 0
jmp 0x4841d7
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x79
jge 0x484237
mov eax, dword [ebp - 0x14]
push eax
push str.ITEM__d
lea ecx, [ebp - 0x428]
push ecx
call fcn.004ba7bf
add esp, 0xc
mov edx, dword [ebp - 0x644]
add edx, 0x2820
push edx
push 0x104
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x208
mov ecx, dword [ebp - 0x644]
lea edx, [ecx + eax + 0x2aec]
push edx
push 0x5304f0
lea eax, [ebp - 0x428]
push eax
push str.ITEM
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4841ce
push 0x5c
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004ba860
add esp, 0xc
mov edx, dword [ebp - 0x644]
add edx, 0x2820
push edx
push 0x104
mov eax, dword [ebp - 0x644]
add eax, 0x948
push eax
push str.MS_Sans_Serif
push str.font_name
push 0x512978
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x644]
add ecx, 0x2820
push ecx
push 6
push str.font_size
push 0x512998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x10], 0x64
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x1b], 0x22
mov edx, dword [ebp - 0x644]
add edx, 0x2820
push edx
push 0
push str.TCHAR_set
push str.FONT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x17], al
mov edx, dword [ebp - 0x644]
add edx, 0x948
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x644]
cmp dword [ecx + 0x1a98], 0
jne 0x484321
push 4
push 0
push 0x5a
mov edx, dword [ebp - 0x644]
add edx, 0x948
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x2a28
call fcn.004ac049
mov ecx, dword [ebp - 0x644]
call fcn.0048473b
mov ecx, dword [ebp - 0x644]
call fcn.0040a398
push 0x52fa5c
push 0
push 0x5129c4
push 0x5129e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73990
call fcn.004047f0
mov ecx, dword [ebp - 0x644]
add ecx, 0x738dc
call fcn.0040d5e0
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x738dc
call fcn.0040d670
cmp dword [ebp - 0x430], 0xffffffff
jne 0x4843a1
mov dword [ebp - 0x430], 0
push 0x52fa5c
push 0
push str.bass_subwoofer_item_count
push 0x512a38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x4843cd
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
jge 0x484402
mov eax, dword [ebp - 0x14]
add eax, 0x55
imul eax, eax, 0x208
mov ecx, dword [ebp - 0x644]
lea edx, [ecx + eax + 0x2aec]
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x738dc
call fcn.0040d610
jmp 0x4843c4
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x738dc
call fcn.004047f0
mov ecx, dword [ebp - 0x644]
add ecx, 0x738a0
call fcn.0040d670
mov dword [ebp - 0x14], 0
jmp 0x48443d
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 5
jge 0x484470
mov edx, dword [ebp - 0x14]
add edx, 0x50
imul edx, edx, 0x208
mov eax, dword [ebp - 0x644]
lea ecx, [eax + edx + 0x2aec]
push ecx
mov ecx, dword [ebp - 0x644]
add ecx, 0x738a0
call fcn.0040d610
jmp 0x484434
push 0x52fa5c
push 0
push str.bass_preset_select
push 0x512a7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x430], eax
mov edx, dword [ebp - 0x430]
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x738a0
call fcn.004047f0
mov ecx, dword [ebp - 0x644]
add ecx, 0x73af8
call fcn.0040d670
mov eax, dword [ebp - 0x644]
add eax, 0x10c64
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73af8
call fcn.0040d610
mov ecx, dword [ebp - 0x644]
add ecx, 0x10444
push ecx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73af8
call fcn.0040d610
mov ecx, dword [ebp - 0x644]
add ecx, 0x73b34
call fcn.0040d670
mov edx, dword [ebp - 0x644]
cmp dword [edx + 0x6f69c], 0
jne 0x48454e
mov eax, dword [ebp - 0x644]
add eax, 0x10c64
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73b34
call fcn.0040d610
mov ecx, dword [ebp - 0x644]
add ecx, 0x10444
push ecx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73b34
call fcn.0040d610
jmp 0x484589
mov edx, dword [ebp - 0x644]
add edx, 0x10e6c
push edx
mov ecx, dword [ebp - 0x644]
add ecx, 0x73b34
call fcn.0040d610
mov eax, dword [ebp - 0x644]
add eax, 0x11074
push eax
mov ecx, dword [ebp - 0x644]
add ecx, 0x73b34
call fcn.0040d610
mov esp, ebp
pop ebp
ret 0xc