Function at 0x411270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
push esi
mov eax, 0xffffff9d
push edi
push str.Enter_type_of_raw_data:_n___for_ASCII_input_________________enter_1_n
mov dword [0x42fd8c], eax
mov dword [0x430b84], eax
mov dword [0x42fdec], 0
call ebx
add esp, 4
push str.___for_SYSTAT_.SYS_file_____________enter_2_n___for_SAS_V5_transport_file________enter_3_n___for_SPSS_file__UNIX_or_windows___enter_4_n___for_STATA_.dta_file______________enter_5_n
call ebx
add esp, 4
push 5
push 1
mov edi, str.Type_
call fcn.00403fc0
dec eax
add esp, 8
cmp eax, 6
ja case.default.0x4112d4
jmp dword [eax*4 + 0x411ef8]
mov edi, 0x800
mov dword [0x430cb8], 2
call fcn.00404140
mov dword [0x4300e8], eax
add eax, 0x400
mov dword [0x4300ec], eax
jmp 0x411346
mov dword [0x430cb8], 3
jmp 0x411346
mov dword [0x430cb8], 5
jmp 0x411346
mov dword [0x430cb8], 6
jmp 0x411346
mov dword [0x430cb8], 8
jmp 0x411346
mov dword [0x430cb8], 7
jmp 0x411346
mov dword [0x430cb8], 9
push 0x208
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x41137e
push str._Out_of_memory._Please_run_a_smaller_problem_n
call ebx
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x411376
call fcn.00403eb0
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push 0x208
push 0
push esi
call sub.MSVCR100.dll_memset
mov dword [0x430208], esi
add esi, 0x104
add esp, 0xc
mov dword [0x43020c], esi
mov ebx, 1
mov dword [ebp - 0xa4], 0
xor esi, esi
cmp dword [0x430cb8], 2
jne 0x41144c
push ebx
lea eax, [ebp - 0x98]
push str._nInput_number_of_level__1d_variables__not_including_the_character_ID_:
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x3e8
push 1
lea edi, [ebp - 0x98]
call fcn.00403fc0
mov ecx, dword [0x42fb48]
mov edx, dword [ebp - 0xa4]
add esp, 8
xor edi, edi
mov dword [edx + ecx + 4], eax
mov dword [ebp - 0xa0], edi
mov eax, edi
inc edi
cmp eax, 0xa
jge 0x411443
push ebx
push str.Input_format_of_level__1d_file__the_first_field_must_be_the_character_ID__n__format:
call dword [sym.imp.MSVCR100.dll_printf]
mov ecx, dword [esi + 0x4300e8]
push ecx
call dword [sym.imp.MSVCR100.dll_gets]
mov ecx, dword [esi + 0x4300e8]
add esp, 0xc
call fcn.00406e40
test eax, eax
je 0x41143a
inc dword [ebp - 0xa0]
cmp dword [ebp - 0xa0], 0
je 0x411401
cmp edi, 9
jge 0x411531
cmp dword [0x430cb8], 9
je 0x4114c9
xor edi, edi
mov dword [ebp - 0x9c], edi
lea ecx, [ecx]
push ebx
push str._nInput_name_of_level__1d_file:
call dword [sym.imp.MSVCR100.dll_printf]
mov edx, dword [esi + 0x430208]
push edx
call dword [sym.imp.MSVCR100.dll_gets]
mov eax, dword [esi + 0x430208]
add esp, 0xc
test eax, eax
je 0x411499
push 0
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
test eax, eax
jne 0x411499
inc edi
jmp 0x4114af
cmp dword [0x430cb8], 5
jne 0x4114af
mov edi, dword [esi + 0x430208]
call fcn.00405480
mov edi, eax
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, 9
jg 0x41156a
test edi, edi
je 0x411460
mov eax, dword [ebp - 0xa4]
add eax, 0x38
inc ebx
add esi, 4
mov dword [ebp - 0xa4], eax
cmp eax, 0x70
jl 0x4113b1
mov eax, dword [0x430cb8]
cmp eax, 2
je 0x4117f4
cmp eax, 7
je 0x411592
cmp eax, 9
je 0x411592
mov eax, dword [0x430208]
mov edi, 0x428d00
call fcn.00403b20
mov ecx, dword [0x42fb48]
mov dword [ecx], eax
mov eax, dword [0x43020c]
call fcn.00403b20
mov ecx, dword [0x42fb48]
mov dword [ecx + 0x38], eax
jmp 0x411598
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.Something_must_be_wrong_with_your_resp_file_n
call esi
add esp, 4
push 0x427a0c
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411562
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x41158a
call fcn.00403eb0
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [0x42fb48]
mov eax, dword [0x430cb8]
add eax, 0xfffffffd
cmp eax, 5
ja case.0x4115a9.4
jmp dword [eax*4 + 0x411f14]
xor ecx, ecx
call fcn.00404610
test eax, eax
je 0x4115ea
mov edx, dword [0x430208]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x4115e2
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, 1
call fcn.00404610
test eax, eax
je 0x411820
mov eax, dword [0x43020c]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411622
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
xor ecx, ecx
call fcn.00404eb0
test eax, eax
je 0x411664
mov ecx, dword [0x430208]
push ecx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41165c
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, 1
call fcn.00404eb0
test eax, eax
je 0x4116a1
mov edx, dword [0x43020c]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411699
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x42fb48]
mov eax, dword [eax + 4]
lea edi, [eax*8]
sub edi, eax
add edi, edi
add edi, edi
call fcn.00404140
mov ecx, dword [0x42fb48]
mov dword [0x430ca4], eax
mov eax, dword [ecx + 0x3c]
lea edi, [eax*8]
sub edi, eax
add edi, edi
add edi, edi
call fcn.00404140
mov ecx, dword [0x42fb48]
mov edx, dword [0x430ca4]
mov dword [0x4300e0], eax
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x50], eax
jmp case.0x4115a9.4
xor ecx, ecx
call fcn.004055e0
test eax, eax
je 0x411730
mov eax, dword [0x430208]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411728
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, 1
call fcn.004055e0
mov eax, dword [0x42fbc0]
lea edi, [eax + eax*2]
shl edi, 4
call fcn.00404140
mov dword [0x430b94], eax
mov eax, dword [0x42fbe8]
lea edi, [eax + eax*2]
shl edi, 4
call fcn.00404140
mov ecx, dword [0x42fb48]
mov edx, dword [0x430b94]
mov dword [0x430d44], eax
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x54], eax
jmp case.0x4115a9.4
push 0
call fcn.00406000
add esp, 4
test eax, eax
je 0x4117b7
mov eax, dword [0x430208]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x4117af
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
push 1
call fcn.00406000
add esp, 4
test eax, eax
je 0x411820
mov ecx, dword [0x43020c]
push ecx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x4117ec
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x430208]
mov edi, 0x429140
call fcn.00403b20
mov edx, dword [0x42fb48]
mov dword [edx], eax
mov eax, dword [0x43020c]
call fcn.00403b20
mov ecx, dword [0x42fb48]
mov dword [ecx + 0x38], eax
jmp case.0x4115a9.4
mov ecx, dword [0x42fb48]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x3c]
mov dword [0x430cb0], eax
mov dword [0x430b90], ecx
call fcn.00407300
mov eax, dword [0x430cb8]
add eax, 0xfffffffd
cmp eax, 6
ja case.0x41184d.4
jmp dword [eax*4 + 0x411f2c]
mov edx, dword [0x42fb48]
mov edi, dword [edx + 4]
imul edi, edi, 0xd
call fcn.00404140
mov dword [0x430c90], eax
mov eax, dword [0x42fb48]
mov edi, dword [eax + 0x3c]
imul edi, edi, 0xd
call fcn.00404140
mov ecx, dword [0x42fb48]
mov edi, dword [ecx + 4]
imul edi, edi, 0xd
mov dword [0x430d08], eax
call fcn.00404140
mov edx, dword [0x42fb48]
mov edi, dword [edx + 0x3c]
imul edi, edi, 0xd
mov dword [0x42fd60], eax
call fcn.00404140
mov dword [0x42fd84], eax
mov eax, dword [0x42fb48]
mov edi, dword [eax + 4]
add edi, edi
add edi, edi
call fcn.00404140
mov ecx, dword [0x42fb48]
mov edi, dword [ecx + 0x3c]
add edi, edi
add edi, edi
mov dword [0x42fd44], eax
call fcn.00404140
mov ecx, dword [0x430c90]
mov edx, dword [0x42fb48]
mov dword [0x42fd68], eax
mov eax, dword [edx]
mov dword [0x42fd5c], ecx
mov ecx, 0x42fd40
mov dword [0x42fd40], eax
call fcn.00404750
test eax, eax
je 0x41192e
mov edx, dword [0x430208]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411926
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x42fb48]
mov ecx, dword [eax + 0x38]
mov edx, dword [0x430d08]
mov dword [0x42fd64], ecx
mov ecx, 0x42fd64
mov dword [0x42fd80], edx
call fcn.00404750
test eax, eax
je 0x411984
mov eax, dword [0x43020c]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41197c
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [0x430ca0]
push ecx
push 1
mov ecx, 0x42fd40
mov dword [0x42fd58], 0xffffffff
mov dword [0x42fd7c], 0
call fcn.0041f9a0
mov edx, dword [0x430c14]
push edx
push 2
mov ecx, 0x42fd64
call fcn.0041f9a0
add esp, 0x10
jmp case.0x41184d.4
mov eax, dword [0x430ca4]
push eax
mov eax, dword [0x42fb48]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
xor ecx, ecx
call fcn.004050f0
add esp, 8
test eax, eax
jne 0x411a14
mov edx, dword [0x430208]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411a0c
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x4300e0]
push eax
mov eax, dword [0x42fb48]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, 1
call fcn.004050f0
add esp, 8
test eax, eax
jne 0x411a66
mov edx, dword [0x43020c]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411a5e
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x430ca4]
mov ecx, dword [0x430ca0]
mov edx, dword [0x42fb48]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
push 0
call fcn.0041d710
mov ecx, dword [0x4300e0]
mov edx, dword [0x430c14]
mov eax, dword [0x42fb48]
push ecx
mov ecx, dword [eax + 0x3c]
push edx
push ecx
push 1
call fcn.0041d710
add esp, 0x20
jmp case.0x41184d.4
mov edi, dword [0x42fbc0]
add edi, edi
add edi, edi
add edi, edi
call fcn.00404140
mov edx, dword [0x430b94]
mov ecx, dword [0x42fb48]
mov ecx, dword [ecx]
mov dword [0x43021c], eax
mov eax, dword [0x42fbc0]
push edx
push eax
push 0
call fcn.004057a0
mov esi, 1
sub eax, esi
add esp, 0xc
test eax, eax
jg 0x411b18
mov edx, dword [0x430208]
push edx
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
add dword [0x42fba4], esi
je 0x411b11
call fcn.00403eb0
push esi
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x430d44]
mov ecx, dword [0x42fbe8]
mov edx, dword [0x42fb48]
push eax
push ecx
mov ecx, dword [edx + 0x38]
push esi
call fcn.004057a0
sub eax, esi
add esp, 0xc
test eax, eax
jg 0x411b6a
mov eax, dword [0x43020c]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
add dword [0x42fba4], esi
je 0x411b63
call fcn.00403eb0
push esi
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [0x430b94]
mov ecx, dword [0x430ca0]
push 0
call fcn.0041dd70
mov edx, dword [0x430d44]
mov ecx, dword [0x430c14]
add esp, 4
push esi
call fcn.0041dd70
add esp, 4
jmp case.0x41184d.4
mov ecx, dword [0x430ca0]
push ecx
xor ecx, ecx
call fcn.0041e930
mov edx, dword [0x430c14]
add esp, 4
push edx
mov ecx, 1
call fcn.0041e930
add esp, 4
jmp case.0x41184d.4
xor ecx, ecx
call fcn.0041f4e0
mov ecx, 1
call fcn.0041f4e0
cmp dword [0x430cb8], 2
jne 0x411db9
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
mov eax, dword [0x42fb48]
mov esi, 1
add esp, 8
mov ebx, esi
cmp dword [eax + 4], esi
jl 0x411cc0
lea edi, [esi + 0xc]
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov edi, edi
push ebx
push esi
push str._Enter_8_character_name_for_level__d_variable_number__d:
call dword [sym.imp.MSVCR100.dll_printf]
lea ecx, [ebp - 0x18]
add esp, 0xc
push ecx
mov byte [ebp - 0x18], 0
call dword [sym.imp.MSVCR100.dll_gets]
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x411c7e
mov eax, dword [0x430ca0]
push 8
lea edx, [ebp - 0x18]
push edx
add eax, edi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, dword [0x430ca0]
add esp, 0xc
lea esi, [esi + edi]
mov eax, 8
call fcn.00403be0
inc dword [ebp - 0xa0]
mov esi, 1
jmp 0x411c92
push str._Invalid_response._Try_again._n
call dword [sym.imp.MSVCR100.dll_puts]
add esp, 4
add dword [ebp - 0x9c], esi
cmp dword [ebp - 0x9c], 0x19
jg 0x411d53
cmp dword [ebp - 0xa0], 0
je 0x411c20
mov edx, dword [0x42fb48]
add ebx, esi
add edi, 0xd
cmp ebx, dword [edx + 4]
jle 0x411c10
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
push 0xa
call dword [sym.imp.MSVCR100.dll_fputc]
mov eax, dword [0x42fb48]
add esp, 8
cmp dword [eax + 0x3c], 1
mov dword [ebp - 0xa4], esi
jl 0x411db9
mov edi, 0xd
nop
xor ebx, ebx
mov dword [ebp - 0x9c], ebx
push esi
push 2
push str._Enter_8_character_name_for_level__d_variable_number__d:
call dword [sym.imp.MSVCR100.dll_printf]
lea ecx, [ebp - 0x18]
add esp, 0xc
push ecx
mov byte [ebp - 0x18], 0
call dword [sym.imp.MSVCR100.dll_gets]
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x411d7b
mov eax, dword [0x430c14]
push 8
lea edx, [ebp - 0x18]
push edx
add eax, edi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, dword [0x430c14]
add esp, 0xc
lea esi, [esi + edi]
mov eax, 8
call fcn.00403be0
mov esi, dword [ebp - 0xa4]
inc ebx
jmp 0x411d8f
push str.Unable_to_get_a_proper_response_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
add dword [0x42fba4], esi
je 0x411d73
call fcn.00403eb0
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
push str._Invalid_response._Try_again._n
call dword [sym.imp.MSVCR100.dll_puts]
add esp, 4
inc dword [ebp - 0x9c]
cmp dword [ebp - 0x9c], 0x19
jg 0x411e0d
test ebx, ebx
je 0x411cf8
mov edx, dword [0x42fb48]
inc esi
add edi, 0xd
mov dword [ebp - 0xa4], esi
cmp esi, dword [edx + 0x3c]
jle 0x411cf0
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
xor edi, edi
xor esi, esi
mov byte [0x430d60], 0
lea ebx, [ebx]
push str._nEnter_name_of_MDM_file:
call ebx
add esp, 4
push 0x430d60
call dword [sym.imp.MSVCR100.dll_gets]
add esp, 4
cmp byte [0x430d60], 0
je 0x411df2
inc edi
inc esi
cmp esi, 9
jg 0x411e67
test edi, edi
je 0x411dd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425fc4
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x411e5f
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x411e43
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call ebx
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x411ebc
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x411ea0
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
push str.Wrong_data_type._How_did_this_happen_
call ebx
add esp, 4
push 0x427a0c
push 0x428e48
call ebx
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x411eef
call fcn.00403eb0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
nop
fist dword [edx]
inc ecx
add byte [eax], al
adc eax, dword [ecx]
or al, 0x13
inc ecx
add byte [eax], bl
adc eax, dword [ecx]
and al, 0x13
inc ecx
add byte [eax], dh
adc eax, dword [ecx]
cmp al, 0x13
inc ecx
add byte [eax + 0x26004115], dh
sbb byte [ecx], al
sub dl, byte [esi]
inc ecx
add bh, dh
push ss
inc ecx
add byte [esi], ah
sbb byte [ecx], al
jnp 0x411f41
inc ecx
add byte [eax + ebx + 0x41], dl
add bh, cl
sbb eax, dword [ecx]
invalid
sbb eax, dword [ecx]
mov esi, 0xcc00411b
int3