Function at 0x420c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4500af
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x46166c]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x46166c]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
jmp 0x420cb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420cb0
sub eax, edx
jne 0x420cc2
xor al, al
jmp 0x421050
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 0
sub esp, 0x44
mov edi, esp
mov dword [esp + 0x34c], 0
mov ecx, 0x11
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push str._sDataUser2.ini
lea edi, [esp + 0x74]
call fcn.00414dd0
add esp, 0x48
cmp dword [0x464938], 0
jne 0x420d37
push 0x2f0
call fcn.0042f140
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x308], 1
test eax, eax
je 0x420d28
mov edi, eax
call fcn.00401050
jmp 0x420d2a
xor eax, eax
mov byte [esp + 0x308], 0
mov dword [0x464938], eax
lea ecx, [esp + 0x194]
call fcn.00402f50
mov esi, eax
mov eax, dword [esi]
push 0x5f
push eax
call fcn.00430782
add esp, 8
test eax, eax
jne 0x420d5b
or eax, 0xffffffff
jmp 0x420d5d
sub eax, dword [esi]
lea esi, [eax + 1]
mov eax, dword [esp + 0x194]
lea ecx, [esp + 0x198]
cmp eax, ecx
je 0x420d7b
push eax
call fcn.0042f7b1
add esp, 4
test esi, esi
jle 0x421074
cmp dword [0x464938], 0
jne 0x420dc1
push 0x2f0
call fcn.0042f140
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x308], 2
test eax, eax
je 0x420db2
mov edi, eax
call fcn.00401050
jmp 0x420db4
xor eax, eax
mov byte [esp + 0x308], 0
mov dword [0x464938], eax
lea ecx, [esp + 0x1dc]
call fcn.00402f50
mov eax, dword [eax]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420dd2
sub eax, edx
sub eax, esi
mov esi, eax
mov eax, dword [esp + 0x1dc]
lea edx, [esp + 0x1e0]
mov dword [esp + 0x10], esi
cmp eax, edx
je 0x420dfe
push eax
call fcn.0042f7b1
add esp, 4
cmp dword [0x464938], 0
jne 0x420e34
push 0x2f0
call fcn.0042f140
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x308], 3
test eax, eax
je 0x420e2d
mov edi, eax
call fcn.00401050
jmp 0x420e2f
xor eax, eax
mov dword [0x464938], eax
lea ecx, [esp + 0x104]
call fcn.00402f50
mov ecx, eax
mov eax, esi
lea edx, [esp + 0xbc]
call fcn.00414a80
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x108]
cmp eax, ecx
je 0x420e6b
push eax
call fcn.0042f7b1
add esp, 4
mov edx, 0x45753c
mov ecx, str..exe
lea ebx, [esp + 0xbc]
call fcn.00414ad0
lea edx, [esp + 0x150]
mov dword [esp + 0x14c], edx
mov byte [esp + 0x150], 0
mov byte [esp + 0x308], 5
cmp dword [0x464938], 0
jne 0x420ed5
push 0x2f0
call fcn.0042f140
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x308], 6
test eax, eax
je 0x420ece
mov edi, eax
call fcn.00401050
jmp 0x420ed0
xor eax, eax
mov dword [0x464938], eax
lea ecx, [esp + 0x104]
call fcn.00402f50
mov esi, eax
mov eax, dword [esi]
push 0x5f
push eax
call fcn.00430782
add esp, 8
test eax, eax
jne 0x420ef9
or eax, 0xffffffff
jmp 0x420efb
sub eax, dword [esi]
sub esp, 0x44
mov edi, esp
mov ecx, 0x11
lea esi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
push ecx
push eax
push str._pos_d__len_d_and_Channel__s_
lea edi, [esp + 0x19c]
call fcn.00414dd0
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x158]
add esp, 0x50
cmp eax, edx
je 0x420f43
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push 0x455120
push 0x455120
call esi
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
je 0x420f7d
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
cmp eax, ecx
je 0x420f98
push eax
call fcn.0042f7b1
add esp, 4
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], ecx
mov byte [esp + 0x78], 0
mov byte [esp + 0x308], 7
movzx edx, word [esp + 0x22]
movzx eax, word [esp + 0x1e]
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
push str._d__d__d
lea edi, [esp + 0x84]
call fcn.00414dd0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x84]
add esp, 0x10
push edx
push eax
push str.SETUPDATE
push 0x455120
call esi
mov ecx, dword [ebx]
lea edx, [esp + 0x224]
call fcn.00415920
lea ebx, [esp + 0x224]
mov byte [esp + 0x308], 8
call fcn.004169f0
mov eax, ebx
call fcn.00415bd0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x421039
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x42104e
push eax
call fcn.0042f7b1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edx
push 0x456260
push 0x455120
push 0x455120
call esi
jmp 0x420f9c