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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414694
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push edi
mov dword [ebp - 0xa80], ecx
cmp dword [ebp + 8], 0
je 0x4022f7
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x4022f7
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x30], 0
push str._group_
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x10], eax
push str.__group_
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x4022b8
cmp dword [ebp - 0x14], 0
je 0x4022b8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x53], edx
mov dword [ebp - 0x4f], edx
mov byte [ebp - 0x4b], dl
mov byte [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x67], eax
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov word [ebp - 0x57], ax
mov byte [ebp - 0x55], al
mov byte [ebp - 0x80], 0
xor ecx, ecx
mov dword [ebp - 0x7f], ecx
mov dword [ebp - 0x7b], ecx
mov dword [ebp - 0x77], ecx
mov dword [ebp - 0x73], ecx
mov word [ebp - 0x6f], cx
mov byte [ebp - 0x6d], cl
mov byte [ebp - 0x48], 0
xor edx, edx
mov dword [ebp - 0x47], edx
mov dword [ebp - 0x43], edx
mov dword [ebp - 0x3f], edx
mov dword [ebp - 0x3b], edx
mov word [ebp - 0x37], dx
mov byte [ebp - 0x35], dl
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
push 0xa
push 0
lea ecx, [ebp - 0x54]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x54]
push edx
push str.__gid_
push str._gid_
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
push 0x14
lea edx, [ebp - 0x68]
push edx
push str.__vwnd_
push str._vwnd_
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
push 0x14
lea edx, [ebp - 0x80]
push edx
push str.__wndtime_
push str._wndtime_
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
push 0x14
lea edx, [ebp - 0x48]
push edx
push str.__playcnt_
push str._playcnt_
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
push 0x14
lea edx, [ebp - 0x34]
push edx
push str.__userclick_
push str._userclick_
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x68]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x401583
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x1c], eax
lea edx, [ebp - 0x80]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x4015a9
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x20], eax
lea edx, [ebp - 0x48]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x4015d1
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x24], eax
jmp 0x4015de
mov edx, dword [ebp - 0xa80]
mov dword [edx + 0x24], 1
lea eax, [ebp - 0x34]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x401606
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xa80]
mov dword [edx + 0x28], eax
jmp 0x401613
mov eax, dword [ebp - 0xa80]
mov dword [eax + 0x28], 0
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xa80]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xa80]
cmp dword [edx + 0x20], 5
jle 0x40165c
mov eax, dword [ebp - 0xa80]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0xa84], ecx
jmp 0x401666
mov dword [ebp - 0xa84], 5
mov edx, dword [ebp - 0xa80]
mov eax, dword [ebp - 0xa84]
mov dword [edx + 0x20], eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xa80]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x18]
je 0x4016a3
lea ecx, [ebp - 0x54]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jne 0x4016ad
mov eax, 1
jmp 0x4022fc
mov edx, dword [ebp - 0xa80]
xor eax, eax
mov al, byte [edx + 0x2c]
test eax, eax
je 0x4016de
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.00402862
and eax, 0xff
test eax, eax
je 0x4016de
mov eax, 1
jmp 0x4022fc
mov edx, dword [ebp - 0xa80]
mov byte [edx + 0x2c], 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004026ec
mov ecx, dword [ebp - 0xa80]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x18], edx
cmp dword [ebp - 0x6c], 0
je 0x4022b8
push str._ad_
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x84], eax
push str.__ad_
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x84], 0
je 0x4022aa
cmp dword [ebp - 0x88], 0
je 0x4022aa
push 0x7c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xa7c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xa7c], 0
je 0x40178a
mov ecx, dword [ebp - 0xa7c]
call fcn.004029e0
mov dword [ebp - 0xa88], eax
jmp 0x401794
mov dword [ebp - 0xa88], 0
mov edx, dword [ebp - 0xa88]
mov dword [ebp - 0xa78], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa78]
mov dword [ebp - 0x5f4], eax
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 8], 0x64
mov byte [ebp - 0xa70], 0
xor edx, edx
mov dword [ebp - 0xa6f], edx
mov dword [ebp - 0xa6b], edx
mov byte [ebp - 0xa67], dl
push 0xa
push 0
lea eax, [ebp - 0xa70]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xa70]
push ecx
push str.__adtype_
push str._adtype_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0xa70]
push ecx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x2c
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0xa58], 0
xor edx, edx
mov dword [ebp - 0xa57], edx
mov dword [ebp - 0xa53], edx
mov byte [ebp - 0xa4f], dl
push 0xa
push 0
lea eax, [ebp - 0xa58]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xa58]
push ecx
push str.__adjmp_
push str._adjmp_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0xa58]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 0x5f4]
mov byte [edx + 0x14], al
mov byte [ebp - 0x1a4], 0
xor eax, eax
mov dword [ebp - 0x1a3], eax
mov dword [ebp - 0x19f], eax
mov byte [ebp - 0x19b], al
push 0xa
push 0
lea ecx, [ebp - 0x1a4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x1a4]
push edx
push str.__aid_
push str._aid_
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x1a4]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx], eax
mov byte [ebp - 0x60c], 0
xor edx, edx
mov dword [ebp - 0x60b], edx
mov dword [ebp - 0x607], edx
mov byte [ebp - 0x603], dl
push 0xa
push 0
lea eax, [ebp - 0x60c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x60c]
push ecx
push str.__cctype_
push str._cctype_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x60c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov byte [ebp - 0x4c8], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4c7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x208
push 0
lea eax, [ebp - 0x4c8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x4c8]
push ecx
push str.__adurl_
push str._adurl_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x4c8]
push ecx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x30
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0xa4c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa4b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x208
push 0
lea edx, [ebp - 0xa4c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
lea eax, [ebp - 0xa4c]
push eax
push str.__adrefer_
push str._adrefer_
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea eax, [ebp - 0xa4c]
push eax
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x34
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x2c0], 0
xor ecx, ecx
mov dword [ebp - 0x2bf], ecx
mov dword [ebp - 0x2bb], ecx
mov byte [ebp - 0x2b7], cl
push 0xa
push 0
lea edx, [ebp - 0x2c0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea eax, [ebp - 0x2c0]
push eax
push str.__bks_
push str._bks_
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x78], 0
jle 0x401b03
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0xa8c], ecx
jmp 0x401b0d
mov dword [ebp - 0xa8c], 1
mov edx, dword [ebp - 0x5f4]
mov eax, dword [ebp - 0xa8c]
mov dword [edx + 0x78], eax
mov byte [ebp - 0x198], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x197]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea ecx, [ebp - 0x198]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x198]
push edx
push str.__bdk_
push str._bdk_
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x198]
push edx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x68
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x2b4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea eax, [ebp - 0x2b4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x198]
push ecx
push str.__bdkp_
push str._bdkp_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x6c
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x71c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x71b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea edx, [ebp - 0x71c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x71c]
push eax
push str.__bdcf_
push str._bdcf_
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea eax, [ebp - 0x71c]
push eax
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x820], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x81f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea ecx, [ebp - 0x820]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x820]
push edx
push str.__sf_
push str._sf_
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x820]
push edx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x74
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x74
call sub.MFC42.DLL_CString::MakeLower
mov byte [ebp - 0x5cc], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x5cb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea eax, [ebp - 0x5cc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x5cc]
push ecx
push str.__cctag_
push str._cctag_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x5cc]
push ecx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x54
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x844], 0
xor edx, edx
mov dword [ebp - 0x843], edx
mov dword [ebp - 0x83f], edx
mov byte [ebp - 0x83b], dl
push 0xa
push 0
lea eax, [ebp - 0x844]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x844]
push ecx
push str.__x_
push 0x41a2b0
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x844]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x38], eax
mov byte [ebp - 0xa64], 0
xor eax, eax
mov dword [ebp - 0xa63], eax
mov dword [ebp - 0xa5f], eax
mov byte [ebp - 0xa5b], al
push 0xa
push 0
lea ecx, [ebp - 0xa64]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0xa64]
push edx
push str.__y_
push 0x41a2bc
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0xa64]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x3c], eax
mov byte [ebp - 0x82c], 0
xor edx, edx
mov dword [ebp - 0x82b], edx
mov dword [ebp - 0x827], edx
mov byte [ebp - 0x823], dl
push 0xa
push 0
lea eax, [ebp - 0x82c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x82c]
push ecx
push str.__w_
push 0x41a2c8
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x82c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x40], eax
mov byte [ebp - 0x838], 0
xor eax, eax
mov dword [ebp - 0x837], eax
mov dword [ebp - 0x833], eax
mov byte [ebp - 0x82f], al
push 0xa
push 0
lea ecx, [ebp - 0x838]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x838]
push edx
push str.__h_
push 0x41a2d4
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x838]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x44], eax
mov byte [ebp - 0x5f0], 0
xor edx, edx
mov dword [ebp - 0x5ef], edx
mov dword [ebp - 0x5eb], edx
mov byte [ebp - 0x5e7], dl
push 0xa
push 0
lea eax, [ebp - 0x5f0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x5f0]
push ecx
push str.__l_
push 0x41a2e0
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x5f0]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x4c], eax
mov byte [ebp - 0x5d8], 0
xor eax, eax
mov dword [ebp - 0x5d7], eax
mov dword [ebp - 0x5d3], eax
mov byte [ebp - 0x5cf], al
push 0xa
push 0
lea ecx, [ebp - 0x5d8]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x5d8]
push edx
push str.__t_
push 0x41a2ec
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x5d8]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x48], eax
mov byte [ebp - 0x600], 0
xor edx, edx
mov dword [ebp - 0x5ff], edx
mov dword [ebp - 0x5fb], edx
mov byte [ebp - 0x5f7], dl
push 0xa
push 0
lea eax, [ebp - 0x600]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x600]
push ecx
push str.__jjr_
push str._jjr_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x600]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x24], eax
mov byte [ebp - 0x618], 0
xor eax, eax
mov dword [ebp - 0x617], eax
mov dword [ebp - 0x613], eax
mov byte [ebp - 0x60f], al
push 0xa
push 0
lea ecx, [ebp - 0x618]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x618]
push edx
push str.__ssr_
push str._ssr_
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x618]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x28], eax
mov byte [ebp - 0x94], 0
xor edx, edx
mov dword [ebp - 0x93], edx
mov dword [ebp - 0x8f], edx
mov byte [ebp - 0x8b], dl
push 0xa
push 0
lea eax, [ebp - 0x94]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x94]
push ecx
push str.__short_
push str._short_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x1c], eax
mov byte [ebp - 0x5e4], 0
xor eax, eax
mov dword [ebp - 0x5e3], eax
mov dword [ebp - 0x5df], eax
mov byte [ebp - 0x5db], al
push 0xa
push 0
lea ecx, [ebp - 0x5e4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x5e4]
push edx
push str.__relate_
push str._relate_
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea edx, [ebp - 0x5e4]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x20], eax
mov byte [ebp - 0x1b0], 0
xor edx, edx
mov dword [ebp - 0x1af], edx
mov dword [ebp - 0x1ab], edx
mov byte [ebp - 0x1a7], dl
push 0xa
push 0
lea eax, [ebp - 0x1b0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x1b0]
push ecx
push str.__nextpage_
push str._nextpage_
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xa80]
call fcn.004012d9
lea ecx, [ebp - 0x1b0]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x5f4]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 8], 0x64
mov edx, dword [ebp - 0xa80]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp - 0xa80]
mov dword [ecx + 0x30], eax
lea edx, [ebp - 0x5f4]
push edx
mov ecx, dword [ebp - 0xa80]
add ecx, 4
call fcn.00402cc0
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x6c], ecx
jmp 0x401703
push str._setting_
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x18], eax
push str.__setting_
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x4022f7
cmp dword [ebp - 0x1c], 0
je 0x4022f7
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa74], ecx
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4