Function at 0x407a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push esi
push edi
lea edi, [ebp - 0x838]
mov ecx, 0x20e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x394], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x393]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3f8], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x3f7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.._vre_dev.ini
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 8
mov esi, esp
lea ecx, [ebp - 0x64]
push ecx
push 0xa
lea edx, [ebp - 0x70]
push edx
push 0
push str.size
push str.active
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea eax, [ebp - 0x64]
push eax
push 0x64
lea ecx, [ebp - 0x394]
push ecx
push 0
push str.width
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov dword [0x49c348], eax
mov esi, esp
lea ecx, [ebp - 0x64]
push ecx
push 0x64
lea edx, [ebp - 0x394]
push edx
push 0
push str.height
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea ecx, [ebp - 0x394]
push ecx
call fcn.004252f0
add esp, 4
mov dword [0x49c2cc], eax
mov esi, esp
lea edx, [ebp - 0x64]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
push str.memory
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea edx, [ebp - 0x394]
push edx
call fcn.004252f0
add esp, 4
mov dword [0x49bee4], eax
mov esi, esp
lea eax, [ebp - 0x64]
push eax
push 0x64
push 0x496da8
push 0
push str.project
push str.active
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
push 0x496da8
push str._s.axf
lea ecx, [ebp - 0x32c]
push ecx
call fcn.00425440
add esp, 0xc
lea edx, [ebp - 0x32c]
push edx
push 0xff
lea eax, [ebp - 0x7f8]
push eax
call fcn.00406280
add esp, 0xc
lea ecx, [ebp - 0x7f8]
push ecx
call fcn.004098b0
add esp, 4
mov dword [0x49a2c4], eax
mov esi, esp
lea edx, [ebp - 0x64]
push edx
push 0x64
push 0x496ca8
push 0
push str.resourcepath
push str.active
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x4f8]
push eax
call fcn.00409800
add esp, 4
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_vre_sim_cfg.ini
lea eax, [ebp - 0x5f8]
push eax
call fcn.00425440
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0xd4]
push edx
push 0
push str.sim_main_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x138]
push edx
push 0
push str.sms_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x19c]
push edx
push 0
push str.call_notify_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x200]
push edx
push 0
push str.calling_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x264]
push edx
push 0
push str.call_out_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x2c8]
push edx
push 0
push str.vre_bg_bmp
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x394]
push edx
push 0
push str.sim_win_width
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea ecx, [ebp - 0x394]
push ecx
call fcn.004252f0
add esp, 4
mov dword [0x49becc], eax
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
push str.sim_win_height
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea edx, [ebp - 0x394]
push edx
call fcn.004252f0
add esp, 4
mov dword [0x49bf8c], eax
mov esi, esp
lea eax, [ebp - 0x5f8]
push eax
push 0x64
lea ecx, [ebp - 0x394]
push ecx
push 0
push str.screen_offset_x
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov dword [0x49bb68], eax
mov esi, esp
lea ecx, [ebp - 0x5f8]
push ecx
push 0x64
lea edx, [ebp - 0x394]
push edx
push 0
push str.screen_offset_y
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea ecx, [ebp - 0x394]
push ecx
call fcn.004252f0
add esp, 4
mov dword [0x49bcb8], eax
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
push str.key_num
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea edx, [ebp - 0x394]
push edx
call fcn.004252f0
add esp, 4
mov dword [0x49a2bc], eax
mov eax, dword [0x49a2bc]
imul eax, eax, 0x1c
push eax
call fcn.00425860
add esp, 4
mov dword [0x496ea8], eax
mov ecx, dword [0x49a2bc]
imul ecx, ecx, 0x1c
push ecx
push 0
mov edx, dword [0x496ea8]
push edx
call fcn.00425800
add esp, 0xc
mov dword [ebp - 0x330], 1
jmp 0x407ef7
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
cmp ecx, dword [0x49a2bc]
jg 0x408280
push 0x64
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.00425800
add esp, 0xc
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_left
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_top
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_right
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 8], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_bottom
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 0xc], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_value
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x394]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x394]
push eax
call fcn.004252f0
add esp, 4
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 0x10], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_down_bmp
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x32c]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [ebp - 0x330]
push eax
push str.key_d_up_bmp
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00425440
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x5f8]
push edx
push 0x64
lea eax, [ebp - 0x32c]
push eax
push 0
lea ecx, [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.004251b0
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov ecx, dword [ebp - 0x330]
sub ecx, 1
imul ecx, ecx, 0x1c
mov edx, dword [0x496ea8]
mov dword [edx + ecx + 0x18], eax
jmp 0x407ee8
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49bee0], eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49b770], eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49b75c], eax
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49b778], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49b76c], eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x4f8]
push edx
push str._s_src_archwin32_s_s
lea eax, [ebp - 0x64]
push eax
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x49c234]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49b774], eax
push str.preview.bmp
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
push str._s_src_archwin32_s_s
lea edx, [ebp - 0x64]
push edx
call fcn.00425440
add esp, 0x14
mov esi, esp
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [0x49c234]
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
cmp esi, esp
call fcn.004251b0
mov dword [0x49c344], eax
pop edi
pop esi
pop ebx
add esp, 0x838
cmp ebp, esp
call fcn.004251b0
mov esp, ebp
pop ebp
ret