Function at 0x414410
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5229cc
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x5a8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x5ec]
push ecx
lea ecx, [edi + 0x5cc]
push ecx
lea ecx, [edi + 0x5c8]
push ecx
lea ecx, [edi + 0x5c4]
push ecx
lea esi, [edi + 0x5c0]
push esi
lea ebx, [edi + 0x5bc]
push ebx
lea edx, [edi + 0x5b8]
push edx
lea edx, [edi + 0x5b4]
push edx
mov edx, dword [esp + 0x5c]
lea ecx, [edi + 0x5b0]
push ecx
lea eax, [edi + 0x5ac]
push eax
push edx
lea eax, [edi + 0x5a4]
lea ecx, [edi + 0x130]
call fcn.00402fd0
lea eax, [edi + 0x614]
push 0x54ba18
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040bf20
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4144f4
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
call fcn.00402700
cmp eax, 1
jne 0x414517
mov ecx, dword [esp + 0x24]
mov dword [ecx - 4], 0
mov dword [esp + 0x380], 0
mov edx, dword [edi + 0x5ec]
mov eax, dword [ebx]
mov ecx, dword [esi]
push edx
mov edx, dword [edi + 0x5b8]
push eax
mov eax, dword [edi + 0x5ac]
push ecx
mov ecx, dword [edi + 0x614]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push str._sDBExam__s__s__s__s_Seat_d.db
push edx
call fcn.00402230
push 9
mov dword [esp + 0x38], 0
call fcn.004d37a6
add esp, 0x24
add eax, 8
mov dword [esp + 0x14], eax
mov dword [eax - 8], 1
mov eax, dword [esp + 0x14]
mov byte [eax], 0
je 0x414587
mov ecx, dword [esp + 0x14]
mov dword [ecx - 4], 0
xor esi, esi
mov byte [esp + 0x380], 1
push 9
mov dword [esp + 0x1c], esi
call fcn.004d37a6
add esp, 4
add eax, 8
mov dword [esp + 0x18], eax
mov dword [eax - 8], 1
mov edx, dword [esp + 0x18]
mov byte [edx], 0
je 0x4145bd
mov eax, dword [esp + 0x18]
mov dword [eax - 4], esi
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x130]
push eax
mov byte [esp + 0x388], 2
call fcn.00403080
test eax, eax
push esi
jne 0x414634
push esi
push esi
push 0x54ba60
push esi
push 0x4067
lea ecx, [edi + 0x2e0]
call fcn.00433ab0
push 0x54ba84
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040bf20
add esp, 0xc
push esi
mov byte [esp + 0x384], 3
mov ecx, dword [eax]
push esi
push ecx
call fcn.004db332
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x414ef7
sub eax, 8
mov dword [esp + 0x10], eax
jmp 0x414eee
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
call fcn.00402700
cmp eax, 1
jne 0x41464d
mov edx, dword [esp + 0x28]
mov dword [edx - 4], esi
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x380], 4
mov eax, dword [esi]
mov ecx, dword [edi + 0x614]
push eax
push ecx
lea edx, [esp + 0x30]
push str._sExamDataPaperData__s.dat
push edx
call fcn.00402230
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.005121c0
push 0
mov byte [esp + 0x384], 5
mov ebx, dword [esp + 0x2c]
push str.sptvmffkdl__
push ebx
lea ecx, [esp + 0x38]
call fcn.0043b270
test eax, eax
jne 0x414726
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.sptvmffkdl__
push ebx
lea ecx, [esp + 0x38]
call fcn.0043b270
test eax, eax
jne 0x414726
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
push str.PaperData__s.dat_File_Access_Fail
push ecx
call fcn.0040f1d0
add esp, 0xc
xor esi, esi
push esi
mov byte [esp + 0x384], 6
mov eax, dword [eax]
push esi
push eax
call fcn.004db332
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x414704
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x380], 4
call fcn.0043b250
cmp ebx, esi
je 0x414ef7
add ebx, 0xfffffff8
push ebx
jmp 0x414eef
lea ecx, [esp + 0x40]
call fcn.00431e00
mov bl, 7
mov byte [esp + 0x380], bl
mov edx, dword [edi + 0x5a4]
lea esi, [edi + 0x5a4]
push edx
lea eax, [esp + 0x14]
push str.PaperData__s.xml
push eax
call fcn.0040f1d0
add esp, 0xc
mov byte [esp + 0x380], 8
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x38]
call fcn.0043b0c0
test eax, eax
mov byte [esp + 0x380], bl
mov eax, dword [esp + 0x10]
sete byte [esp + 0x23]
test eax, eax
je 0x414798
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
cmp byte [esp + 0x23], 0
je 0x4147e6
mov edx, dword [esi]
push edx
lea eax, [esp + 0x14]
push str.PaperData__s.xml_data_Access_Fail
push eax
call fcn.0040f1d0
add esp, 0xc
mov byte [esp + 0x380], 9
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push eax
call fcn.004db332
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x414ec1
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
jmp 0x414ebe
lea ecx, [esp + 0x40]
call fcn.004b01b0
push eax
lea ecx, [esp + 0x18]
call fcn.0040f320
lea ecx, [esp + 0x40]
call fcn.00431d80
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x14]
push str.PaperMix__s.xml
push edx
call fcn.0040f1d0
add esp, 0xc
mov byte [esp + 0x380], 0xa
mov eax, dword [eax]
push 0
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call fcn.0043b0c0
mov esi, eax
mov byte [esp + 0x380], bl
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414853
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
test esi, esi
je 0x41486a
lea ecx, [esp + 0x40]
call fcn.004b01b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f320
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0x59c]
call fcn.00423900
test eax, eax
jne 0x4148a4
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x14]
push str.PaperData__s.dat_File_Http_Zip_Load_Fail
push ecx
call fcn.0040f1d0
add esp, 0xc
mov byte [esp + 0x380], 0xb
jmp 0x4147bc
xor esi, esi
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.00402700
cmp eax, 1
jne 0x4148c0
mov edx, dword [esp + 0x1c]
mov dword [edx - 4], esi
mov byte [esp + 0x380], 0xc
mov eax, dword [edi + 0x614]
push eax
lea ecx, [esp + 0x20]
push str._sExamDataMediaFiles
push ecx
call fcn.00402230
mov edx, dword [esp + 0x28]
add esp, 0xc
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x1c]
push eax
call fcn.0049dd90
add esp, 4
lea ecx, [edi + 0xf28]
call fcn.0040e1c0
lea ecx, [esp + 0x84]
call fcn.004a5940
mov byte [esp + 0x380], 0xd
mov al, 3
mov byte [esp + 0x363], al
mov byte [esp + 0x364], al
mov al, 0xa2
lea ecx, [esp + 0x360]
mov byte [esp + 0x36b], al
mov byte [esp + 0x36c], al
mov al, 0xa3
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x364], 1
mov byte [esp + 0x365], 2
mov byte [esp + 0x366], 2
mov byte [esp + 0x369], 4
mov byte [esp + 0x36a], 5
mov byte [esp + 0x36b], 6
mov byte [esp + 0x36c], bl
mov byte [esp + 0x36d], 0xa0
mov byte [esp + 0x36e], 0xa1
mov byte [esp + 0x371], al
mov byte [esp + 0x372], al
mov byte [esp + 0x373], 0xaf
call fcn.004a5450
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], esi
call fcn.0043af20
test eax, eax
jle 0x414bb7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x12c]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0043af80
test eax, eax
je 0x414d6f
lea eax, [esp + 0x130]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4149f0
sub eax, edx
sar eax, 1
mov ebx, eax
xor ecx, ecx
lea eax, [ebx + 5]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d37a6
add esp, 4
mov esi, eax
lea ecx, [esp + 0x130]
lea eax, [ebx + 1]
push ecx
add esi, 8
push eax
mov dword [esi - 8], eax
push esi
mov dword [esp + 0x40], esi
mov word [esi + ebx*2], 0
call fcn.004f2e08
add esp, 0xc
mov dword [esi - 4], ebx
test ebx, ebx
mov byte [esp + 0x380], 0xe
jle 0x414b83
push str.MediaFiles
push esi
call fcn.004f2f27
add esp, 8
test eax, eax
je 0x414b83
sub eax, esi
shr eax, 1
cmp eax, 0xffffffff
je 0x414b83
lea ecx, [esp + 0x40]
call fcn.00431d80
push 0x10
push esi
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x38]
call fcn.0043b0c0
test eax, eax
je 0x414d3c
push 1
push 0x2e
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.0040eba0
mov eax, dword [eax]
mov ecx, 0x54bc50
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414adb
test dx, dx
je 0x414ad7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414adb
add eax, 4
add ecx, 4
test dx, dx
jne 0x414ab5
xor eax, eax
jmp 0x414ae0
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
mov eax, dword [esp + 0x54]
sete bl
cmp eax, esi
je 0x414b03
sub eax, 8
push eax
mov dword [esp + 0x58], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x54], esi
test bl, bl
je 0x414c2a
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
call fcn.00402700
cmp eax, 1
jne 0x414b25
mov ecx, dword [esp + 0x38]
mov dword [ecx - 4], esi
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
mov byte [esp + 0x384], 0xf
call fcn.004b01b0
push eax
lea ecx, [esp + 0x40]
call fcn.0040f0c0
push 0x2f
push 0x5c
lea ecx, [esp + 0x3c]
call fcn.0041aa10
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0xf28]
call fcn.0040c400
mov ecx, eax
call fcn.00401fe0
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x414b7f
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
mov esi, dword [esp + 0x34]
test esi, esi
mov byte [esp + 0x380], 0xd
je 0x414b9b
add esi, 0xfffffff8
push esi
call fcn.004d37ab
add esp, 4
mov esi, dword [esp + 0x10]
add esi, 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], esi
call fcn.0043af20
cmp esi, eax
jl 0x4149c1
mov ecx, dword [edi + 0xf24]
mov edx, dword [edi + 0x5ec]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ebx, [edi + 0x130]
lea ecx, [edi + 0x614]
mov edx, ebx
call fcn.00403740
xor esi, esi
test eax, eax
jne 0x414dcd
push esi
push esi
push esi
push 0x54bcc8
push esi
push 0x4067
lea ecx, [edi + 0x2e0]
call fcn.00433ab0
push esi
push esi
push 0x54bcf4
call fcn.004db332
lea ecx, [esp + 0x84]
mov byte [esp + 0x380], 0xc
call fcn.004a5740
jmp 0x414ea5
lea ecx, [esp + 0x40]
call fcn.00434be0
push eax
call fcn.004a5430
add esp, 4
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.00434be0
cmp ebx, eax
jbe 0x414c7a
lea ecx, [esp + 0x40]
call fcn.00434be0
mov ecx, ebx
sub ecx, eax
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.004b01b0
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.00434be0
add esi, eax
push esi
call fcn.004f5b00
add esp, 0xc
push ebx
lea ecx, [esp + 0x44]
call fcn.004b01b0
push eax
lea ecx, [esp + 0x8c]
call fcn.004a5700
lea ecx, [esp + 0x5c]
call fcn.004a61c0
mov byte [esp + 0x380], 0x10
mov esi, dword [esp + 0x34]
mov edx, dword [edi + 0x614]
push esi
push edx
lea eax, [esp + 0x60]
push str._sExamData_s
push eax
call fcn.0040f1d0
add esp, 0x10
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x390], 0x11
call fcn.004a6200
test eax, eax
mov byte [esp + 0x380], 0x10
mov eax, dword [esp + 0x58]
sete byte [esp + 0x23]
test eax, eax
je 0x414d07
sub eax, 8
push eax
mov dword [esp + 0x5c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x58], 0
cmp byte [esp + 0x23], 0
jne 0x414d46
push ebx
lea ecx, [esp + 0x44]
call fcn.004b01b0
push eax
lea ecx, [esp + 0x64]
call fcn.004a5ef0
test eax, eax
mov byte [esp + 0x380], 0xe
lea ecx, [esp + 0x5c]
je 0x414d52
call fcn.004a6120
jmp 0x414b83
mov byte [esp + 0x380], 0xd
jmp 0x414d63
mov byte [esp + 0x380], 0xe
lea ecx, [esp + 0x5c]
call fcn.004a6120
test esi, esi
mov byte [esp + 0x380], 0xd
je 0x414d6f
lea eax, [esi - 8]
push eax
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x14]
push str.PaperData__s.dat_MediaFile_Access_Fail
push eax
call fcn.0040f1d0
add esp, 0xc
xor esi, esi
push esi
mov byte [esp + 0x384], 0x12
mov eax, dword [eax]
push esi
push eax
call fcn.004db332
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x414db4
sub eax, 8
push eax
mov dword [esp + 0x14], eax
call fcn.004d37ab
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x380], 0xc
call fcn.004a5740
jmp 0x414ea5
cmp dword [edi + 0x99c], esi
jle 0x414dee
lea ecx, [esp + 0x84]
mov byte [esp + 0x380], 0xc
call fcn.004a5740
jmp 0x414ea5
mov esi, dword [edi + 0x1a0]
mov ecx, ebx
call fcn.00406df0
mov ebx, eax
call fcn.0042fd50
cmp dword [eax], 1
mov eax, dword [ebp + 8]
jl 0x414e23
mov edx, dword [ebp + 0xc]
push edx
push ebx
push eax
push esi
push str.CMainHtmlDlg::RecvUserInfo.._nLocalRemainTime__d___nServerRemainTime__d___nLocalMarkCnt__d___nServerMarkCnt__d__n
push 0
call fcn.0042ff90
mov eax, dword [ebp + 8]
add esp, 0x18
cmp eax, esi
jne 0x414e59
cmp ebx, dword [ebp + 0xc]
jne 0x414e57
push str.Main_02.htm
lea ecx, [esp + 0x14]
call fcn.00401f50
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x384], 0x13
call fcn.00419580
lea ecx, [esp + 0x10]
call fcn.004023a0
jmp 0x414e8f
cmp eax, esi
jl 0x414e75
cmp eax, esi
jne 0x414e64
cmp dword [ebp + 0xc], ebx
jg 0x414e75
push 0
push 0
push 0
push 0
push 0
push 0x406c
jmp 0x414e84
push 0
push 0
push 0
push 0
push 0
push 0x406d
lea ecx, [edi + 0x2e0]
call fcn.00433ab0
lea ecx, [esp + 0x84]
mov byte [esp + 0x380], 0xc
call fcn.004a5740
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x414ec1
sub eax, 8
push eax
mov dword [esp + 0x20], eax
call fcn.004d37ab
mov dword [esp + 0x20], esi
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x380], 5
call fcn.00431ee0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x380], 4
call fcn.0043b250
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x414ef7
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x414f13
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x414f2f
sub eax, 8
push eax
mov dword [esp + 0x18], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x414f43
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.004f2ac1
mov esp, ebp
pop ebp
ret 8