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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416036
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1340
call fcn.00415170
push edi
mov dword [ebp - 0x1338], ecx
cmp dword [ebp + 8], 0
je 0x402a83
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x402a83
push str._group_
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x10], eax
push str.__group_
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x402a44
cmp dword [ebp - 0x14], 0
je 0x402a44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38c], eax
mov byte [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x53], ecx
mov dword [ebp - 0x4f], ecx
mov byte [ebp - 0x4b], cl
mov byte [ebp - 0x68], 0
xor edx, edx
mov dword [ebp - 0x67], edx
mov dword [ebp - 0x63], edx
mov dword [ebp - 0x5f], edx
mov dword [ebp - 0x5b], edx
mov word [ebp - 0x57], dx
mov byte [ebp - 0x55], dl
mov byte [ebp - 0x4b8], 0
xor eax, eax
mov dword [ebp - 0x4b7], eax
mov dword [ebp - 0x4b3], eax
mov dword [ebp - 0x4af], eax
mov dword [ebp - 0x4ab], eax
mov word [ebp - 0x4a7], ax
mov byte [ebp - 0x4a5], al
mov byte [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x47], ecx
mov dword [ebp - 0x43], ecx
mov dword [ebp - 0x3f], ecx
mov dword [ebp - 0x3b], ecx
mov word [ebp - 0x37], cx
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x33], edx
mov dword [ebp - 0x2f], edx
mov dword [ebp - 0x2b], edx
mov dword [ebp - 0x27], edx
mov word [ebp - 0x23], dx
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x4a4], 0
xor eax, eax
mov dword [ebp - 0x4a3], eax
mov dword [ebp - 0x49f], eax
mov dword [ebp - 0x49b], eax
mov dword [ebp - 0x497], eax
mov word [ebp - 0x493], ax
mov byte [ebp - 0x491], al
mov byte [ebp - 0x490], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x48f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x374], 0
mov ecx, 0xc2
xor eax, eax
lea edi, [ebp - 0x373]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x388], 0
xor ecx, ecx
mov dword [ebp - 0x387], ecx
mov dword [ebp - 0x383], ecx
mov dword [ebp - 0x37f], ecx
mov dword [ebp - 0x37b], ecx
mov word [ebp - 0x377], cx
mov byte [ebp - 0x375], cl
push 0xa
push 0
lea edx, [ebp - 0x54]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea eax, [ebp - 0x54]
push eax
push str.__gid_
push str._gid_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x68]
push eax
push str.__vwnd_
push str._vwnd_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x4b8]
push eax
push str.__wndtime_
push str._wndtime_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x48]
push eax
push str.__pcnt_
push str._pcnt_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x34]
push eax
push str.__uclk_
push str._uclk_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x4a4]
push eax
push str.__uselocus_
push str._uselocus_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x104
lea eax, [ebp - 0x490]
push eax
push str.__nclose_
push str._nclose_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x30c
lea eax, [ebp - 0x374]
push eax
push str.__steps_
push str._steps_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
push 0x14
lea eax, [ebp - 0x388]
push eax
push str.__cok_
push str._cok_
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea eax, [ebp - 0x68]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x4016a2
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x388]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x4016ce
lea ecx, [ebp - 0x388]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x4b8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x4016fa
lea ecx, [ebp - 0x4b8]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x48]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x401722
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x24], eax
jmp 0x40172f
mov eax, dword [ebp - 0x1338]
mov dword [eax + 0x24], 1
lea ecx, [ebp - 0x34]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x401757
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x1338]
mov dword [ecx + 0x28], eax
jmp 0x401764
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x28], 0
lea eax, [ebp - 0x4a4]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x401792
lea ecx, [ebp - 0x4a4]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x2c], eax
jmp 0x40179f
mov eax, dword [ebp - 0x1338]
mov dword [eax + 0x2c], 0
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x1338]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x4b8]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x1338]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x1338]
cmp dword [edx + 0x20], 0
jle 0x4017eb
mov eax, dword [ebp - 0x1338]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x133c], ecx
jmp 0x4017f5
mov dword [ebp - 0x133c], 5
mov edx, dword [ebp - 0x1338]
mov eax, dword [ebp - 0x133c]
mov dword [edx + 0x20], eax
lea ecx, [ebp - 0x490]
push ecx
mov ecx, dword [ebp - 0x1338]
add ecx, 0x34
call sub.MFC42.DLL_CString::operator_1
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1338]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
je 0x401843
lea edx, [ebp - 0x54]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov eax, dword [ebp - 0x1338]
xor ecx, ecx
mov cl, byte [eax + 0x38]
test ecx, ecx
je 0x401861
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.00403034
mov eax, dword [ebp - 0x1338]
mov byte [eax + 0x38], 1
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.00402ebe
mov edx, dword [ebp - 0x1338]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
cmp dword [ebp - 0x38c], 0
je 0x402a44
push str._ad_
mov ecx, dword [ebp - 0x38c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x4bc], eax
push str.__ad_
mov edx, dword [ebp - 0x38c]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x4bc], 0
je 0x402a33
cmp dword [ebp - 0x4c0], 0
je 0x402a33
push 0x64cc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1334], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1334], 0
je 0x401919
mov ecx, dword [ebp - 0x1334]
call fcn.004032e0
mov dword [ebp - 0x1340], eax
jmp 0x401923
mov dword [ebp - 0x1340], 0
mov eax, dword [ebp - 0x1340]
mov dword [ebp - 0x1330], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1330]
mov dword [ebp - 0xb74], ecx
mov edx, dword [ebp - 0xb74]
mov dword [edx + 8], 0x64
mov byte [ebp - 0x1108], 0
xor eax, eax
mov dword [ebp - 0x1107], eax
mov dword [ebp - 0x1103], eax
mov byte [ebp - 0x10ff], al
push 0xa
push 0
lea ecx, [ebp - 0x1108]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x1108]
push edx
push str.__adtype_
push str._adtype_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x1108]
push edx
mov ecx, dword [ebp - 0xb74]
add ecx, 0x44
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0xda4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xda3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea eax, [ebp - 0xda4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xda4]
push ecx
push str.__report_
push str._report_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xda4]
push ecx
mov ecx, dword [ebp - 0xb74]
add ecx, 0x40
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x10f0], 0
xor edx, edx
mov dword [ebp - 0x10ef], edx
mov dword [ebp - 0x10eb], edx
mov byte [ebp - 0x10e7], dl
push 0xa
push 0
lea eax, [ebp - 0x10f0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x10f0]
push ecx
push str.__adjmp_
push str._adjmp_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x10f0]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 0xb74]
mov byte [edx + 0x14], al
mov byte [ebp - 0x5e0], 0
xor eax, eax
mov dword [ebp - 0x5df], eax
mov dword [ebp - 0x5db], eax
mov byte [ebp - 0x5d7], al
push 0xa
push 0
lea ecx, [ebp - 0x5e0]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x5e0]
push edx
push str.__aid_
push str._aid_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x5e0]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx], eax
mov byte [ebp - 0x800], 0
xor edx, edx
mov dword [ebp - 0x7ff], edx
mov dword [ebp - 0x7fb], edx
mov byte [ebp - 0x7f7], dl
push 0xa
push 0
lea eax, [ebp - 0x800]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x800]
push ecx
push str.__level_
push str._level_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0xb74]
cmp dword [eax + 0x24], 0
jle 0x401bac
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1344], edx
jmp 0x401bb6
mov dword [ebp - 0x1344], 2
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0x1344]
mov dword [eax + 0x24], ecx
mov byte [ebp - 0x80c], 0
xor edx, edx
mov dword [ebp - 0x80b], edx
mov dword [ebp - 0x807], edx
mov byte [ebp - 0x803], dl
push 0xa
push 0
lea eax, [ebp - 0x80c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x80c]
push ecx
push str.__tm_
push str._tm_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xb74]
cmp dword [eax + 0x28], 0
jle 0x401c55
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x1348], edx
jmp 0x401c5f
mov dword [ebp - 0x1348], 5
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0x1348]
mov dword [eax + 0x28], ecx
mov byte [ebp - 0xb8c], 0
xor edx, edx
mov dword [ebp - 0xb8b], edx
mov dword [ebp - 0xb87], edx
mov byte [ebp - 0xb83], dl
push 0xa
push 0
lea eax, [ebp - 0xb8c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xb8c]
push ecx
push str.__cctype_
push str._cctype_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xb8c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x68], eax
mov byte [ebp - 0x7f4], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x7f3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x208
push 0
lea eax, [ebp - 0x7f4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x7f4]
push ecx
push str.__adurl_
push str._adurl_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x7f4]
push ecx
mov ecx, dword [ebp - 0xb74]
add ecx, 0x48
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x10e4], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x10e3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x208
push 0
lea edx, [ebp - 0x10e4]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
lea eax, [ebp - 0x10e4]
push eax
push str.__adrefer_
push str._adrefer_
mov ecx, dword [ebp - 0x4c0]
push ecx
mov edx, dword [ebp - 0x4bc]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea eax, [ebp - 0x10e4]
push eax
mov ecx, dword [ebp - 0xb74]
add ecx, 0x4c
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x5d4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x5d3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea ecx, [ebp - 0x5d4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x5d4]
push edx
push str.__bdk_
push str._bdk_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x5d4]
push edx
mov ecx, dword [ebp - 0xb74]
add ecx, 0x6c
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0xca0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xc9f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea eax, [ebp - 0xca0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xca0]
push ecx
push str.__bdcf_
push str._bdcf_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xca0]
push ecx
mov ecx, dword [ebp - 0xb74]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0xea8], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xea7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea edx, [ebp - 0xea8]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0xea8]
push eax
push str.__sf_
push str._sf_
mov ecx, dword [ebp - 0x4c0]
push ecx
mov edx, dword [ebp - 0x4bc]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea eax, [ebp - 0xea8]
push eax
mov ecx, dword [ebp - 0xb74]
add ecx, 0x74
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0xb74]
add ecx, 0x74
call sub.MFC42.DLL_CString::MakeLower
mov byte [ebp - 0xb70], 0
mov ecx, 0xc2
xor eax, eax
lea edi, [ebp - 0xb6f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x208
push 0
lea ecx, [ebp - 0xb70]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x30c
lea edx, [ebp - 0xb70]
push edx
push str.__step_
push str._step_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0xedc], 0
mov dword [ebp - 0xb9c], 0
lea edx, [ebp - 0x374]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 2
jbe 0x401fee
lea eax, [ebp - 0xb70]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 2
jae 0x401fee
push 0x30c
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0xb70]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0xb70]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 2
jbe 0x40243a
lea ecx, [ebp - 0x4d0]
push ecx
push str.____
lea edx, [ebp - 0xb70]
push edx
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1110], eax
mov dword [ebp - 0x110c], 0
cmp dword [ebp - 0x1110], 0
je 0x40243a
cmp dword [ebp - 0x110c], 0xa
jge 0x40243a
mov eax, dword [ebp - 0x110c]
imul eax, eax, 0xa08
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + eax + 0x7c], 1
mov byte [ebp - 0x121c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x121b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x1110]
push edx
lea eax, [ebp - 0x121c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0xedc]
push ecx
push 0x41b200
mov edx, dword [ebp - 0x1110]
push edx
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1114], eax
mov dword [ebp - 0x1118], 0
cmp dword [ebp - 0x1114], 0
je 0x4023f2
cmp dword [ebp - 0x1118], 0x14
jge 0x4023f2
mov dword [ebp - 0x1224], 0
mov eax, dword [ebp - 0x110c]
imul eax, eax, 0xa08
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + eax + 0x80]
add edx, 1
mov eax, dword [ebp - 0x110c]
imul eax, eax, 0xa08
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + eax + 0x80], edx
mov byte [ebp - 0x1328], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1327]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x1114]
push edx
lea eax, [ebp - 0x1328]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0xb9c]
push ecx
push 0x41b204
mov edx, dword [ebp - 0x1114]
push edx
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1220], eax
cmp dword [ebp - 0x1220], 0
je 0x4023a3
mov eax, dword [ebp - 0x1224]
mov dword [ebp - 0x134c], eax
cmp dword [ebp - 0x134c], 6
ja case.default.0x402194
mov ecx, dword [ebp - 0x134c]
jmp dword [ecx*4 + 0x402a99]
mov edx, dword [ebp - 0x1220]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0x20], eax
jmp case.default.0x402194
mov eax, dword [ebp - 0x110c]
imul eax, eax, 0xa08
mov ecx, dword [ebp - 0xb74]
lea edx, [ecx + eax + 0x7c]
mov eax, dword [ebp - 0x1118]
shl eax, 7
cmp dword [edx + eax + 0x20], 3
jne 0x40222e
mov ecx, dword [ebp - 0x1220]
push ecx
mov edx, dword [ebp - 0x110c]
imul edx, edx, 0xa08
mov eax, dword [ebp - 0xb74]
lea ecx, [eax + edx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
lea eax, [ecx + edx + 0x24]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x402261
mov ecx, dword [ebp - 0x1220]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x110c]
imul edx, edx, 0xa08
mov ecx, dword [ebp - 0xb74]
lea edx, [ecx + edx + 0x7c]
mov ecx, dword [ebp - 0x1118]
shl ecx, 7
mov dword [edx + ecx + 8], eax
jmp case.default.0x402194
mov edx, dword [ebp - 0x1220]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0xc], eax
jmp case.default.0x402194
mov eax, dword [ebp - 0x1220]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0x10], eax
jmp case.default.0x402194
mov eax, dword [ebp - 0x1220]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0x14], eax
jmp case.default.0x402194
mov eax, dword [ebp - 0x1220]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0x18], eax
jmp case.default.0x402194
mov eax, dword [ebp - 0x1220]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
lea ecx, [edx + ecx + 0x7c]
mov edx, dword [ebp - 0x1118]
shl edx, 7
mov dword [ecx + edx + 0x1c], eax
lea eax, [ebp - 0xb9c]
push eax
push 0x41b208
push 0
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1220], eax
mov ecx, dword [ebp - 0x1224]
add ecx, 1
mov dword [ebp - 0x1224], ecx
jmp 0x402168
lea edx, [ebp - 0xedc]
push edx
push 0x41b20c
push 0
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1114], eax
mov eax, dword [ebp - 0x1118]
add eax, 1
mov dword [ebp - 0x1118], eax
mov ecx, dword [ebp - 0x110c]
imul ecx, ecx, 0xa08
mov edx, dword [ebp - 0xb74]
mov eax, dword [ebp - 0x1118]
mov dword [edx + ecx + 0x80], eax
jmp 0x4020bf
lea ecx, [ebp - 0x4d0]
push ecx
push 0x41b210
push 0
call fcn.00401140
add esp, 0xc
mov dword [ebp - 0x1110], eax
cmp dword [ebp - 0x1110], 0
je 0x402426
mov edx, dword [ebp - 0x110c]
add edx, 1
mov dword [ebp - 0x110c], edx
mov eax, dword [ebp - 0xb74]
mov ecx, dword [ebp - 0x110c]
mov dword [eax + 0x1c], ecx
jmp 0x402031
mov byte [ebp - 0xed8], 0
xor edx, edx
mov dword [ebp - 0xed7], edx
mov dword [ebp - 0xed3], edx
mov byte [ebp - 0xecf], dl
push 0xa
push 0
lea eax, [ebp - 0xed8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xed8]
push ecx
push 0x41b214
push 0x41b21c
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xed8]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x50], eax
mov byte [ebp - 0x10fc], 0
xor eax, eax
mov dword [ebp - 0x10fb], eax
mov dword [ebp - 0x10f7], eax
mov byte [ebp - 0x10f3], al
push 0xa
push 0
lea ecx, [ebp - 0x10fc]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x10fc]
push edx
push str.__y_
push 0x41b228
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x10fc]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x54], eax
mov byte [ebp - 0xec0], 0
xor edx, edx
mov dword [ebp - 0xebf], edx
mov dword [ebp - 0xebb], edx
mov byte [ebp - 0xeb7], dl
push 0xa
push 0
lea eax, [ebp - 0xec0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xec0]
push ecx
push str.__w_
push 0x41b234
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xec0]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x58], eax
mov byte [ebp - 0xecc], 0
xor eax, eax
mov dword [ebp - 0xecb], eax
mov dword [ebp - 0xec7], eax
mov byte [ebp - 0xec3], al
push 0xa
push 0
lea ecx, [ebp - 0xecc]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0xecc]
push edx
push str.__h_
push 0x41b240
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0xecc]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x5c], eax
mov byte [ebp - 0x864], 0
xor edx, edx
mov dword [ebp - 0x863], edx
mov dword [ebp - 0x85f], edx
mov byte [ebp - 0x85b], dl
push 0xa
push 0
lea eax, [ebp - 0x864]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x864]
push ecx
push str.__l_
push 0x41b24c
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x864]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x64], eax
mov byte [ebp - 0x818], 0
xor eax, eax
mov dword [ebp - 0x817], eax
mov dword [ebp - 0x813], eax
mov byte [ebp - 0x80f], al
push 0xa
push 0
lea ecx, [ebp - 0x818]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x818]
push edx
push str.__t_
push 0x41b258
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x60], eax
mov byte [ebp - 0xb80], 0
xor edx, edx
mov dword [ebp - 0xb7f], edx
mov dword [ebp - 0xb7b], edx
mov byte [ebp - 0xb77], dl
push 0xa
push 0
lea eax, [ebp - 0xb80]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0xb80]
push ecx
push str.__jjr_
push str._jjr_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0xb80]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x38], eax
mov byte [ebp - 0xb98], 0
xor eax, eax
mov dword [ebp - 0xb97], eax
mov dword [ebp - 0xb93], eax
mov byte [ebp - 0xb8f], al
push 0xa
push 0
lea ecx, [ebp - 0xb98]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0xb98]
push edx
push str.__ssr_
push str._ssr_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0xb98]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x3c], eax
mov byte [ebp - 0x4cc], 0
xor edx, edx
mov dword [ebp - 0x4cb], edx
mov dword [ebp - 0x4c7], edx
mov byte [ebp - 0x4c3], dl
push 0xa
push 0
lea eax, [ebp - 0x4cc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x4cc]
push ecx
push str.__short_
push str._short_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x4cc]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x30], eax
mov byte [ebp - 0x858], 0
xor eax, eax
mov dword [ebp - 0x857], eax
mov dword [ebp - 0x853], eax
mov byte [ebp - 0x84f], al
push 0xa
push 0
lea ecx, [ebp - 0x858]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea edx, [ebp - 0x858]
push edx
push str.__relate_
push str._relate_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0x858]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x34], eax
mov byte [ebp - 0x5ec], 0
xor edx, edx
mov dword [ebp - 0x5eb], edx
mov dword [ebp - 0x5e7], edx
mov byte [ebp - 0x5e3], dl
push 0xa
push 0
lea eax, [ebp - 0x5ec]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xa
lea ecx, [ebp - 0x5ec]
push ecx
push str.__nextpage_
push str._nextpage_
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ebp - 0x4bc]
push eax
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea ecx, [ebp - 0x5ec]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0xb74]
mov dword [edx + 0x2c], eax
mov byte [ebp - 0x84c], 0
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x84b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [ebp - 0x84c]
push eax
push str.__inputid_
push str._inputid_
mov ecx, dword [ebp - 0x4c0]
push ecx
mov edx, dword [ebp - 0x4bc]
push edx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea eax, [ebp - 0x84c]
push eax
mov ecx, dword [ebp - 0xb74]
add ecx, 0x78
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0xeb4], 0
xor ecx, ecx
mov dword [ebp - 0xeb3], ecx
mov dword [ebp - 0xeaf], ecx
mov byte [ebp - 0xeab], cl
push 0xa
lea edx, [ebp - 0xeb4]
push edx
push str.__re_
push str._re_
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov ecx, dword [ebp - 0x1338]
call fcn.004012ba
lea edx, [ebp - 0xeb4]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0xb74]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xb74]
mov byte [edx + 0xc], 0
mov eax, dword [ebp - 0xb74]
mov dword [eax + 8], 0x64
mov ecx, dword [ebp - 0x1338]
mov edx, dword [ecx + 0x3c]
add edx, 1
mov eax, dword [ebp - 0x1338]
mov dword [eax + 0x3c], edx
lea ecx, [ebp - 0xb74]
push ecx
mov ecx, dword [ebp - 0x1338]
add ecx, 4
call fcn.004035e0
mov edx, dword [ebp - 0x4c0]
add edx, 1
mov dword [ebp - 0x4c0], edx
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x38c], eax
jmp 0x401886
push str._setting_
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x18], eax
push str.__setting_
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
je 0x402a83
cmp dword [ebp - 0x1c], 0
je 0x402a83
mov eax, dword [ebp + 8]
mov dword [ebp - 0x132c], eax
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4