Function at 0x414750
Capabilities:
Accept command line arguments
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x552b61
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5a8f00]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x5a8f00]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00432810
mov ecx, dword [ebx + 0x20]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
lea esi, [ebx + 0x190]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 8]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.0040e9a0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414806
mov dword [ecx], eax
jmp 0x414809
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x20]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00429a35
mov edi, eax
test edi, edi
je 0x4148a1
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.0040e9a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414883
mov dword [ecx], eax
jmp 0x414886
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov edi, dword [edi + 0x20]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.00429a35
mov edi, eax
test edi, edi
jne 0x414824
push 0x16
mov edi, 0xf
xor esi, esi
push 0x580fb8
lea ecx, [esp + 0xfc]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], esi
mov byte [esp + 0xfc], 0
call fcn.00404410
lea eax, [esp + 0xf4]
push eax
mov eax, 0x580fb0
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x24c], esi
call fcn.004093f0
add esp, 4
push eax
mov eax, str.1.2.0
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x24c], 1
call fcn.004093f0
add esp, 4
mov byte [esp + 0x248], 3
cmp dword [esp + 0x1cc], 0x10
jb 0x414933
mov ecx, dword [esp + 0x1b8]
push ecx
call fcn.0042465c
add esp, 4
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1c8], esi
mov byte [esp + 0x1b8], 0
mov byte [esp + 0x248], 4
cmp dword [esp + 0x108], 0x10
jb 0x41496b
mov edx, dword [esp + 0xf4]
push edx
call fcn.0042465c
add esp, 4
cmp dword [esp + 0x204], 0x10
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], esi
mov byte [esp + 0xf4], 0
jae 0x414999
lea eax, [esp + 0x1f0]
push eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x580768
push 0x3f1
mov ecx, ebx
call fcn.0042d3e7
mov ecx, eax
call fcn.0042d4fd
push 0x580768
push 0x3ef
mov ecx, ebx
call fcn.0042d3e7
mov ecx, eax
call fcn.0042d4fd
push 5
push str.1.2.0
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], esi
mov byte [esp + 0xe0], 0
call fcn.00404410
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x24c], 5
call fcn.0041db20
mov esi, 8
mov byte [esp + 0x248], 6
cmp dword [eax + 0x14], esi
jb 0x414a2d
mov eax, dword [eax]
push eax
push 0x3f0
mov ecx, ebx
call fcn.0042d3e7
mov ecx, eax
call fcn.0042d4fd
mov byte [esp + 0x248], 5
cmp dword [esp + 0xb0], esi
jb 0x414a62
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042465c
add esp, 4
lea ecx, [ebx + 0x148]
call fcn.0042ff57
lea ecx, [ebx + 0x150]
call fcn.0042ff57
call fcn.00431617
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadBitmapW]
push 0x9e
push eax
call esi
push eax
lea ecx, [ebx + 0x148]
call fcn.0042fefd
lea eax, [ebx + 0x148]
test eax, eax
je 0x414aa7
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [ebx + 0x150]
call fcn.0042fefd
mov eax, dword [ebx + 0x1ac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ebx + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [ebx + 0x1ac]
mov ecx, dword [ebx + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push 1
push 0x19a
push 0x258
push ecx
push edx
mov ecx, ebx
call fcn.0042d588
push 0x3ec
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9d0]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call edi
push 0x3f0
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9d8]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call edi
push 0x3f5
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call edi
push 0x3f1
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call edi
push 0x3e8
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
push 1
push ecx
push 0x30
mov ecx, dword [eax + 0x20]
push ecx
call edi
push 0x3ed
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call edi
push 0x3ee
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call edi
push 0x3ef
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call edi
push 0x3eb
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [0x5aa9e0]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call edi
push 0x3e8
mov ecx, ebx
call fcn.0042d3e7
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x228]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push 2
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x3e8
mov ecx, ebx
call fcn.0042d3e7
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x228]
push ecx
push 0
push 0xb3
push edx
call edi
push ebx
call fcn.0041be10
mov dword [ebx + 0xc20], 1
call fcn.00431617
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x96
push eax
call esi
mov dword [ebx + 0x188], eax
call fcn.00431617
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x44]
push 0x95
push ecx
call esi
push 0x3f7
mov ecx, ebx
mov dword [ebx + 0x18c], eax
call fcn.0042d3e7
mov ecx, dword [ebx + 0x188]
mov edx, dword [eax + 0x20]
push ecx
push 0
push 0x172
push edx
call edi
push 0x3f8
mov ecx, ebx
call fcn.0042d3e7
mov ecx, dword [ebx + 0x18c]
mov eax, dword [eax + 0x20]
push ecx
push 0
push 0x172
push eax
call edi
mov dword [esp + 0x18], vtable.CStringUtil.0
mov dword [esp + 0xb8], vtable.CIniReader.0
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
push 0
push 0x580469
lea ecx, [esp + 0xc4]
mov byte [esp + 0x250], 8
call fcn.00404410
lea esi, [esp + 0x1d4]
mov byte [esp + 0x248], 9
call fcn.004051b0
push eax
mov eax, str.hwsccp
lea ecx, [esp + 0x14c]
mov byte [esp + 0x24c], 0xa
call fcn.004093f0
add esp, 4
push eax
mov eax, 0x581b58
lea ecx, [esp + 0x114]
mov byte [esp + 0x24c], 0xb
call fcn.004093f0
add esp, 4
mov byte [esp + 0x248], 0xd
cmp dword [esp + 0x15c], 0x10
jb 0x414da8
mov ecx, dword [esp + 0x148]
push ecx
call fcn.0042465c
add esp, 4
xor esi, esi
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], esi
mov byte [esp + 0x148], 0
mov byte [esp + 0x248], 0xe
cmp dword [esp + 0x1e8], 0x10
jb 0x414de6
mov edx, dword [esp + 0x1d4]
push edx
call fcn.0042465c
add esp, 4
lea eax, [esp + 0x110]
push eax
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1e8], esi
mov byte [esp + 0x1d8], 0
call fcn.00406550
add esp, 4
test eax, eax
je 0x414f8c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x134]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.00403c30
lea ecx, [esp + 0xd4]
call fcn.0041cff0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push str.hwsccp
mov byte [ecx], 0
call fcn.00404410
sub esp, 0x1c
mov byte [esp + 0x280], 0xf
mov ecx, esp
mov dword [esp + 0x48], esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push str.apppath
mov byte [ecx], 0
call fcn.00404410
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x284], 0xe
call fcn.0041d0c0
mov byte [esp + 0x248], 0x10
mov eax, dword [esp + 0x2c]
cmp eax, esi
jbe 0x414ee5
cmp dword [esp + 0x30], 0x10
mov ecx, dword [esp + 0x1c]
jae 0x414ece
lea ecx, [esp + 0x1c]
cmp byte [ecx + eax - 1], 0x5c
je 0x414ee5
push 1
mov eax, 0x5805c0
lea ecx, [esp + 0x20]
call fcn.004042f0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 0x16c]
call fcn.00403c30
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x414f07
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x1b0]
call fcn.0041c6f0
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x44]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push edx
mov byte [ecx], 0
call fcn.00403c30
call fcn.004066a0
add esp, 0x20
cmp eax, esi
je 0x414f68
push 0x3e8
mov ecx, ebx
call fcn.0042d3e7
mov eax, dword [eax + 0x20]
push esi
push 1
push 0xcf
push eax
call edi
mov dword [ebx + 0x164], 1
push esi
mov ecx, ebx
call fcn.004292a3
mov byte [esp + 0x248], 0xe
cmp dword [esp + 0x30], 0x10
jb 0x414f8c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042465c
add esp, 4
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
lea eax, [ebx + 0x16c]
push esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.00403c30
call fcn.004066a0
add esp, 0x20
cmp eax, esi
je 0x41512c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
mov ecx, edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0xf
mov byte [esp + 0x64], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414fe1
sub ecx, esi
push ecx
push edi
lea ecx, [esp + 0x6c]
call fcn.00404410
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
push 0xffffffffffffffff
mov byte [esp + 0x24c], 0x12
push edi
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
call fcn.00403c30
lea esi, [esp + 0x38]
mov byte [esp + 0x248], 0x13
call fcn.00405980
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 1
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
push 0x580690
mov byte [ecx], 0
call fcn.00404410
mov eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.00406140
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0x24
cmp ecx, 2
jb 0x4150be
lea edi, [esi + 0x1c]
mov ecx, str.update
call fcn.00409950
test al, al
je 0x4150be
push 0
mov ecx, ebx
call fcn.004292a3
mov eax, 1
mov dword [ebx + 0x168], eax
mov dword [ebx + 0x164], eax
mov byte [esp + 0x248], 0x12
cmp dword [esp + 0x4c], 0x10
jb 0x4150da
mov edx, dword [esp + 0x38]
push edx
call fcn.0042465c
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x248], 0x11
test esi, esi
je 0x41510f
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.00409180
push esi
call fcn.0042465c
add esp, 4
mov byte [esp + 0x248], 0xe
cmp dword [esp + 0x78], 0x10
jb 0x4155af
mov eax, dword [esp + 0x64]
push eax
jmp 0x4155a7
xor esi, esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], esi
mov byte [esp + 0x64], 0
push esi
lea ecx, [esi + 0xa]
lea edi, [esp + 0x210]
mov byte [esp + 0x24c], 0x14
call fcn.004067c0
add esp, 4
mov edi, eax
mov byte [esp + 0x248], 0x15
push 7
push str.D:_test
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
call fcn.00404410
lea ecx, [esp + 0x19c]
push ecx
mov eax, edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x24c], 0x16
call fcn.00409800
add esp, 4
push eax
mov eax, str..txt
lea ecx, [esp + 0x130]
mov byte [esp + 0x24c], 0x17
call fcn.004093f0
add esp, 4
mov byte [esp + 0x248], 0x19
cmp dword [esp + 0x1b0], 0x10
jb 0x4151e2
mov edx, dword [esp + 0x19c]
push edx
call fcn.0042465c
add esp, 4
mov edi, 0xf
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1ac], esi
mov byte [esp + 0x19c], 0
mov byte [esp + 0x248], 0x1a
cmp dword [esp + 0x4c], 0x10
jb 0x415219
mov eax, dword [esp + 0x38]
push eax
call fcn.0042465c
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
mov byte [esp + 0x248], 0x1b
cmp dword [esp + 0x220], 0x10
jb 0x415248
mov ecx, dword [esp + 0x20c]
push ecx
call fcn.0042465c
add esp, 4
mov eax, 0xf
push 6
push str.hwsips
lea ecx, [esp + 0x88]
mov dword [esp + 0x228], eax
mov dword [esp + 0x224], esi
mov byte [esp + 0x214], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], esi
mov byte [esp + 0x88], 0
call fcn.00404410
push 1
push 1
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x26c], 0x1c
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x158]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], esi
push edx
lea edi, [esp + 0xb0]
mov byte [ecx], 0
call fcn.00403c30
mov ecx, edi
call fcn.004056c0
add esp, 0x24
mov byte [esp + 0x248], 0x1b
cmp dword [esp + 0x94], 0x10
jb 0x4152f1
mov eax, dword [esp + 0x80]
push eax
call fcn.0042465c
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x12c]
push ecx
call fcn.00406550
add esp, 4
test eax, eax
je 0x41532b
lea eax, [esp + 0x12c]
call fcn.00407d30
push 1
push 0x581254
lea ecx, [esp + 0x6c]
call fcn.00404410
jmp 0x415379
push 1
xor ecx, ecx
lea esi, [esp + 0xa0]
lea edx, [esp + 0x114]
call fcn.00402d00
mov edi, eax
lea esi, [esp + 0x64]
mov byte [esp + 0x248], 0x1d
call fcn.00403af0
mov byte [esp + 0x248], 0x1b
cmp dword [esp + 0xb0], 0x10
jb 0x415377
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042465c
add esp, 4
xor esi, esi
push 1
mov ecx, 4
lea edi, [esp + 0xa0]
call fcn.004067c0
add esp, 4
mov edi, eax
push str.:Hws.com_
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x188]
push ecx
mov byte [esp + 0x254], 0x1e
call fcn.00409720
add esp, 0xc
push eax
mov eax, str.hwsccp
lea ecx, [esp + 0x168]
mov byte [esp + 0x24c], 0x1f
call fcn.004093f0
add esp, 4
mov ecx, eax
lea edx, [esp + 0x80]
push edx
mov eax, edi
mov byte [esp + 0x24c], 0x20
call fcn.00409800
add esp, 4
push eax
mov eax, 0x5805c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], 0x21
call fcn.004093f0
add esp, 4
mov byte [esp + 0x248], 0x23
cmp dword [esp + 0x94], 0x10
jb 0x415428
mov eax, dword [esp + 0x80]
push eax
call fcn.0042465c
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
mov edi, 0x10
mov byte [esp + 0x248], 0x24
cmp dword [esp + 0x178], edi
jb 0x415468
mov ecx, dword [esp + 0x164]
push ecx
call fcn.0042465c
add esp, 4
mov dword [esp + 0x178], 0xf
mov dword [esp + 0x174], esi
mov byte [esp + 0x164], 0
mov byte [esp + 0x248], 0x25
cmp dword [esp + 0x194], edi
jb 0x4154a3
mov edx, dword [esp + 0x180]
push edx
call fcn.0042465c
add esp, 4
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], esi
mov byte [esp + 0x180], 0
mov byte [esp + 0x248], 0x26
cmp dword [esp + 0xb0], edi
jb 0x4154de
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042465c
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 0x16c]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.00403c30
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x415519
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x1b0]
call fcn.0041c6f0
push esi
mov ecx, ebx
call fcn.004292a3
mov byte [esp + 0x248], 0x1b
cmp dword [esp + 0x30], edi
jb 0x415548
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042465c
add esp, 4
mov byte [esp + 0x248], 0x14
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x140], edi
jb 0x41557a
mov eax, dword [esp + 0x12c]
push eax
call fcn.0042465c
add esp, 4
mov byte [esp + 0x248], 0xe
mov dword [esp + 0x140], 0xf
mov dword [esp + 0x13c], esi
mov byte [esp + 0x12c], 0
cmp dword [esp + 0x78], edi
jb 0x4155af
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042465c
add esp, 4
xor edi, edi
cmp dword [ebx + 0x168], edi
je 0x415654
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x2c], esp
push str.logupdate.log
lea eax, [ebx + 0x16c]
push eax
push edx
call fcn.00409720
add esp, 0xc
mov byte [esp + 0x264], 0x27
push 0xc
mov esi, 0xf
push 0x581b90
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
call fcn.00404410
mov byte [esp + 0x264], 0x28
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x268], 0x29
call fcn.004052a0
add esp, 0x20
mov byte [esp + 0x248], 0xe
cmp dword [esp + 0x4c], 0x10
jb 0x41563e
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042465c
add esp, 4
mov ecx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
call fcn.00418ec0
jmp 0x415659
mov esi, 0xf
mov ebx, 0x10
mov byte [esp + 0x248], 9
cmp dword [esp + 0x124], ebx
jb 0x41567f
mov edx, dword [esp + 0x110]
push edx
call fcn.0042465c
add esp, 4
mov byte [esp + 0x248], 7
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
mov byte [esp + 0x110], 0
mov dword [esp + 0xb8], vtable.CIniReader.0
cmp dword [esp + 0xd0], ebx
jb 0x4156c1
mov eax, dword [esp + 0xbc]
push eax
call fcn.0042465c
add esp, 4
mov byte [esp + 0x248], 4
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xec], ebx
jb 0x4156f8
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0042465c
add esp, 4
mov dword [esp + 0x248], 0xffffffff
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x204], ebx
jb 0x415732
mov edx, dword [esp + 0x1f0]
push edx
call fcn.0042465c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00523079
mov esp, ebp
pop ebp
ret