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

Disassembly:
push 0xffffffffffffffff
push 0x522c9f
mov eax, dword fs:[0]
push eax
mov eax, 0x100b0
call fcn.004f6280
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x100a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x100c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x100d4]
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], edi
je 0x41418a
lea ecx, [esp + 0x74]
push ecx
call fcn.00406cd0
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x100d0], ebx
call fcn.0043aa00
test eax, eax
je 0x4140d9
lea ecx, [esp + 0x74]
call fcn.00439f80
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x60], esi
je 0x414123
push str.DATETIME
lea ecx, [esp + 0x24]
call fcn.00401f50
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x100d4], 1
call fcn.0043a4c0
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41311f
sub eax, 8
push eax
mov dword [esp + 0x24], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4133ad
cmp dword [eax - 4], 0xf
jne 0x4133ad
push 0
call fcn.004f3e1d
add esp, 4
push 2
push 0xd
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
call fcn.0040e8f0
mov esi, eax
push 2
push 0xb
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x100d8], 4
call fcn.0040e8f0
mov ebp, eax
push 2
push 9
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x100d8], 5
call fcn.0040e8f0
mov edi, eax
push 2
push 6
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x100d8], 6
call fcn.0040e8f0
mov ebx, eax
push 2
push 4
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x100d8], 7
call fcn.0040e8f0
mov dword [esp + 0x34], eax
push 4
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x100d8], 8
call fcn.0040e8f0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x100cc], 9
mov esi, dword [esi]
push esi
call fcn.004f24b7
mov ebp, dword [ebp]
add esp, 4
push ebp
mov esi, eax
call fcn.004f24b7
mov edi, dword [edi]
add esp, 4
push edi
mov ebp, eax
call fcn.004f24b7
mov ebx, dword [ebx]
add esp, 4
push ebx
mov edi, eax
call fcn.004f24b7
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [ecx]
add esp, 4
push eax
call fcn.004f24b7
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
add esp, 4
push 0xffffffffffffffff
push esi
push ebp
push edi
push ebx
push eax
push ecx
call fcn.004f24b7
add esp, 4
push eax
lea ecx, [esp + 0x60]
call fcn.0041b090
mov eax, dword [esp + 0x28]
test eax, eax
je 0x413277
sub eax, 8
push eax
mov dword [esp + 0x2c], eax
call fcn.004d37ab
add esp, 4
xor ebx, ebx
mov dword [esp + 0x28], ebx
jmp 0x413279
xor ebx, ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x413295
sub eax, 8
push eax
mov dword [esp + 0x40], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4132b1
sub eax, 8
push eax
mov dword [esp + 0x44], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4132cd
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4132e9
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x413309
sub eax, 8
push eax
mov dword [esp + 0x20], eax
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
sbb eax, dword [esp + 0x58]
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
mov dword [esp + 0x50], eax
js 0x4133ad
jg 0x413333
cmp ecx, 0x3c
jbe 0x4133ad
call fcn.0042fd50
cmp dword [eax], 1
jl 0x413397
lea eax, [esp + 0x54]
push eax
lea esi, [esp + 0x38]
call fcn.0041b170
mov edi, eax
lea ecx, [esp + 0x44]
push ecx
lea esi, [esp + 0x50]
mov byte [esp + 0x100d0], 0xa
call fcn.0041b170
mov byte [esp + 0x100cc], 0xb
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
push str.CMainHtmlDlg::OnConnect.._time_mismatch_server__s___client__s__n
push ebx
call fcn.00430060
add esp, 0x10
mov ecx, esi
call fcn.00402880
lea ecx, [esp + 0x34]
mov byte [esp + 0x100cc], 3
call fcn.00402880
lea esi, [esp + 0x64]
lea eax, [esp + 0x44]
call fcn.0041b020
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push str.PaperID
lea ecx, [esp + 0x1c]
call fcn.00401f50
mov ebp, dword [esp + 0x60]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0xc
call fcn.0043a4c0
mov byte [esp + 0x100cc], 0xd
mov edi, dword [esp + 0x38]
push eax
lea ecx, [edi + 0x5a4]
call fcn.00401fe0
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
je 0x41340e
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41342e
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.PaperSet
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0xe
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5a8]
mov byte [esp + 0x100d0], 0xf
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413485
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4134a5
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamID
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x10
call fcn.0043a4c0
lea ecx, [edi + 0x5ac]
push eax
mov byte [esp + 0x100d0], 0x11
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4134fc
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41351c
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamYear
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x12
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5b0]
mov byte [esp + 0x100d0], 0x13
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413573
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413593
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamNot
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x14
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5b4]
mov byte [esp + 0x100d0], 0x15
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4135ea
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41360a
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamDate
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x16
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5b8]
mov byte [esp + 0x100d0], 0x17
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413661
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413681
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamTerm
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x18
call fcn.0043a4c0
lea ecx, [edi + 0x5bc]
push eax
mov byte [esp + 0x100d0], 0x19
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4136d8
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4136f8
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.RoomID
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x1a
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5c0]
mov byte [esp + 0x100d0], 0x1b
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41374f
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41376f
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.UserNo
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x1c
call fcn.0043a4c0
lea ecx, [edi + 0x5c4]
push eax
mov byte [esp + 0x100d0], 0x1d
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4137c6
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4137e6
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.PlaceName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x1e
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5d4]
mov byte [esp + 0x100d0], 0x1f
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41383d
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41385d
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.RoomName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x20
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5d8]
mov byte [esp + 0x100d0], 0x21
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4138b4
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4138d4
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ExamName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x22
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5d0]
mov byte [esp + 0x100d0], 0x23
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41392b
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41394b
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.UserName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x24
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5c8]
mov byte [esp + 0x100d0], 0x25
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4139a2
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4139c2
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.UserID
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x26
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5cc]
mov byte [esp + 0x100d0], 0x27
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413a19
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413a39
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.MaxTerm
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x28
call fcn.0043a4c0
mov eax, dword [eax]
push eax
call fcn.004f24b7
mov dword [edi + 0xa80], eax
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, esi
je 0x413a8d
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413aad
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.SubjectCode
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x29
call fcn.0043a4c0
push eax
lea ecx, [edi + 0xe48]
mov byte [esp + 0x100d0], 0x2a
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413b04
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], 3
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413b24
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.SkinCode
lea ecx, [esp + 0x2c]
call fcn.00401f50
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x2b
call fcn.0043a4c0
mov bl, 0x2d
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x413b70
sub eax, 8
push eax
mov dword [esp + 0x2c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x28], esi
push str.ClassName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x2e
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5dc]
mov byte [esp + 0x100d0], 0x2f
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413bc7
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413be6
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ClassGrade
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x30
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5e0]
mov byte [esp + 0x100d0], 0x31
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413c3d
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413c5c
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.ClassNumber
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x32
call fcn.0043a4c0
push eax
lea ecx, [edi + 0x5e4]
mov byte [esp + 0x100d0], 0x33
call fcn.00401fe0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x413cb3
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413cd2
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.SameName
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x34
call fcn.0043a4c0
push str.true
push eax
call fcn.0040c080
movzx edx, al
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
mov dword [edi + 0x5e8], edx
je 0x413d2c
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413d4b
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
push str.Subtitle
lea ecx, [esp + 0x1c]
call fcn.00401f50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x100d4], 0x35
call fcn.0043a4c0
push str.1234678
push eax
call fcn.0040c080
movzx edx, al
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
mov dword [edi + 0xf24], edx
je 0x413da5
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x413dc4
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
call fcn.0042fd50
cmp dword [eax], 1
jl 0x413de8
mov eax, dword [edi + 0x5ac]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str.CMainHtmlDlg::OnConnect.._sSkinCode__s_____s__n
push esi
call fcn.00430060
add esp, 0x10
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x413df5
cmp dword [eax - 4], esi
jne 0x413e05
lea eax, [edi + 0x5ac]
push eax
lea ecx, [esp + 0x30]
call fcn.00401fe0
lea esi, [edi + 0xf18]
mov ecx, esi
call fcn.00425530
push esi
push 0x2f
lea ecx, [esp + 0x34]
call fcn.00402100
lea eax, [edi + 0x5ac]
lea esi, [edi + 0x2e0]
push eax
lea ecx, [esi + 0x1b8]
call fcn.00401fe0
lea eax, [edi + 0x5c4]
push eax
lea ecx, [esi + 0x1bc]
call fcn.00401fe0
lea ebx, [edi + 0x5bc]
push ebx
lea ecx, [esi + 0x1c0]
call fcn.00401fe0
push str.1234678
push ebx
call fcn.0040c080
add esp, 8
neg al
push str.ErrMsg
lea ecx, [esp + 0x24]
sbb eax, eax
neg eax
mov dword [edi + 0x610], eax
call fcn.00401f50
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov byte [esp + 0x100d4], 0x36
call fcn.0043a4c0
mov bl, 0x38
mov byte [esp + 0x100cc], bl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x413ec4
sub eax, 8
push eax
mov dword [esp + 0x24], eax
call fcn.004d37ab
add esp, 4
xor ebp, ebp
mov dword [esp + 0x20], ebp
jmp 0x413ec6
xor ebp, ebp
lea ecx, [esp + 0x30]
push str.NOERROR
push ecx
call fcn.0040c080
add esp, 8
test al, al
je 0x41407e
mov eax, dword [edi + 0x490]
cmp eax, 0x67
ja case.0x413ef6.2
movzx edx, byte [eax + 0x4141d8]
jmp dword [edx*4 + 0x4141bc]
push str.HtmlMain_01.htm
lea eax, [edi + 0x614]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0040bf20
add esp, 0xc
push eax
mov byte [esp + 0x100d0], 0x39
call fcn.0049d8c0
add esp, 4
lea ecx, [esp + 0x38]
mov esi, eax
mov byte [esp + 0x100cc], bl
call fcn.004023a0
cmp esi, ebp
je 0x413f5d
push str.Main_01.htm
lea ecx, [esp + 0x20]
call fcn.00401f50
lea edx, [esp + 0x1c]
mov byte [esp + 0x100cc], 0x3a
push edx
jmp 0x413ffe
push ebp
push ebp
push ebp
push ebp
push 0xe
push str.about:Notupdate
mov ecx, edi
call fcn.004dc1a4
jmp case.0x413ef6.2
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x406e
mov ecx, esi
call fcn.00433ab0
mov ecx, esi
call fcn.004101b0
jmp case.0x413ef6.2
push str.Main_04.htm
lea ecx, [esp + 0x20]
call fcn.00401f50
mov byte [esp + 0x100cc], 0x3b
jmp 0x413ff9
push str.Main_Absent.htm
lea ecx, [esp + 0x20]
call fcn.00401f50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100cc], 0x3c
push ecx
jmp 0x413ffe
push str.Main_Giveup.htm
lea ecx, [esp + 0x20]
call fcn.00401f50
lea edx, [esp + 0x1c]
mov byte [esp + 0x100cc], 0x3d
push edx
jmp 0x413ffe
push str.Main_Cheat.htm
lea ecx, [esp + 0x20]
call fcn.00401f50
mov byte [esp + 0x100cc], 0x3e
lea eax, [esp + 0x1c]
push eax
call fcn.00419580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100cc], bl
call fcn.004023a0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call esi
cmp eax, 0x400
jne 0x41402e
push 1
call esi
cmp eax, 0x300
je 0x41404c
cmp dword [edi + 0x998], ebp
jne 0x414045
push 0x300
push 0x400
call fcn.00412aa0
mov esi, edi
call fcn.00418f10
push 5
mov ecx, edi
mov dword [edi + 0x604], ebp
call fcn.004d9f72
mov esi, edi
call fcn.00418f10
call fcn.00418d30
mov ecx, dword [edi + 0x20]
push ebp
push 0x3e8
push 0x190
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41408a
mov edx, dword [esp + 0x30]
push ebp
push ebp
push edx
call fcn.004db332
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x4140a6
sub eax, 8
push eax
mov dword [esp + 0x34], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x4140c2
sub eax, 8
push eax
mov dword [esp + 0x30], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x414123
sub eax, 8
push eax
mov dword [esp + 0x28], eax
call fcn.004d37ab
jmp 0x414120
call fcn.0042fd50
cmp dword [eax], 1
jl 0x414123
lea esi, [esp + 0x14]
mov eax, edi
call fcn.0041aa60
mov byte [esp + 0x100cc], 0x3f
mov eax, dword [eax]
push eax
push str.CMainHtmlDlg::OnConnect.._LoadXml__s__Fail_n
push ebx
call fcn.0042ff90
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x414123
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
mov dword [esp + 0x18], ebx
add esp, 4
mov esi, dword [esp + 0x5c]
mov eax, dword [esi]
test eax, eax
je 0x414141
add eax, 0xfffffff8
push eax
mov dword [esi], eax
call fcn.004d37ab
add esp, 4
mov dword [esi], 0
push esi
call fcn.004d37ab
mov dword [esp + 0x100d0], 0xffffffff
mov eax, dword [esp + 0x100bc]
add esp, 4
test eax, eax
je 0x41417e
sub eax, 8
push eax
mov dword [esp + 0x100bc], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x100b8], 0
lea ecx, [esp + 0xa4]
call fcn.0040cb30
mov eax, 1
mov ecx, dword [esp + 0x100c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100a8]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x100bc
ret 4