Function at 0x436230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7eef
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48c], 0
cmp dword [esi + 0x10], 0
jne 0x43628d
push str.web_version_is_null__
push 0x151
push str.LDSpaceUpdateModel::_checkWebVersion
call fcn.00436bb0
add esp, 0xc
jmp 0x436899
lea eax, [ebp - 0x488]
push eax
call fcn.0043aec0
add esp, 4
push 0x15
push str.htmldist_version.ini
lea ecx, [ebp - 0x488]
mov dword [ebp - 4], 0
call fcn.00403ef0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004a3c10
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.0043c8c0
add esp, 0x14
cmp dword [eax + 0x14], 0x10
jb 0x4362e6
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x4e62ab
push str.version
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x490]
cmp edx, 0x10
jb 0x436342
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436338
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368b7
push edx
push ecx
call fcn.004a1afe
add esp, 8
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436370
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00407760
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0043c840
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4363b2
mov eax, dword [eax]
push eax
push str.local_web_version:__s
push 0x15b
push str.LDSpaceUpdateModel::_checkWebVersion
call fcn.00436bb0
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x43640e
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436404
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368bc
push edx
push ecx
call fcn.004a1afe
add esp, 8
xor eax, eax
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 0x10
jb 0x436468
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43645e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368bc
push edx
push ecx
call fcn.004a1afe
add esp, 8
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436496
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00407760
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 3
push esi
push eax
call fcn.0043c840
add esp, 8
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4364d5
mov esi, dword [esi]
mov ebx, dword [ebp - 0x42c]
lea ecx, [ebp - 0x440]
mov edi, dword [ebp - 0x440]
cmp ebx, 0x10
mov edx, dword [ebp - 0x430]
push eax
cmovae ecx, edi
push esi
call fcn.00429e20
shr eax, 0x1f
add esp, 8
test al, al
je 0x436873
lea eax, [ebp - 0x470]
push eax
call fcn.0043aec0
add esp, 4
push 0xa
push str.htmldist_
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 5
call fcn.00403ef0
lea eax, [ebp - 0x428]
push eax
call fcn.0043aec0
add esp, 4
push 9
push str.htmldist
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 6
call fcn.00403ef0
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push dword [ebp - 0x448]
cmovae eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x428]
push eax
call fcn.00403ef0
push 6
push str.dist_
lea ecx, [ebp - 0x428]
call fcn.00403ef0
lea eax, [ebp - 0x428]
push eax
call fcn.0043aa50
add esp, 4
test al, al
je 0x436607
mov ecx, dword [ebp - 0x418]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xa
jb 0x4368c1
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push 0xa
cmovae eax, dword [ebp - 0x428]
push str.index.html
push ecx
push eax
push ecx
push dword [ebp - 0x48c]
lea ecx, [ebp - 0x4a4]
call fcn.004049b0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x48c], 3
call fcn.0043aa50
add esp, 4
test al, al
je 0x436607
mov bl, 1
jmp 0x436609
xor bl, bl
mov dword [ebp - 4], 6
test byte [ebp - 0x48c], 1
je 0x436659
mov edx, dword [ebp - 0x490]
cmp edx, 8
jb 0x436659
mov ecx, dword [ebp - 0x4a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43664f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368c6
push edx
push ecx
call fcn.004a1afe
add esp, 8
test bl, bl
je 0x4366f8
push str.use_new_web_version
push 0x16a
push str.LDSpaceUpdateModel::_checkWebVersion
call fcn.00436bb0
lea eax, [ebp - 0x470]
push eax
call fcn.0043aba0
push 3
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0043aac0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.0043a850
push eax
mov byte [ebp - 4], 8
call fcn.0043aba0
mov edx, dword [ebp - 0x490]
add esp, 0x28
cmp edx, 8
jb 0x43670f
mov ecx, dword [ebp - 0x4a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4366ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368cb
push edx
push ecx
call fcn.004a1afe
add esp, 8
jmp 0x43670f
push str.no_files
push 0x170
push str.LDSpaceUpdateModel::_checkWebVersion
call fcn.00436bb0
add esp, 0xc
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x43674f
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368d0
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov edx, dword [ebp - 0x45c]
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp edx, 8
jb 0x4367ac
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4367a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368d0
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ebx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x4367f2
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4367e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368d5
push edx
push ecx
call fcn.004a1afe
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
cmp ebx, 0x10
jb 0x43683f
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x436835
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368d5
push ecx
push edi
call fcn.004a1afe
add esp, 8
mov edx, dword [ebp - 0x474]
cmp edx, 8
jb 0x436899
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43688f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368d5
jmp 0x43688f
push str.use_local_web
push 0x174
push str.LDSpaceUpdateModel::_checkWebVersion
call fcn.00436bb0
add esp, 0xc
jmp 0x4367b2
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 4
call fcn.004a670d
call fcn.004a670d
call fcn.00402c90
call fcn.004a670d
call fcn.004a670d
call fcn.004a670d
call fcn.004a670d
int3