Function at 0x402220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 1
jne 0x4023a8
mov eax, dword [0x428d8c]
mov dword [eax + 0x1a0], 1
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [0x428d8c]
mov byte [eax + edx + 0x88], 0x43
mov ecx, dword [0x428d8c]
add ecx, 0x88
push ecx
mov edx, dword [0x428d8c]
mov eax, dword [edx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x428d8c]
mov dword [ecx + 0xb8], eax
mov dword [ebp - 4], 0
jmp 0x402290
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x3e8
jge 0x4022eb
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x401970
push 0
push 0
mov ecx, dword [0x428d8c]
mov edx, dword [ecx + 0xb8]
call edx
mov ecx, dword [0x428d8c]
mov dword [ecx + 0x19c], eax
mov edx, dword [0x428d8c]
cmp dword [edx + 0x19c], 0
je 0x4022e1
mov eax, dword [0x428d8c]
cmp dword [eax + 0x19c], 0xffffffff
jne 0x4022e9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x402287
push str.on_to_Pampeluna__and_those_curious_facts_which_she_had_unwittingly_revealed_to_him_in_the_course_of_their_confidential_chats._He_remembered_their_leave_taking__and_how__as_he_had_sat_in_the_rapide_for_Paris__he_had_made_a_solemn_vow_never_again_to_set_eyes_upon_her._r_nThere_was_a_reason_why_he_should_not__a_st
push 0x421780
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [0x428d8c]
mov byte [eax + edx + 0x34], 0x53
mov ecx, dword [0x428d8c]
add ecx, 0x34
push ecx
mov edx, dword [0x428d8c]
mov eax, dword [edx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x428d8c]
mov dword [ecx + 0x32c], eax
mov edx, dword [0x428d8c]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [0x428d8c]
mov edx, dword [ecx + 0x32c]
call edx
push 0
push 0
push 0
push 0x401050
push 0
push 0
mov eax, dword [0x428d8c]
mov ecx, dword [eax + 0xb8]
call ecx
push str._her_soul_brimmed_over_with_weary_emotion_and_fatigued_passion__I_repeat_all_that_I_told_you_on_that_calm_night_beside_the_sea._I_love_you__I_th
push 0
push 0x4253e0
call fcn.004028b0
push str.veral_years__but_as_Enid_had_been_so_much_abroad_with_Mrs._Caldwell__he_had_never_met_her_until_that_accidental_encounter_in_Biarritz._r_nWeve_been_up_here_six_weeks__she_was_telling_Fetherston._Father_always_gets_a_lot_of_golf_up_here__you_know__and_Im_rather_fond_of_it._r_nI_fear_Im_too_much_of_a_forei
push 0x4238c0
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str._the_Bay_of_Fontarabia__and_that_the_tragedy_had_ever_preyed_upon_his_mind._But_upon_his_feminine_entanglements_he_was_ever_silent._He_was_a_merry_fellow__full_of_bright_humour__and_excellent_company._But_to_the_world_he_wore_a_mask_that_was_impenetrable._r_nAt_that_moment_he_was_shooting_with_his_old_friend_Tredennick__who_lived_close_to_St._Fillans__on_the_picturesque_Loch_Earn__when_the_general__hearing_of_his_presence_in_the_neighbourhood__had_sent_him_an_invitation_to_accompany_him_on_his_inspection._r_nWalter_had_accepted_for_one_reason_only._In_the_invitation_the_ge
push 0x41d6c0
call dword [sym.imp.SHLWAPI.dll_StrStrA]
push 0x41ba20
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4023cc
cmp dword [ebp + 0xc], 0xf
jne 0x4023cc
mov edx, dword [0x428d8c]
mov dword [edx + 0x1a0], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004013b0
add esp, 4
jmp 0x4023ce
xor eax, eax
mov esp, ebp
pop ebp
ret