Function at 0x475730
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x50f598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
push edi
push 1
push 0x564910
mov esi, ecx
push 0x55c5a4
call fcn.004fb49a
push 1
push 0x5648f0
push 0x55c5a4
mov ecx, esi
mov dword [0x575520], eax
call fcn.004fb49a
push 1
push 0x5648d8
push 0x55c5a4
mov ecx, esi
mov dword [0x57551c], eax
call fcn.004fb49a
push 1
push 0x5648c0
push 0x55c5a4
mov ecx, esi
mov dword [0x575518], eax
call fcn.004fb49a
push 1
push 0x56048c
push 0x55c5a4
mov ecx, esi
mov dword [0x575524], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 1
push 0x560460
push 0x55c5a4
mov dword [ecx + 0x1a8], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0x78
push 0x5603fc
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x1ac], eax
call fcn.004fb49a
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [0x57614c]
mov dword [esp + 0x24], edi
fild qword [esp + 0x20]
push 1
push 0x560440
push 0x55c5a4
mov ecx, esi
fstp qword [eax + 0x228]
mov eax, dword [0x57614c]
fld qword [eax + 0x228]
fmul qword [0x51b780]
fstp qword [eax + 0x228]
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 1
push 0x560414
push 0x55c5a4
mov dword [ecx + 0xf8], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push edi
push 0x560520
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0xe8], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push edi
push 0x56053c
push 0x55c5a4
mov dword [ecx + 0x5e0], eax
mov ecx, esi
call fcn.004fb49a
push edi
push 0x56489c
push 0x55c5a4
mov ecx, esi
mov dword [0x571190], eax
call fcn.004fb49a
mov edx, dword [0x57614c]
push edi
push 0x56487c
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x5ec], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push edi
push 0x5604b8
push 0x5604fc
mov dword [ecx + 0x5e4], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 1
push 0x56050c
push 0x5604fc
mov ecx, esi
mov dword [edx + 0x5e8], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0x564870
push 0x5604e0
lea edx, [esp + 0x24]
mov dword [ecx + 0xe4], eax
push 0x5604fc
push edx
mov ecx, esi
call fcn.004fb506
push eax
mov eax, dword [0x57614c]
mov dword [esp + 0x38], edi
lea ecx, [eax + 0x244]
call fcn.004e1f6e
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
call fcn.004e1e27
mov ecx, dword [0x57614c]
cmp dword [ecx + 0xe4], edi
je 0x47596b
call fcn.00465000
push ebx
push edi
push 0x560aa4
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0xf
push 0x563cc8
push 0x55c5a4
mov dword [ecx + 0xe0], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
mov dword [edx + 0x6b0], eax
mov eax, dword [0x57614c]
mov ecx, dword [eax + 0xc4]
push ecx
push 0x561634
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0x32
push 0x561508
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0xc4], eax
call fcn.004fb49a
push 0x32
push 0x5614fc
push 0x55c5a4
mov ecx, esi
mov edi, eax
call fcn.004fb49a
push 0x2bc
push 0x5614f0
push 0x55c5a4
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004fb49a
push 0x1f4
push 0x5614e0
push 0x55c5a4
mov ecx, esi
mov ebx, eax
call fcn.004fb49a
test ebx, ebx
je 0x475a57
cmp edi, 0x7d0
jge 0x475a57
cmp edi, 0xffffffec
jl 0x475a57
mov ecx, dword [esi + 0x1c]
push 0x80
push eax
mov eax, dword [esp + 0x28]
push ebx
push edi
push eax
push 0x578570
call fcn.004e141f
push 1
push 0x56158c
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
test eax, eax
mov ebx, 3
je 0x475a76
mov dword [esi + 0x74], ebx
push 0x14
push 0x564860
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x57614c]
mov dword [ecx + 0x748], eax
mov ecx, dword [0x57614c]
call fcn.004582a0
lea edx, [esp + 0x20]
push edx
call fcn.00443670
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
push eax
push 0
push 0x561554
push 0x55c5a4
call edi
mov ecx, dword [0x57614c]
mov dword [ecx + 0x654], eax
lea ecx, [esp + 0x20]
call fcn.004e1e27
lea edx, [esp + 0x20]
push edx
call fcn.00443670
mov eax, dword [eax]
add esp, 4
push eax
mov eax, dword [0x57109c]
push eax
push 0x564220
push 0x55c5a4
call edi
lea ecx, [esp + 0x20]
mov dword [0x57109c], eax
call fcn.004e1e27
push 0x5705d0
lea ecx, [esp + 0x24]
call fcn.004e1e9b
push 0x561748
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 1
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call fcn.004e1e9b
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
push ecx
call fcn.00443670
lea edx, [esp + 0x24]
push 0x400
push edx
mov edx, dword [0x57614c]
push eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
add edx, 0x800
push ecx
push edx
mov byte [esp + 0x54], 4
call fcn.004247f0
add esp, 0x1c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004e1e27
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x20]
call fcn.004e1e27
push 0x5705d0
lea ecx, [esp + 0x1c]
call fcn.004e1e9b
push 0x561724
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 5
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 6
call fcn.004e1e9b
lea eax, [esp + 0x24]
mov bl, 7
push eax
mov byte [esp + 0x3c], bl
call fcn.00443670
lea ecx, [esp + 0x1c]
push 0x400
push ecx
mov ecx, dword [0x57614c]
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
add ecx, 0x804
push eax
push ecx
mov byte [esp + 0x54], 8
call fcn.004247f0
add esp, 0x1c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.004e1e27
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 5
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebp
call fcn.004e1e27
push 0x561778
lea ecx, [esp + 0x1c]
call fcn.004e1e9b
push 0x56170c
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 9
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xa
call fcn.004e1e9b
lea edx, [esp + 0x24]
mov bl, 0xb
push edx
mov byte [esp + 0x3c], bl
call fcn.00443670
lea ecx, [esp + 0x1c]
push 0x400
push ecx
mov ecx, dword [0x57614c]
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
add ecx, 0x7fc
push eax
push ecx
mov byte [esp + 0x54], 0xc
call fcn.004247f0
add esp, 0x1c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.004e1e27
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xa
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 9
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebp
call fcn.004e1e27
mov ecx, dword [0x57614c]
push 1
call fcn.00458170
push 0
push 0x564840
lea edx, [esp + 0x2c]
push 0x55c5a4
push edx
mov ecx, esi
call fcn.004fb506
push eax
mov eax, dword [0x57614c]
mov dword [esp + 0x3c], 0xd
lea ecx, [eax + 0x7f8]
call fcn.004e1f6e
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ebp
call fcn.004e1e27
push 0
push 0x5601b8
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 1
push 0x560c90
push 0x55c5a4
mov dword [ecx + 0x690], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0
push 0x564828
push 0x55c5a4
mov dword [edx + 0x1dc], eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.004fb506
mov ecx, dword [0x57614c]
push eax
add ecx, 0x7b4
mov dword [esp + 0x3c], 0xe
call fcn.004e1f6e
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ebp
call fcn.004e1e27
push 1
push 0x564810
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0xc8
push 0x5647fc
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x6a4], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0
push 0x5647ec
lea edx, [esp + 0x1c]
push 0x55c5a4
mov dword [ecx + 0x6c4], eax
push edx
mov ecx, esi
call fcn.004fb506
mov eax, dword [0x56b44c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x10], eax
mov eax, dword [0x5762a0]
mov byte [esp + 0x38], 0x10
test eax, eax
push 0x8e
lea ecx, [esp + 0x14]
je 0x475e5f
push ecx
call fcn.0041a380
add esp, 8
jmp 0x475e64
call fcn.004e2fed
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004bdb15
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 8
test eax, eax
jne 0x475e95
mov ecx, dword [esi + 0x1c]
push 0
push 0x804a
push 0x111
mov edx, dword [ecx + 0x1c]
push edx
call edi
mov eax, dword [0x5762a0]
push 0x2f9
test eax, eax
je 0x475eb2
lea eax, [esp + 0x14]
push eax
call fcn.0041a380
add esp, 8
jmp 0x475ebb
lea ecx, [esp + 0x14]
call fcn.004e2fed
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x475ee5
push eax
mov eax, dword [esi + 0x1c]
push 0x8019
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
call edi
mov eax, dword [0x5762a0]
push 0x30d
test eax, eax
je 0x475f02
lea edx, [esp + 0x14]
push edx
call fcn.0041a380
add esp, 8
jmp 0x475f0b
lea ecx, [esp + 0x14]
call fcn.004e2fed
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x475f35
mov edx, dword [esi + 0x1c]
push eax
push 0x80c4
push 0x111
mov eax, dword [edx + 0x1c]
push eax
call edi
mov eax, dword [0x5762a0]
push 0x30e
test eax, eax
lea ecx, [esp + 0x14]
je 0x475f52
push ecx
call fcn.0041a380
add esp, 8
jmp 0x475f57
call fcn.004e2fed
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x475f81
mov ecx, dword [esi + 0x1c]
push eax
push 0x80c9
push 0x111
mov edx, dword [ecx + 0x1c]
push edx
call edi
push 1
push 0x55f6d0
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0xaa
push 0x5647d4
push 0x55c5a4
mov dword [ecx + 0x630], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0x32
push 0x5647b8
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x698], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 1
push 0x560fa4
push 0x55c5a4
mov dword [ecx + 0x69c], eax
mov ecx, esi
call fcn.004fb49a
push 0
push 0x560f90
push 0x55c5a4
mov ecx, esi
mov dword [0x5754e8], eax
call fcn.004fb49a
mov edx, dword [0x57112c]
mov ecx, esi
push edx
push 0x560f64
push 0x55c5a4
mov dword [0x5754e0], eax
call fcn.004fb49a
mov dword [0x57112c], eax
mov eax, dword [0x571130]
push eax
push 0x560f4c
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x571134]
mov dword [0x571130], eax
push ecx
push 0x560f38
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x5710dc]
mov ecx, esi
push edx
push 0x560f70
push 0x55c5a4
mov dword [0x571134], eax
call fcn.004fb49a
push 1
push 0x560f24
push 0x55c5a4
mov ecx, esi
mov dword [0x5710dc], eax
call fcn.004fb49a
push 1
push 0x560f0c
push 0x55c5a4
mov ecx, esi
mov dword [0x5754dc], eax
call fcn.004fb49a
push 1
push 0x561070
push 0x55c5a4
mov ecx, esi
mov dword [0x5754d8], eax
call fcn.004fb49a
push 0x561080
mov dword [0x55f15c], eax
push 0x55d42c
lea eax, [esp + 0x2c]
push SysFreeString
push eax
call fcn.004abfd0
mov ecx, dword [eax]
push 0x55d16c
push ecx
call fcn.004bdb15
mov ecx, dword [0x55f15c]
add esp, 0x18
xor edx, edx
test eax, eax
sete dl
cmp ecx, edx
lea ecx, [esp + 0x24]
setne bl
call fcn.004e1e27
test bl, bl
pop ebx
je 0x476143
mov eax, dword [0x55f15c]
push 1
test eax, eax
je 0x476127
push 0x55d16c
jmp 0x47612c
push 0x55d174
push 0x561080
push 0x55d42c
push SysFreeString
call fcn.004ac0f0
add esp, 0x14
push 2
push 0x5647a0
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
push 0
push 0x564784
push 0x55c5a4
mov ecx, esi
mov dword [0x55f154], eax
call fcn.004fb49a
push 0
push 0x56476c
push 0x55c5a4
mov ecx, esi
mov dword [0x576170], eax
call fcn.004fb49a
push 0
push 0x560cd8
push 0x55c5a4
mov ecx, esi
mov dword [0x576174], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0
push 0x564748
push 0x55c5a4
mov dword [ecx + 0x6d8], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0
push 0x56472c
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x618], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0x5705d0
push 0x564714
lea edx, [esp + 0x28]
mov dword [ecx + 0x61c], eax
push 0x55c5a4
push edx
mov ecx, esi
call fcn.004fb506
push eax
mov eax, dword [0x57614c]
mov byte [esp + 0x38], 0x11
lea ecx, [eax + 0x7b8]
call fcn.004e1f6e
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0x10
call fcn.004e1e27
push 0x564704
push 0x5646f4
lea ecx, [esp + 0x30]
push 0x55c5a4
push ecx
mov ecx, esi
call fcn.004fb506
mov edx, dword [0x57614c]
push eax
mov byte [esp + 0x38], 0x12
lea ecx, [edx + 0x818]
call fcn.004e1f6e
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0x10
call fcn.004e1e27
push 0x3c
push 0x5646dc
push 0x55c5a4
mov ecx, esi
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0
push 0x5646c4
push 0x55c5a4
mov dword [ecx + 0x6c0], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0
push 0x5646a8
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x5f4], eax
call fcn.004fb49a
push 0
push 0x564688
push 0x55c5a4
mov ecx, esi
mov dword [0x5754ec], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0
push 0x561308
push 0x55c5a4
mov dword [ecx + 0x5f0], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
push 0xff
push 0x560c70
push 0x55c5a4
mov ecx, esi
mov dword [edx + 0x6e8], eax
call fcn.004fb49a
mov ecx, dword [0x57614c]
push 0xb4
push 0x560c54
push 0x55c5a4
mov dword [ecx + 0x208], eax
mov ecx, esi
call fcn.004fb49a
mov edx, dword [0x57614c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0xf
mov dword [edx + 0x20c], eax
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebp
call fcn.004e1e27
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret