Function at 0x405d20
Capabilities:
Check http status code
Get graphical window text
Query or enumerate registry value
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x419b2c
mov eax, dword fs:[0]
push eax
mov eax, 0x1144
mov dword fs:[0], esp
call fcn.00412100
mov eax, dword [0x42119c]
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x114c], eax
push edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x115c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov edi, dword [esp + 0x1168]
mov ecx, dword [edi + 0x20c]
mov ebp, dword [esp + 0x1164]
mov edx, dword [edi + 0x208]
mov eax, dword [ebp]
push esi
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x1168], 3
xor ebx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
call dword [eax + 8]
cmp eax, 0xffffffff
jne 0x405de2
cmp edx, esi
jne 0x405de2
mov eax, 0x10002
jmp 0x4074f2
mov eax, dword [ebp]
push esi
push 4
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
test eax, eax
je 0x405e03
mov ebx, 0x10002
jmp 0x406020
mov edx, dword [ebp]
push esi
push 2
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x405e21
mov ebx, 0x10002
jmp 0x406020
cmp word [esp + 0x14], 0xc8
jbe 0x405e34
mov ebx, 0x10004
jmp 0x406020
mov eax, dword [esp + 0x116c]
mov edx, dword [ebp]
push esi
add eax, 0x314
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x405e58
mov ebx, 0x10002
jmp 0x406020
mov eax, dword [esp + 0x116c]
mov edx, dword [ebp]
add eax, 0x418
push esi
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x405e7c
mov ebx, 0x10002
jmp 0x406020
mov eax, dword [esp + 0x116c]
add eax, 0x418
mov edx, edi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405e90
mov eax, dword [esp + 0x116c]
mov edx, dword [ebp]
add eax, 0x51c
push esi
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x405ebe
mov ebx, 0x10002
jmp 0x406020
mov eax, dword [esp + 0x116c]
add eax, 0x51c
sub edi, eax
lea edx, [edi + 0x104]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405ed2
mov edi, dword [esp + 0x116c]
mov eax, dword [ebp]
push esi
lea ecx, [edi + 0x620]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
test eax, eax
je 0x405f01
mov ebx, 0x10002
jmp 0x406020
mov edx, dword [ebp]
push esi
push 1
lea eax, [esp + 0x23]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x405f1f
mov ebx, 0x10002
jmp 0x406020
cmp byte [esp + 0x1b], 1
jne 0x405f46
mov edx, dword [ebp]
push esi
push 0x10
lea eax, [edi + 0x828]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x405f46
mov ebx, 0x10002
jmp 0x406020
cmp word [esp + 0x14], 0x78
lea eax, [edi + 0x838]
mov byte [eax], 1
mov dword [edi + 0x83c], esi
jb 0x405fd6
mov edx, dword [ebp]
push esi
push 1
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x405f77
mov ebx, 0x10002
jmp 0x406020
mov eax, dword [ebp]
push esi
push 2
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
test eax, eax
je 0x405f95
mov ebx, 0x10002
jmp 0x406020
mov ax, word [esp + 0x24]
cmp ax, 1
jb 0x405fd6
xor edi, edi
cmp ax, si
jbe 0x405fd6
jmp 0x405fb0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x116c]
push edx
push eax
push ebp
call fcn.00402630
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x406020
movzx ecx, word [esp + 0x24]
inc edi
cmp edi, ecx
jl 0x405fb0
cmp word [esp + 0x14], 0x98
jb 0x40601b
mov edx, dword [ebp]
push esi
push 1
lea eax, [esp + 0x1a]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x405ffa
mov ebx, 0x10002
jmp 0x406020
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.004028d0
add esp, 0x14
mov ebx, eax
jmp 0x406020
mov byte [esp + 0x12], 2
mov edx, dword [esp + 0x116c]
cmp dword [edx + 0x83c], esi
jne 0x4060b3
mov edi, edx
mov dword [edi + 0x83c], 0x3a4
mov ecx, dword [0x41a3a4]
lea eax, [edi + 0x840]
mov dword [eax], ecx
mov edx, dword [0x41a3a8]
mov dword [eax + 4], edx
mov ecx, dword [0x41a3ac]
mov dword [eax + 8], ecx
mov edx, dword [0x41a3b0]
mov dword [edi + 0x944], 0xc
xor esi, esi
mov dword [eax + 0xc], edx
add edi, 0x948
lea ebx, [ebx]
mov eax, dword [edi]
mov edx, dword [esp + 0x116c]
push 0x104
push eax
mov eax, dword [edx]
lea ecx, [esi + 0x3e8]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [edi]
push ecx
call fcn.00401ba0
add esp, 4
inc esi
add edi, 4
cmp esi, 0x4a
jb 0x406080
xor esi, esi
cmp ebx, esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov byte [esp + 0xb9], 0
mov byte [esp + 0xba], 0
mov byte [esp + 0xbb], 1
mov byte [esp + 0xbc], 0
mov byte [esp + 0xbd], 0
mov byte [esp + 0xbe], 2
mov byte [esp + 0xbf], 0
jne 0x4073a2
mov edi, dword [esp + 0x116c]
mov edx, dword [edi + 0x944]
mov dword [esp + 0xa4], edx
lea eax, [edi + 0x840]
lea edx, [esp + 0xc0]
mov dword [esp + 0xb4], 0x190
mov byte [esp + 0xb8], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406140
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push esi
push 0x1c
mov dword [0x422004], eax
mov ecx, dword [edi + 0xa90]
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp]
push 1
push esi
push esi
mov ecx, ebp
call dword [edx + 8]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x34], edx
jne 0x406197
cmp edx, esi
jne 0x406197
mov ebx, 0x10002
jmp 0x407466
mov esi, dword [esp + 0x1168]
mov ecx, dword [esi + 0x20c]
mov edx, dword [esi + 0x208]
mov eax, dword [ebp]
push 0
push ecx
push edx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 0xffffffff
jne 0x4061c9
test edx, edx
jne 0x4061c9
mov ebx, 0x10002
jmp 0x407466
mov eax, dword [esp + 0x116c]
mov ecx, dword [esi + 0x214]
mov edx, dword [esi + 0x210]
push eax
push ecx
push edx
push ebp
call fcn.00402100
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x407461
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp]
push ebx
push ecx
push edi
mov ecx, ebp
call dword [eax + 8]
cmp eax, 0xffffffff
jne 0x406214
test edx, edx
jne 0x406214
mov ebx, 0x10002
jmp 0x407466
mov edi, dword [esp + 0x116c]
mov cl, byte [edi + 0x314]
test cl, cl
lea eax, [edi + 0x314]
jne 0x406245
mov edx, dword [str.No_Title]
mov dword [eax], edx
mov ecx, dword [0x41a39c]
mov dword [eax + 4], ecx
mov dl, byte [0x41a3a0]
mov byte [eax + 8], dl
mov al, byte [edi + 0x418]
add edi, 0x418
test al, al
jne 0x406271
mov ecx, dword [str.Old_Version]
mov eax, edi
mov dword [eax], ecx
mov edx, dword [0x41a390]
mov dword [eax + 4], edx
mov ecx, dword [0x41a394]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x116c]
mov al, byte [esi + 0x51c]
add esi, 0x51c
test al, al
jne 0x4062a2
mov eax, dword [0x41a380]
mov edx, esi
mov dword [edx], eax
mov ecx, dword [0x41a384]
mov dword [edx + 4], ecx
mov eax, dword [0x41a388]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x116c]
push esi
push edi
lea eax, [ecx + 0x314]
mov ecx, dword [ecx + 0x968]
push eax
push ecx
lea edx, [esp + 0x648]
push edx
call section..text
mov ecx, dword [esp + 0x1180]
mov edx, dword [ecx + 0xa90]
add esp, 0x14
lea eax, [esp + 0x638]
push eax
push 0x64
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x116c]
push esi
push edi
add eax, 0x314
push eax
mov eax, dword [esp + 0x1178]
mov ecx, dword [eax + 0x96c]
push ecx
lea edx, [esp + 0xe60]
push edx
call section..text
mov ecx, dword [esp + 0x1180]
mov edx, dword [ecx + 0xa90]
add esp, 0x14
lea eax, [esp + 0xe50]
push eax
push 4
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x116c]
mov ecx, dword [eax + 0xa90]
push 0
push 5
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x116c]
mov eax, dword [edx + 0xa90]
push 0
push 0x14
push 0x7e8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [esp + 0x12]
test al, al
jne 0x40639f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40639f
mov edx, dword [esp + 0x116c]
mov ecx, eax
mov eax, dword [edx + 0xa90]
push ecx
push eax
call fcn.00408270
add esp, 8
mov ecx, dword [esp + 0x116c]
mov eax, dword [ecx + 0xaa0]
test eax, eax
jne 0x406405
mov edx, dword [ecx + 0x970]
push esi
push edi
lea eax, [ecx + 0x314]
push eax
push edx
lea eax, [esp + 0xe60]
push eax
call section..text
mov eax, dword [esp + 0x1180]
add esp, 0x14
push 0x24
lea ecx, [esp + 0x63c]
push ecx
mov ecx, dword [eax + 0xa90]
lea edx, [esp + 0xe58]
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x406405
mov ebx, 1
jmp 0x407487
cmp byte [esp + 0x12], 1
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x116c]
jne 0x40642b
test esi, esi
je 0x40642b
mov edx, dword [edi + 0xa90]
push esi
push edx
call fcn.00408270
add esp, 8
cmp byte [esp + 0x1b], 1
jne 0x40644d
mov eax, dword [edi + 0xa90]
push eax
call fcn.004084c0
add esp, 4
cmp eax, 1
jne 0x40644d
mov ebx, eax
jmp 0x407487
cmp word [esp + 0x14], 0x9c
jb 0x406475
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x22]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x40647a
mov ebx, 0x10002
jmp 0x407466
mov byte [esp + 0x1a], 0
cmp word [esp + 0x14], 0x8c
jb 0x4064a2
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x21]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x4064a7
mov ebx, 0x10002
jmp 0x407466
mov byte [esp + 0x19], 1
cmp byte [esp + 0x12], 2
jne 0x4064c2
test esi, esi
je 0x4064c2
mov ecx, dword [edi + 0xa90]
push esi
push ecx
call fcn.00408270
add esp, 8
mov al, byte [esp + 0x19]
xor esi, esi
test al, al
mov dword [esp + 0x1c], esi
mov byte [esp + 0x11], 0
mov byte [esp + 0x24], 0
jbe 0x406a23
jmp 0x4064e4
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x32]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov al, byte [esp + 0x2a]
test al, al
jne 0x406533
test esi, esi
jne 0x406a0d
mov ecx, dword [edi + 0xa90]
push ecx
call fcn.004099c0
add esp, 4
cmp eax, 1
jne 0x406528
mov ebx, eax
jmp 0x406a0d
xor ebx, ebx
mov byte [esp + 0x11], bl
jmp 0x406a05
cmp al, 1
jne 0x406646
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x22c]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x434]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
test esi, esi
jne 0x406a0d
movzx eax, byte [esp + 0x13]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax*4 + 0x421098]
push 0x20019
push esi
lea edx, [esp + 0x234]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4065c2
mov ebx, 0x10008
jmp 0x406a0d
lea edx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x4c]
lea esi, [edi + 0x210]
push esi
lea eax, [esp + 0x94]
push eax
push 0
lea ecx, [esp + 0x440]
push ecx
push edx
mov dword [esp + 0xa4], 1
mov dword [esp + 0x9c], 0x104
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x406620
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x10008
jmp 0x406a0d
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
jne 0x40663a
mov ebx, 0x10008
jmp 0x406a0d
xor ebx, ebx
mov byte [esp + 0x11], 1
jmp 0x406a05
cmp al, 2
jne 0x4067dd
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x22c]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0xd50]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x434]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
test esi, esi
jne 0x406a0d
mov al, byte [esp + 0x13]
cmp al, 5
ja 0x406772
movzx edx, al
mov eax, edx
imul edx, edx, 0x104
imul eax, eax, 0x104
lea ecx, [esp + 0x638]
sub ecx, edx
add eax, 0x422ab8
sub ecx, 0x422ab8
jmp 0x4066f0
mov dl, byte [eax]
mov byte [eax + ecx], dl
inc eax
test dl, dl
jne 0x4066f0
lea eax, [esp + 0x638]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406704
sub eax, edx
cmp byte [esp + eax + 0x637], 0x5c
je 0x406732
lea edi, [esp + 0x638]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406720
mov cx, word [0x41a25c]
mov word [edi], cx
lea eax, [esp + 0x228]
mov edx, eax
jmp 0x406740
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406740
lea edi, [esp + 0x638]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406751
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x116c]
jmp 0x406793
xor eax, eax
jmp 0x406780
mov cl, byte [esp + eax + 0x228]
mov byte [esp + eax + 0x638], cl
inc eax
test cl, cl
jne 0x406780
lea edx, [esp + 0x638]
push edx
push 0x104
lea esi, [edi + 0x210]
push esi
push 0x41a259
lea eax, [esp + 0x440]
push eax
lea ecx, [esp + 0xd60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
jne 0x4067d1
mov ebx, 0x10008
jmp 0x406a0d
xor ebx, ebx
mov byte [esp + 0x11], 2
jmp 0x406a05
cmp al, 3
jne 0x4068dc
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x22c]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
test esi, esi
jne 0x406a0d
mov al, byte [esp + 0x13]
cmp al, 5
lea ebx, [edi + 0x210]
ja 0x40688a
movzx edx, al
mov eax, edx
imul edx, edx, 0x104
imul eax, eax, 0x104
mov ecx, ebx
sub ecx, edx
add eax, 0x422ab8
sub ecx, 0x422ab8
lea ecx, [ecx]
mov dl, byte [eax]
mov byte [eax + ecx], dl
inc eax
test dl, dl
jne 0x406850
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406860
sub eax, edx
cmp byte [eax + edi + 0x20f], 0x5c
je 0x40688d
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406876
mov cx, word [0x41a25c]
mov word [edi], cx
jmp 0x40688d
mov byte [ebx], 0
lea eax, [esp + 0x228]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406896
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4068a2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0
mov edi, dword [esp + 0x116c]
jne 0x4068d0
mov ebx, 0x10008
jmp 0x406a0d
xor ebx, ebx
mov byte [esp + 0x11], 3
jmp 0x406a05
cmp word [esp + 0x14], 0x78
jb 0x406a0d
cmp al, 4
jne 0x406a0d
mov edx, dword [ebp]
push 0
push 4
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
jbe 0x4069cf
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x940]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x4069c3
mov edx, dword [ebp]
push eax
push 1
lea eax, [esp + 0x941]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x4069c3
mov edx, dword [ebp]
push eax
lea eax, [esp + 0x93e]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x4069c3
mov edx, dword [ebp]
push eax
lea eax, [esp + 0xa42]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x4069c3
mov edx, dword [ebp]
push eax
lea eax, [esp + 0xb46]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
jne 0x4069c3
mov edx, dword [ebp]
push eax
push 1
lea eax, [esp + 0xc4e]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x4069c3
lea ecx, [esp + 0x938]
push ecx
lea ecx, [esp + 0x94]
call fcn.00403e00
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jb 0x406917
jmp 0x4069c8
mov ebx, 0x10002
mov edi, dword [esp + 0x116c]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x406a0d
lea edx, [esp + 0x90]
push edx
lea eax, [edi + 0x210]
push eax
call fcn.00402c40
add esp, 8
lea ecx, [esp + 0x90]
mov ebx, eax
call fcn.004033a0
test ebx, ebx
jne 0x406a0d
mov byte [esp + 0x11], 4
mov dword [esp + 0x1c], 1
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x19]
inc al
cmp al, cl
mov byte [esp + 0x24], al
jb 0x4064e0
test ebx, ebx
jne 0x407461
cmp word [esp + 0x14], 0x9c
jb 0x406a61
cmp byte [esp + 0x1a], 1
jne 0x406a61
mov al, byte [esp + 0x11]
test al, al
je 0x406a61
mov ecx, dword [edi + 0xa90]
push ecx
call fcn.004099c0
add esp, 4
cmp eax, 1
jne 0x406a61
mov ebx, 1
jmp 0x407487
lea edx, [edi + 0x210]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406a70
sub eax, esi
cmp byte [eax + edi + 0x20f], 0x5c
je 0x406a9f
dec edx
mov edi, edx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406a86
mov dx, word [0x41a25c]
mov word [edi], dx
mov edi, dword [esp + 0x116c]
cmp byte [esp + 0x12], 3
jne 0x406abe
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406abe
mov ecx, dword [edi + 0xa90]
push eax
push ecx
call fcn.00408270
add esp, 8
cmp word [esp + 0x14], 0x6e
jb 0x406cda
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x33]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406ae9
mov ebx, 0x10002
jmp 0x407466
mov al, byte [esp + 0x2b]
cmp al, 1
jne 0x406bff
mov edx, dword [ebp]
push 0
lea eax, [esp + 0x538]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x406b15
mov ebx, 0x10002
jmp 0x407466
mov edx, dword [ebp]
push 0
lea eax, [esp + 0x330]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x406b35
mov ebx, 0x10002
jmp 0x407466
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406b54
mov ebx, 0x10002
jmp 0x407466
cmp byte [esp + 0x3c], 1
jne 0x406b76
mov ecx, dword [edi + 0xa90]
lea eax, [edi + 0x314]
push eax
push 0x13
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esp + 0x30], eax
jmp 0x406b90
mov al, byte [esp + 0x534]
test al, al
mov al, byte [esp + 0x32c]
je 0x406bc4
test al, al
je 0x406bb8
lea edx, [esp + 0x534]
push edx
lea eax, [esp + 0x330]
push eax
jmp 0x406bd6
lea ecx, [esp + 0x534]
push ecx
push 0
jmp 0x406bd6
test al, al
je 0x406c87
push 0
lea edx, [esp + 0x330]
push edx
call esi
test eax, eax
je 0x406c87
mov al, byte [esp + 0x3c]
test al, al
je 0x406bf5
call edi
sub eax, dword [esp + 0x30]
cmp eax, 0x7530
jb 0x406b90
mov ebx, 2
jmp 0x406c87
cmp al, 2
jne 0x406c87
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0xc4c]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
test eax, eax
je 0x406c27
mov ebx, 0x10002
jmp 0x407466
mov edx, dword [ebp]
push 0
push 1
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406c46
mov ebx, 0x10002
jmp 0x407466
cmp byte [esp + 0x3c], 1
jne 0x406c68
mov ecx, dword [edi + 0xa90]
lea eax, [edi + 0x314]
push eax
push 0x13
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0xc4c]
push eax
call fcn.00401ca0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x407461
mov edi, dword [esp + 0x116c]
mov edx, dword [ebp]
push 0
lea eax, [edi + 0x724]
push eax
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x406cad
mov ebx, 0x10002
jmp 0x407466
mov eax, dword [esp + 0x14]
cmp ax, 0x96
ja 0x406cda
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.004028d0
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x407461
cmp byte [esp + 0x12], 4
jne 0x406cfb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406cfb
mov edx, dword [edi + 0xa90]
mov ecx, eax
push ecx
push edx
call fcn.00408270
add esp, 8
mov edi, dword [esp + 0x116c]
mov eax, dword [edi + 0xa90]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xa
push 0x7e8
push eax
call esi
mov ecx, dword [edi + 0xa90]
push 0
push 3
push 0x7e8
push ecx
call esi
lea eax, [edi + 0xa70]
mov dword [esp + 0x1c], eax
mov byte [eax], 0
mov eax, dword [esp + 0x116c]
lea esi, [edi + 0xa71]
add edi, 0xa72
add eax, 0xa73
cmp word [esp + 0x14], 0x8c
mov byte [esi], 0
mov byte [edi], 0
mov byte [eax], 0
jb 0x406d82
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
push 0
push 1
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406d82
mov ebx, 0x10002
jmp 0x407466
cmp word [esp + 0x14], 0x78
jb 0x406de7
mov edx, dword [ebp]
push 0
push 1
push esi
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406da5
mov ebx, 0x10002
jmp 0x407466
mov eax, dword [ebp]
push 0
push 1
push edi
mov ecx, ebp
call dword [eax + 0xc]
test eax, eax
je 0x406dc0
mov ebx, 0x10002
jmp 0x407466
mov eax, dword [esp + 0x116c]
mov edx, dword [ebp]
push 0
push 1
add eax, 0xa73
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406de7
mov ebx, 0x10002
jmp 0x407466
mov eax, dword [ebp]
push 0
push 1
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
test eax, eax
je 0x406e09
mov ebx, 0x10002
jmp 0x407466
cmp word [esp + 0x14], 0xc8
jb 0x406e39
mov eax, dword [esp + 0x116c]
mov edx, dword [ebp]
push 0
push 1
add eax, 0xa74
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406e47
mov ebx, 0x10002
jmp 0x407466
mov ecx, dword [esp + 0x116c]
mov byte [ecx + 0xa74], 0
mov edx, dword [ebp]
push 0
push 4
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406e66
mov ebx, 0x10002
jmp 0x407466
mov edx, dword [ebp]
push 0
push 4
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406e85
mov ebx, 0x10002
jmp 0x407466
mov edx, dword [ebp]
push 0
push 4
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
je 0x406ea4
mov ebx, 0x10002
jmp 0x407466
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x50]
add eax, ecx
xor edi, edi
test ecx, ecx
mov dword [esp + 0x24], eax
jbe 0x407007
xor esi, esi
jmp 0x406ed0
mov eax, dword [esp + 0x116c]
cmp dword [eax + 0xa9c], 1
je 0x406a57
mov edx, dword [ebp]
push esi
lea eax, [esp + 0xe4]
push eax
mov ecx, ebp
mov dword [esp + 0x228], esi
call dword [edx + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push esi
push 0x10
lea eax, [esp + 0x1f0]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 1
jne 0x406f3f
mov edx, dword [ebp]
push esi
push 0x10
lea eax, [esp + 0x200]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push esi
push 8
lea eax, [esp + 0x210]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
cmp word [esp + 0x14], 0x9b
mov edx, dword [ebp]
mov ecx, ebp
push esi
jb 0x406f9b
push 8
lea eax, [esp + 0x218]
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push esi
push 8
lea eax, [esp + 0x220]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
jmp 0x406fe9
push 4
lea eax, [esp + 0x34]
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
push esi
push 4
lea eax, [esp + 0x34]
mov dword [esp + 0x218], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x220], esi
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x218], ecx
mov dword [esp + 0x21c], esi
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x78]
call fcn.00403d70
mov eax, dword [esp + 0x50]
inc edi
cmp edi, eax
jb 0x406ed0
test ebx, ebx
jne 0x407461
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jbe 0x407149
mov ebx, dword [esp + 0x116c]
xor esi, esi
jmp 0x407030
cmp dword [ebx + 0xa9c], 1
je 0x406a57
mov eax, dword [ebp]
push esi
lea ecx, [esp + 0xe4]
push ecx
mov ecx, ebp
mov dword [esp + 0x228], esi
call dword [eax + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [esp + 0x1c]
cmp byte [edx], 1
jne 0x407081
mov eax, dword [ebp]
push esi
push 0x10
lea ecx, [esp + 0x200]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push esi
push 8
lea eax, [esp + 0x210]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
cmp word [esp + 0x14], 0x9b
mov edx, dword [ebp]
mov ecx, ebp
push esi
jb 0x4070dd
push 8
lea eax, [esp + 0x218]
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push esi
push 8
lea eax, [esp + 0x220]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
jmp 0x40712b
push 4
lea eax, [esp + 0x34]
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
push esi
push 4
lea eax, [esp + 0x34]
mov dword [esp + 0x218], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x220], esi
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x218], ecx
mov dword [esp + 0x21c], esi
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x58]
call fcn.00403d70
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jb 0x407030
mov eax, dword [esp + 0x4c]
xor esi, esi
test eax, eax
jbe 0x4071bb
mov edi, dword [esp + 0x116c]
mov ebx, 1
nop
cmp dword [edi + 0xa9c], ebx
je 0x407487
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0xe4]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
test eax, eax
jne 0x406e9a
mov edx, dword [ebp]
push eax
push 0x10
lea eax, [esp + 0x1f0]
push eax
mov ecx, ebp
call dword [edx + 0xc]
test eax, eax
jne 0x406e9a
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x68]
call fcn.00403d70
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jb 0x407160
mov edx, dword [esp + 0x116c]
mov eax, dword [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.00402f40
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x407461
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
xor esi, esi
cmp edi, eax
je 0x407281
mov ecx, dword [esp + 0x116c]
mov edx, dword [esp + 0x1168]
push ecx
push edx
push edi
push ebp
call fcn.004046b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x407461
inc esi
test esi, esi
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
jge 0x407238
fadd qword [0x41a378]
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jge 0x40724a
fadd qword [0x41a378]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov ecx, dword [esp + 0x116c]
mov edx, dword [ecx + 0xa90]
push eax
push 0xd
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x7c]
add edi, 0x148
cmp edi, eax
jne 0x407201
mov edi, dword [esp + 0x58]
cmp edi, dword [esp + 0x5c]
je 0x407310
nop
mov eax, dword [esp + 0x116c]
mov ecx, dword [esp + 0x1168]
push eax
push ecx
push edi
push ebp
call fcn.00405510
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x407461
inc esi
test esi, esi
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
jge 0x4072c7
fadd qword [0x41a378]
mov edx, dword [esp + 0x24]
fild dword [esp + 0x24]
test edx, edx
jge 0x4072d9
fadd qword [0x41a378]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
push eax
mov eax, dword [esp + 0x1170]
mov ecx, dword [eax + 0xa90]
push 0xd
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x5c]
add edi, 0x148
cmp edi, eax
jne 0x407290
mov edi, dword [esp + 0x68]
cmp edi, dword [esp + 0x6c]
je 0x407455
mov ebp, dword [esp + 0x116c]
mov edx, dword [esp + 0x1168]
push ebp
push edx
push edi
call fcn.00405b10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x407461
inc esi
test esi, esi
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
jge 0x407354
fadd qword [0x41a378]
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jge 0x407366
fadd qword [0x41a378]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov ebp, dword [esp + 0x116c]
mov ecx, dword [ebp + 0xa90]
push eax
push 0xd
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x6c]
add edi, 0x148
cmp edi, eax
jne 0x407325
jmp 0x407451
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a4
mov dword [0x422000], eax
mov dword [esp + 0xa4], 0xc
mov dword [esp + 0xb4], 0x190
mov byte [esp + 0xb8], 0
jne 0x407407
mov edx, dword [str.MS_UI_Gothic]
mov eax, dword [0x41a288]
mov ecx, dword [0x41a28c]
mov dword [esp + 0xc0], edx
mov dl, byte [0x41a290]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov byte [esp + 0xcc], dl
jmp 0x407422
mov eax, dword [str.Arial]
mov cx, word [0x41a280]
mov dword [esp + 0xc0], eax
mov word [esp + 0xc4], cx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push esi
mov dword [0x422004], eax
mov eax, dword [esp + 0x1170]
mov ecx, dword [eax + 0xa90]
push 0x1c
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x407461
mov eax, dword [esp + 0x38]
test eax, eax
je 0x407487
mov edx, eax
jmp 0x407470
cmp ebx, 1
je 0x407487
mov eax, dword [esp + 0x40]
test eax, eax
je 0x407487
mov edx, eax
mov eax, dword [esp + 0x116c]
mov ecx, dword [eax + 0xa90]
push edx
push ecx
call fcn.00408270
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x407498
push eax
call fcn.00411da3
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4074a9
push eax
call fcn.00411da3
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4074ba
push eax
call fcn.0041166d
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4074cb
push eax
call fcn.0041166d
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4074dc
push eax
call fcn.0041166d
add esp, 4
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4074f0
push eax
call fcn.0041166d
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1154]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1144]
pop ebx
call fcn.004120e8
add esp, 0x1150
ret