Function at 0x40548b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4fdca8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, 1
test eax, eax
je 0x405781
push str._n_n_n_0:_quitter
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_1:_inserer
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_2:lire
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_3:detruire
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_4:afficher_la_base
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_5:battement
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_6:recherche
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_7:commande
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str._n_n_choix:
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
push 0x4c9d2c
call dword [sym.imp.MSVCR100.dll_scanf]
add esp, 8
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x405456
push 3
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
sub ecx, 1
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x204], 6
ja case.default.0x405484
mov edx, dword [ebp - 0x204]
jmp dword [edx*4 + 0x405794]
lea eax, [ebp - 0x118]
push eax
call fcn.00467530
add esp, 4
mov dword [ebp - 0x18], eax
sub esp, 0xf8
mov ecx, 0x3e
lea esi, [ebp - 0x118]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00467a90
add esp, 0xf8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
sub esp, 0xf8
mov ecx, 0x3e
lea esi, [ebp - 0x118]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00467670
add esp, 0xfc
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x11c]
push edx
push str._n_nouvelle_cle_:__ld__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
jmp case.default.0x405484
push 0x4c9d48
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push 0x4c9d64
call dword [sym.imp.MSVCR100.dll_scanf]
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00467150
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40556c
mov eax, dword [ebp - 0x1c]
push eax
sub esp, 0xf8
mov ecx, 0x3e
lea esi, [ebp - 0x118]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00467670
add esp, 0xfc
mov dword [ebp - 0x18], eax
jmp 0x40557a
push str._n_cle_non_trouve__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
jmp case.default.0x405484
push 0x4c9d7c
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x4c9d98
call dword [sym.imp.MSVCR100.dll_scanf]
add esp, 8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004672a0
add esp, 4
mov dword [ebp - 0x18], eax
jmp case.default.0x405484
lea eax, [ebp - 0x1c]
push eax
call fcn.004677f0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x4055d4
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jg 0x40562d
mov eax, dword [ebp - 0x14]
push eax
push str._n__ENR_:__ld_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00467150
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
sub esp, 0xf8
mov ecx, 0x3e
lea esi, [ebp - 0x118]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00467670
add esp, 0xfc
mov dword [ebp - 0x18], eax
jmp 0x4055cb
jmp case.default.0x405484
push str._n_numero_enregistement:
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x4c9dcc
call dword [sym.imp.MSVCR100.dll_scanf]
add esp, 8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004671d0
add esp, 4
jmp case.default.0x405484
push 0x4c9dd0
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
push 0x14
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
lea ecx, [ebp - 0x138]
push ecx
call fcn.00467350
add esp, 4
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
push edx
push str._n_ENR_TROUVE:__ld_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
jmp case.default.0x405484
call dword [sym.imp.MSVCR100.dll_getchar]
push str.commande:
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
push 0xc8
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.MSVCR100.dll_fgets]
add esp, 0xc
push str.importance:
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea ecx, [ebp - 0x120]
push ecx
push 0x4c9e10
call dword [sym.imp.MSVCR100.dll_scanf]
add esp, 8
lea edx, [ebp - 0x118]
push edx
call fcn.00467460
add esp, 4
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0xf5]
push ecx
call sub.MSVCR100.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x44], 1
sub esp, 0xf8
mov ecx, 0x3e
lea esi, [ebp - 0x118]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00467a90
add esp, 0xf8
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
push str._n_CLE:__ld_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
jmp 0x405395
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469394
mov esp, ebp
pop ebp
ret