Function at 0x406460
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
xor eax, eax
push esi
push edi
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
call ebp
push 1
mov dword [esp + 0x5c], eax
call ebp
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x48], eax
xor al, al
push 0x2f
mov dword [esp + 0x98], 0
push dword [ebx]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x40], str.internal
mov dword [esp + 0x70], 0x41347b
mov dword [esp + 0x60], 0x41347b
mov dword [esp + 0x78], 0x41347b
mov dword [esp + 0x7c], 0x41347b
mov dword [esp + 0x5c], 0x41347b
mov dword [esp + 0x2c], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x88], 0x800
mov dword [esp + 0x8c], 0x10001
mov dword [esp + 0x90], 2
mov dword [esp + 0x74], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 3
mov byte [esp + 0x20], al
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x98], 0x45
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
call dword [sym.imp.MSVCR120.dll_strrchr]
add esp, 0x10
mov dword [0x41da60], eax
test eax, eax
je 0x4065d9
inc eax
jmp 0x4065db
mov eax, dword [ebx]
push 0x412d04
push eax
mov ecx, 0x73
mov dword [0x41da60], eax
mov esi, 0x412640
mov edi, 0x41c410
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0xc8]
mov ecx, 0x13b
mov esi, 0x412818
mov edi, 0x41c5e0
rep movsd dword es:[edi], dword [esi]
call fcn.0040a920
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407f99
cmp dword [0x41c4a8], eax
jne 0x407fa4
cmp dword [0x41c494], eax
je 0x40669c
xor edx, edx
mov eax, 0x41c41c
xor ecx, ecx
cmp ecx, 6
je 0x40664c
cmp dword [eax], edx
jne 0x406659
add eax, 0x14
inc ecx
cmp eax, 0x41c5e8
jl 0x406643
jmp 0x40667d
lea edx, [ecx + ecx*4]
mov al, byte [edx*4 + 0x41c410]
test al, al
je 0x406676
mov byte [esp + 0x10], al
lea edx, [esp + 0x10]
mov byte [esp + 0x11], 0
jmp 0x40667d
mov edx, dword [edx*4 + 0x41c420]
xor eax, eax
test edx, edx
push edx
setne al
push eax
push dword [0x41da60]
call fcn.00405a10
add esp, 0xc
push 1
call dword [sym.imp.MSVCR120.dll_exit]
mov eax, dword [0x41c700]
test eax, eax
je 0x4066b1
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov eax, dword [0x41c8f4]
test eax, eax
je 0x4066c6
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], eax
cmp dword [0x41c6dc], 0
je 0x4066dd
push dword [0x41c6d8]
call fcn.0040b880
add esp, 4
cmp dword [0x41c9e8], 0
je 0x4066ef
mov eax, dword [0x41c9e4]
mov dword [esp + 0x50], eax
cmp dword [0x41ca10], 0
je 0x406701
mov eax, dword [0x41ca0c]
mov dword [esp + 0x6c], eax
cmp dword [0x41ca24], 0
je 0x406713
mov eax, dword [0x41ca20]
mov dword [esp + 0x4c], eax
cmp dword [0x41c718], 0
mov edi, dword [sym.imp.MSVCR120.dll_strtol]
je 0x40677a
push 0xa
push 0
push dword [0x41c714]
call edi
mov dword [esp + 0x84], eax
add esp, 0xc
add eax, 0xfffffe00
cmp eax, 0x1e00
jbe 0x40677a
push 0x2000
push 0x200
push dword [0x41da60]
push str._s__g:__Keysize_must_be_between__d_and__d._n
push 2
call ebp
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0x14
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp dword [0x41c72c], 0
je 0x4067a4
push 0x416a10
push dword [0x41c728]
call sub.plc4.dll_PL_strcmp
add esp, 8
neg eax
sbb eax, eax
and eax, dword [0x41c728]
mov dword [esp + 0x30], eax
cmp dword [0x41c8e4], 0
je 0x4067f1
mov esi, dword [0x41c8e0]
push esi
call fcn.0040b3d0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4067f1
push esi
push dword [0x41da60]
push str._s__Z:___s_is_not_a_recognized_type._n
push 2
call ebp
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0x10
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp dword [0x41c77c], 0
je 0x406866
mov esi, dword [0x41c778]
push 0x412ecc
push esi
call sub.plc4.dll_PL_strcmp
add esp, 8
test eax, eax
jne 0x406817
lea esi, [eax + 1]
jmp 0x406878
push 0x412ed0
push esi
call sub.plc4.dll_PL_strcmp
add esp, 8
test eax, eax
jne 0x40682e
lea esi, [eax + 2]
jmp 0x406878
push 0x412ee8
push esi
call sub.plc4.dll_PL_strcmp
add esp, 8
test eax, eax
jne 0x406845
lea esi, [eax + 6]
jmp 0x406878
push 0x416a10
push esi
call sub.plc4.dll_PL_strcmp
add esp, 8
test eax, eax
jne 0x40685b
xor esi, esi
jmp 0x406878
mov dword [esp + 0x5c], esi
mov esi, 1
jmp 0x40687c
mov eax, dword [0x41c4bc]
mov esi, 1
neg eax
sbb eax, eax
not eax
and esi, eax
mov dword [esp + 0x1c], esi
cmp dword [0x41ca38], 0
je 0x406897
push dword [0x41ca34]
call fcn.00405420
add esp, 4
mov dword [esp + 0x2c], eax
cmp dword [0x41ca4c], 0
je 0x4068bb
push dword [0x41ca48]
call fcn.00405420
mov dword [esp + 0x9c], eax
add esp, 4
not eax
and dword [esp + 0x2c], eax
cmp dword [0x41ca60], 0
je 0x4068d9
push dword [0x41ca5c]
call fcn.00405220
add esp, 4
mov dword [esp + 0x88], eax
cmp dword [0x41c7a4], 0
je 0x40690f
push 0xa
push 0
push dword [0x41c7a0]
call edi
add esp, 0xc
mov dword [esp + 0x64], eax
test eax, eax
jns 0x40690f
push dword [0x41c7a0]
push dword [0x41da60]
push str._s__m:___s_is_not_a_valid_serial_number._n
jmp 0x4067d0
cmp dword [0x41c7f4], 0
je 0x406929
mov eax, dword [0x41c7f0]
mov dword [esp + 0x60], eax
test eax, eax
je 0x407faf
cmp dword [0x41c9fc], 0
je 0x406943
mov eax, dword [0x41c9f8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x407fba
cmp dword [0x41c808], 0
je 0x406982
cmp esi, 2
je 0x406982
cmp esi, 6
je 0x406982
push dword [0x41da60]
push str._s__q:_specifies_a_PQG_file_for_DSA_keys___k_dsa__or_a_named_curve_for_EC_keys___k_ec__n_
push 2
call ebp
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0xc
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp dword [0x41c830], 0
je 0x4069b7
push dword [0x41c82c]
call sub.nss3.dll_CERT_AsciiToName
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4069b7
push dword [0x41c82c]
push dword [0x41da60]
push str._s__s:_improperly_formatted_name:___s__n
jmp 0x4067d0
cmp dword [0x41c86c], 0
je 0x4069ed
push 0xa
push 0
push dword [0x41c868]
call edi
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jns 0x4069ed
push dword [0x41c868]
push dword [0x41da60]
push str._s__v:_incorrect_validity_period:___s__n
jmp 0x4067d0
cmp dword [0x41c880], 0
je 0x406a09
push 0xa
push 0
push dword [0x41c87c]
call edi
add esp, 0xc
mov dword [esp + 0x48], eax
cmp dword [0x41c8bc], 0
je 0x406a77
push 0xa
push 0
push dword [0x41c8b8]
call edi
add esp, 0xc
mov dword [esp + 0x7c], eax
cmp eax, 3
je 0x406a77
cmp eax, 0x11
je 0x406a77
cmp eax, 0x10001
je 0x406a77
push eax
push dword [0x41da60]
push str._s__y:_incorrect_public_exponent__d.
push 2
call ebp
mov esi, dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 4
push eax
call esi
add esp, 0x10
push str.Must_be_3__17__or_65537._n
push 2
call ebp
add esp, 4
push eax
call esi
add esp, 8
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp dword [0x41ca88], 0
je 0x406adf
push 0xa
push 0
push dword [0x41ca84]
call edi
add esp, 0xc
lea ecx, [eax - 1]
mov dword [esp + 0x80], ecx
cmp ecx, 3
jbe 0x406adf
push eax
push dword [0x41da60]
push str._s__certVersion:_incorrect_certificate_version__d.
push 2
call ebp
mov esi, dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 4
push eax
call esi
add esp, 0x10
push str.Must_be_1__2__3_or_4._n
push 2
call ebp
add esp, 4
push eax
call esi
add esp, 8
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
xor ecx, ecx
mov eax, 0x41c410
cmp dword [eax + 0xc], 0
je 0x406af3
mov dl, byte [eax]
inc ecx
mov byte [esp + 0x10], dl
cmp ecx, 1
jg 0x407f19
add eax, 0x14
cmp eax, 0x41c5dc
jl 0x406ae6
test ecx, ecx
je 0x407fc5
cmp dword [0x41c4d0], 0
mov edi, dword [0x41c570]
jne 0x406b44
cmp dword [0x41c494], 0
jne 0x406b44
cmp dword [0x41c4bc], 0
jne 0x406b44
cmp dword [0x41c55c], 0
jne 0x406b44
test edi, edi
jne 0x406b44
cmp dword [0x41c598], edi
je 0x406b53
xor eax, eax
cmp dword [0x41c8a8], eax
sete al
mov dword [esp + 0x58], eax
mov eax, dword [0x41c41c]
mov edx, dword [0x41c7b8]
mov esi, dword [0x41c534]
mov ebp, dword [0x41c50c]
mov ecx, dword [0x41c4e4]
test eax, eax
jne 0x406b96
cmp dword [0x41c444], 0
jne 0x406b96
cmp dword [0x41c46c], 0
jne 0x406b96
test ebp, ebp
jne 0x406b96
test ecx, ecx
jne 0x406b96
test esi, esi
jne 0x406b96
test edi, edi
je 0x406bbd
test edx, edx
jne 0x406bb9
movsx eax, byte [esp + 0x10]
push eax
push dword [0x41da60]
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push str._s___c:_nickname_is_required_for_this_command___n_._n
push 2
call eax
jmp 0x4067d4
test eax, eax
jne 0x406bce
cmp dword [0x41c458], 0
jne 0x406bce
test ecx, ecx
jne 0x406bce
test esi, esi
je 0x406bf6
cmp dword [0x41c844], 0
jne 0x406bf6
movsx eax, byte [esp + 0x10]
push eax
push dword [0x41da60]
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push str._s___c:_trust_is_required_for_this_command___t_._n
push 2
call eax
jmp 0x4067d4
cmp dword [0x41c4d0], 0
je 0x406c65
mov ecx, dword [0x41c6a0]
mov eax, dword [0x41c81c]
test ecx, ecx
jne 0x406c1b
cmp dword [0x41cab0], 0
jne 0x406c1b
test eax, eax
je 0x406c65
test edx, edx
jne 0x406c50
push dword [0x41da60]
push str._s:_nickname_is_required_to_dump_cert_in_raw_or_ascii_mode._n
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push 2
call eax
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0xc
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
test ecx, ecx
je 0x406c65
test eax, eax
je 0x406c65
push dword [0x41da60]
push str._s:_cannot_specify_both__r_and__a_when_dumping_cert._n
jmp 0x406c2a
cmp dword [0x41c520], 0
jne 0x406c72
test esi, esi
je 0x406ca1
cmp dword [0x41c830], 0
jne 0x406ca1
cmp dword [esp + 0x5c], 0
jne 0x406ca1
movsx eax, byte [esp + 0x10]
push eax
push dword [0x41da60]
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push str._s___c:_subject_is_required_to_create_a_cert_request._n
push 2
call eax
jmp 0x4067d4
cmp dword [0x41c430], 0
jne 0x406cae
test esi, esi
je 0x406cda
cmp dword [0x41c7a4], 0
jne 0x406cda
call dword [sym.imp.nspr4.dll_PR_Now]
mov edi, dword [0x41c570]
mov esi, dword [0x41c534]
mov ebp, dword [0x41c50c]
shrd eax, edx, 0x13
mov dword [esp + 0x64], eax
shr edx, 0x13
test edi, edi
je 0x406cf7
cmp dword [0x41c858], 0
jne 0x406cf7
push dword [0x41da60]
push str._s__V:_specify_a_usage_to_validate_the_cert_for___u_._n
jmp 0x406c2a
cmp dword [0x41c5d4], 0
je 0x406d22
cmp dword [0x41c9e8], 0
je 0x406d12
cmp dword [0x41ca10], 0
jne 0x406d22
push dword [0x41da60]
push str._s___upgrade_merge:_specify_an_upgrade_database_directory____source_dir__and_n___an_upgrade_ID____upgrade_id_._n
jmp 0x406c2a
cmp dword [0x41c5c0], 0
je 0x406d44
cmp dword [0x41c9e8], 0
jne 0x406d44
push dword [0x41da60]
push str._s___merge:_specify_an_source_database_directory____source_dir__n
jmp 0x406c2a
test esi, esi
je 0x406d6a
cmp dword [0x41c6c8], 0
jne 0x406d6a
cmp dword [0x41c894], 0
jne 0x406d6a
push dword [0x41da60]
push str._s__S:_must_specify_issuer___c__or_self_sign___x_._n
jmp 0x406c2a
cmp dword [0x41c4bc], 0
jne 0x406dcb
test ebp, ebp
jne 0x406da4
cmp dword [0x41c4d0], ebp
jne 0x406da4
cmp dword [esp + 0x30], ebp
jne 0x406da4
movsx eax, byte [esp + 0x10]
push eax
push dword [0x41da60]
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push str._s___c:_cannot_use___h_all__for_this_command._n
push 2
call eax
jmp 0x4067d4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x406dcb
movsx eax, byte [esp + 0x10]
push eax
push dword [0x41da60]
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push str._s___c:_cannot_use___k_all__for_this_command._n
push 2
call eax
jmp 0x4067d4
cmp dword [0x41c740], 0
mov esi, dword [sym.imp.nspr4.dll_PR_Open]
je 0x406e36
push 0
push 1
push dword [0x41c73c]
call esi
add esp, 0xc
mov dword [esp + 0x54], eax
test eax, eax
jne 0x406e36
call dword [sym.imp.nspr4.dll_PR_GetOSError]
push eax
call dword [sym.imp.nspr4.dll_PR_GetError]
push eax
push dword [0x41c73c]
push dword [0x41da60]
push str._s:__unable_to_open___s__for_reading___ld___ld_._n
mov eax, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
push 2
call eax
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0x18
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
cmp dword [0x41c7cc], 0
je 0x406e7a
push 0x1b0
push 0x2c
push dword [0x41c7c8]
call esi
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
jne 0x406e7a
call dword [sym.imp.nspr4.dll_PR_GetOSError]
push eax
call dword [sym.imp.nspr4.dll_PR_GetError]
push eax
push dword [0x41c7c8]
push dword [0x41da60]
push str._s:__unable_to_open___s__for_writing___ld___ld_._n
jmp 0x406e10
push 0x17
push 0x412d04
call fcn.0040a890
mov ebp, eax
push 0x12
push 0x412d04
mov dword [esp + 0x20], ebp
call fcn.0040a890
push fcn.0040bc10
mov dword [esp + 0x98], eax
call sub.nss3.dll_PK11_SetPasswordFunc
add esp, 0x14
cmp dword [esp + 0xc4], 1
jne 0x406f66
push 1
push 1
push 1
call dword [sym.imp.nspr4.dll_PR_Init]
xor eax, eax
add esp, 0xc
cmp dword [0x41c5d4], eax
jne 0x406f01
cmp dword [esp + 0x58], eax
setne al
push eax
mov eax, dword [esp + 0x64]
push str.secmod.db
push eax
push eax
push 0
call fcn.0040b880
add esp, 4
push eax
call sub.nss3.dll_NSS_Initialize
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x18], ebx
jmp 0x406f3f
cmp dword [esp + 0x58], eax
setne al
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x70]
push dword [esp + 0x74]
push eax
push eax
push dword [esp + 0x64]
mov eax, dword [esp + 0x78]
push str.secmod.db
push eax
push eax
push 0
call fcn.0040b880
add esp, 4
push eax
call sub.nss3.dll_NSS_InitWithMerge
add esp, 0x28
mov dword [esp + 0x18], eax
mov ebx, eax
test ebx, ebx
je 0x406f56
push dword [0x41da60]
call fcn.0040b1a0
add esp, 4
jmp 0x407b9e
mov dword [esp + 0x9c], 1
call fcn.0040f820
call sub.nss3.dll_CERT_GetDefaultCertDB
cmp dword [0x41c598], 0
mov ebp, eax
mov edi, dword [sym.imp.MSVCR120.dll_printf]
je 0x406f86
push str.Certificate_database_content_version:_command_not_implemented._n
call edi
add esp, 4
mov esi, dword [esp + 0x30]
push str.internal
push esi
call sub.plc4.dll_PL_strcmp
add esp, 8
test eax, eax
jne 0x406fa9
call sub.nss3.dll_PK11_GetInternalKeySlot
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x406fc0
test esi, esi
je 0x4072f0
push esi
call sub.nss3.dll_PK11_FindSlotByName
add esp, 4
mov dword [esp + 0x28], eax
mov esi, eax
test esi, esi
je 0x4072f2
cmp dword [0x41c4f8], 0
je 0x407012
cmp dword [0x41ca74], 0
je 0x406ff9
push esi
call sub.nss3.dll_PK11_NeedUserInit
add esp, 4
test eax, eax
je 0x406ff9
push 0x41347b
push 0
push esi
call sub.nss3.dll_PK11_InitPin
add esp, 0xc
jmp 0x407012
push dword [0x41c8f4]
push dword [0x41c700]
push 0
push 0
push esi
call fcn.0040b6a0
add esp, 0x14
cmp dword [0x41c5d4], 0
je 0x40717f
mov ebp, dword [esp + 0x4c]
cmp byte [ebp], 0
jne 0x40702d
mov ebp, dword [esp + 0x6c]
push esi
call sub.nss3.dll_PK11_IsInternal
add esp, 4
test eax, eax
jne 0x407057
push str.Only_internal_DBs_can_be_upgraded_n
call dword [sym.imp.MSVCR120.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR120.dll_fprintf]
add esp, 8
jmp 0x407b55
push esi
call sub.nss3.dll_PK11_IsRemovable
add esp, 4
test eax, eax
jne 0x40706e
push str.database_already_upgraded._n
jmp 0x407b50
push esi
call sub.nss3.dll_PK11_NeedLogin
add esp, 4
test eax, eax
je 0x407b4b
mov ebx, dword [esp + 0x28]
mov esi, ebp
push ebx
call sub.nss3.dll_PK11_GetTokenName
add esp, 4
mov edi, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4070b0
test cl, cl
je 0x4070ac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4070b0
add eax, 2
add esi, 2
test cl, cl
jne 0x407090
xor eax, eax
jmp 0x4070b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x407106
lea eax, [esp + 0x70]
push eax
push 0
push ebx
call sub.nss3.dll_PK11_Authenticate
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4070ec
push ebp
push str.Could_not_get_password_for__s
push dword [0x41da60]
call fcn.0040af80
add esp, 0xc
jmp 0x407b5b
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push ebx
call sub.nss3.dll_PK11_IsLoggedIn
add esp, 8
test eax, eax
jne 0x407b4b
push ebx
call sub.nss3.dll_PK11_IsPresent
add esp, 4
test eax, eax
jne 0x407133
push str.upgrade_merge_internal_error_n
call dword [sym.imp.MSVCR120.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR120.dll_fprintf]
add esp, 8
or ebx, 0xffffffff
jmp 0x407b57
lea eax, [esp + 0x20]
push eax
push 0
push ebx
call sub.nss3.dll_PK11_Authenticate
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x40715c
push str.upgrade_complete__n
call edi
add esp, 4
jmp 0x407b5b
mov eax, dword [esp + 0x28]
push eax
call sub.nss3.dll_PK11_GetTokenName
push eax
push str.Could_not_get_password_for__s
push dword [0x41da60]
call fcn.0040af80
add esp, 0x10
jmp 0x407b5b
cmp dword [0x41c5c0], 0
je 0x4072dd
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
jne 0x40719a
mov eax, str.Source_Database
push eax
push dword [esp + 0x6c]
push dword [esp + 0x58]
push str.configDir_s_certPrefix_s_tokenDescription_s
call dword [sym.imp.nspr4.dll_PR_smprintf]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4071bf
or ebx, 0xffffffff
jmp 0x407b57
push edi
call sub.nss3.dll_SECMOD_OpenUserDB
push edi
mov esi, eax
call dword [sym.imp.nspr4.dll_PR_smprintf_free]
add esp, 8
test esi, esi
jne 0x4071f0
push str.couldnt_open_source_database
push dword [0x41da60]
call fcn.0040af80
add esp, 8
or ebx, 0xffffffff
jmp 0x407b57
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push 0
push ebp
call sub.nss3.dll_PK11_Authenticate
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x40723c
push ebp
call sub.nss3.dll_PK11_GetTokenName
push eax
push str.Couldnt_get_password_for__s
push dword [0x41da60]
call fcn.0040af80
add esp, 0x10
push esi
call sub.nss3.dll_SECMOD_CloseUserDB
push esi
call sub.nss3.dll_PK11_FreeSlot
add esp, 8
jmp 0x407b5b
lea eax, [esp + 0x70]
push eax
push 0
push esi
call sub.nss3.dll_PK11_Authenticate
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x407259
push esi
jmp 0x40720f
call sub.nss3.dll_PK11_CreateMergeLog
mov edi, eax
test edi, edi
jne 0x407292
push str.couldnt_create_error_log
push dword [0x41da60]
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
call fcn.0040af80
add esp, 8
push esi
call sub.nss3.dll_SECMOD_CloseUserDB
push esi
call sub.nss3.dll_PK11_FreeSlot
add esp, 8
jmp 0x407b5b
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x24]
push eax
push edi
push esi
push ebp
call sub.nss3.dll_PK11_MergeTokens
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4072c0
push edi
push dword [0x41da60]
call fcn.004050d0
add esp, 8
push edi
call sub.nss3.dll_PK11_DestroyMergeLog
add esp, 4
push esi
call sub.nss3.dll_SECMOD_CloseUserDB
push esi
call sub.nss3.dll_PK11_FreeSlot
add esp, 8
jmp 0x407b5b
mov ecx, dword [0x41c584]
mov edx, dword [0x41c548]
mov eax, dword [0x41c4e4]
jmp 0x407364
xor esi, esi
cmp dword [0x41c4f8], 0
jne 0x407b83
mov eax, dword [0x41c4e4]
test eax, eax
jne 0x407b83
mov ecx, dword [0x41c584]
test ecx, ecx
jne 0x407b83
mov edx, dword [0x41c548]
test edx, edx
jne 0x407b83
cmp dword [0x41c534], edx
jne 0x407b83
cmp dword [0x41c41c], edx
jne 0x407b83
cmp dword [0x41c5c0], edx
jne 0x407b83
cmp dword [0x41c5d4], edx
jne 0x407b83
cmp dword [0x41c458], edx
jne 0x407b83
cmp dword [0x41c4d0], 0
je 0x407429
cmp dword [0x41cab0], 0
je 0x40740f
mov esi, dword [0x41caac]
mov ecx, esi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4073a0
sub ecx, edx
lea eax, [esp + 0xac]
push ecx
push esi
push eax
push 0
call fcn.00403ad0
add esp, 0x10
test eax, eax
je 0x4073da
push esi
push str.malformed_extension_OID__s
push dword [0x41da60]
call fcn.0040af80
add esp, 0xc
jmp 0x407b5b
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x34]
push 0
push 1
push eax
push dword [esp + 0x9c]
push dword [esp + 0x2c]
push ebp
call fcn.00405440
add esp, 0x24
mov ebx, eax
jmp 0x407b57
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x44]
push 0
push dword [0x41c6a0]
push dword [0x41c81c]
push esi
jmp 0x4073f4
cmp dword [0x41c50c], 0
je 0x40744c
push dword [0x41c6a0]
push dword [esp + 0x14]
push ebp
call fcn.00404fc0
add esp, 0xc
mov ebx, eax
jmp 0x407b57
cmp dword [0x41c4bc], 0
je 0x40747b
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x24]
push 0
push ebp
push esi
call fcn.00405500
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x18], ebx
jmp 0x407b5f
cmp dword [0x41c55c], 0
je 0x407490
call fcn.004059a0
mov ebx, eax
jmp 0x407b57
cmp dword [0x41c444], 0
je 0x4074ad
push dword [esp + 0x10]
push ebp
call fcn.00404eb0
add esp, 8
mov ebx, eax
jmp 0x407b57
cmp dword [0x41c46c], 0
je 0x4074d3
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.00404f10
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
jmp 0x407b5f
test eax, eax
je 0x4074f7
lea eax, [esp + 0x20]
push eax
push dword [0x41c840]
push dword [esp + 0x18]
push esi
push ebp
call fcn.00404b40
add esp, 0x14
mov ebx, eax
jmp 0x407b57
test ecx, ecx
je 0x40751b
push dword [0x41c8f4]
push dword [0x41c700]
push 0
push 0
push esi
call fcn.0040b6a0
add esp, 0x14
mov ebx, eax
jmp 0x407b57
test edx, edx
je 0x407543
cmp dword [0x41c5ec], 0
mov eax, 0x41347b
je 0x407532
mov eax, dword [0x41c5e8]
push eax
push esi
call sub.nss3.dll_PK11_ResetToken
add esp, 8
mov ebx, eax
jmp 0x407b57
cmp dword [0x41c570], 0
je 0x407604
mov eax, dword [0x41c6f0]
test eax, eax
je 0x4075a2
test esi, esi
je 0x4075a2
push esi
call sub.nss3.dll_PK11_NeedLogin
add esp, 4
test eax, eax
je 0x40759d
lea eax, [esp + 0x20]
push eax
push 1
push esi
call sub.nss3.dll_PK11_Authenticate
add esp, 0xc
test eax, eax
je 0x40759d
push esi
call sub.nss3.dll_PK11_GetTokenName
push eax
push str.could_not_authenticate_to_token__s.
push dword [0x41da60]
call fcn.0040af80
add esp, 0x10
jmp 0x407b5b
mov eax, dword [0x41c6f0]
lea ecx, [esp + 0x20]
push ecx
push dword [0x41c6a0]
push dword [0x41c790]
push eax
push dword [0x41c854]
push dword [0x41c6b0]
push dword [esp + 0x28]
push ebp
call fcn.004061a0
mov ebx, eax
add esp, 0x20
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x407b5b
call dword [sym.imp.nspr4.dll_PR_GetError]
cmp eax, 0xffffe005
jne 0x407b5b
push str.validation_failed
push dword [0x41da60]
call fcn.0040af80
add esp, 8
jmp 0x407b5b
cmp dword [0x41c520], 0
jne 0x407623
cmp dword [0x41c534], 0
jne 0x407623
cmp dword [0x41c480], 0
je 0x407752
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x407779
push edi
push ebp
call sub.nss3.dll_CERT_FindCertByNicknameOrEmailAddr
mov esi, eax
add esp, 8
test esi, esi
jne 0x407671
push eax
push edi
call sub.nss3.dll_PK11_FindCertFromNickname
mov esi, eax
add esp, 8
test esi, esi
jne 0x407671
push edi
push str._s_is_neither_a_key_type_nor_a_nickname
push dword [0x41da60]
call fcn.0040af80
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call sub.nss3.dll_PK11_FindKeyByDERCert
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4076a1
push esi
call sub.nss3.dll_CERT_ExtractPublicKey
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x4076a5
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4076cf
push edi
push str.Could_not_get_keys_from_cert__s
push dword [0x41da60]
call fcn.0040af80
or ebx, 0xffffffff
push esi
mov dword [esp + 0x28], ebx
call sub.nss3.dll_CERT_DestroyCertificate
add esp, 0x10
jmp 0x407b5b
cmp dword [0x41c520], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
je 0x40771b
cmp dword [esp + 0x3c], 0
jne 0x40771b
push dword [esi + 4]
call sub.nss3.dll_CERT_AsciiToName
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x40771b
push edi
push str.Could_not_get_subject_from_certificate__s
push dword [0x41da60]
call fcn.0040af80
push esi
call sub.nss3.dll_CERT_DestroyCertificate
add esp, 0x10
or ebx, 0xffffffff
jmp 0x407b57
push esi
call sub.nss3.dll_CERT_DestroyCertificate
mov esi, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [eax + 0x14], ecx
cmp dword [0x41c480], 0
jne 0x407b55
cmp dword [0x41c520], 0
jne 0x40775f
cmp dword [0x41c534], 0
jne 0x40775f
cmp dword [0x41c430], 0
je 0x4078b3
mov eax, dword [0x41c9ac]
mov dword [0x41cad8], eax
test eax, eax
jne 0x4077d2
mov eax, dword [0x41c600]
mov dword [0x41cad8], eax
jmp 0x4077dc
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x40]
push dword [esp + 0x34]
push dword [esp + 0x94]
push dword [0x41c804]
push eax
push dword [0x41c8cc]
push dword [esp + 0x98]
push dword [esp + 0x98]
push esi
push dword [esp + 0x44]
call fcn.0040a190
add esp, 0x2c
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40772c
push str.unable_to_generate_key_s__n
jmp 0x4071da
mov eax, dword [0x41c9a8]
mov dword [0x41cadc], eax
mov eax, dword [0x41c614]
mov dword [0x41cae0], eax
mov eax, dword [0x41c984]
mov dword [0x41cb40], eax
mov eax, dword [0x41c628]
mov dword [0x41cae8], eax
mov eax, dword [0x41c998]
mov dword [0x41cb38], eax
mov eax, dword [0x41c63c]
mov dword [0x41caf0], eax
mov eax, dword [0x41c9c0]
mov dword [0x41caf8], eax
test eax, eax
jne 0x407828
mov eax, dword [0x41c650]
mov dword [0x41caf8], eax
jmp 0x407832
mov eax, dword [0x41c9bc]
mov dword [0x41cafc], eax
mov eax, dword [0x41c9d4]
mov dword [0x41cb00], eax
test eax, eax
jne 0x40784c
mov eax, dword [0x41c664]
mov dword [0x41cb00], eax
jmp 0x407856
mov eax, dword [0x41c9d0]
mov dword [0x41cb04], eax
mov eax, dword [0x41ca9c]
mov dword [0x41cb48], eax
test eax, eax
je 0x40786e
mov eax, dword [0x41ca98]
mov dword [0x41cb4c], eax
cmp dword [0x41c430], 0
mov eax, dword [0x41c90c]
mov dword [0x41cb08], eax
mov eax, dword [0x41c920]
mov dword [0x41cb10], eax
mov eax, dword [0x41c934]
mov dword [0x41cb18], eax
mov eax, dword [0x41c948]
mov dword [0x41cb20], eax
mov eax, dword [0x41c95c]
mov dword [0x41cb28], eax
mov eax, dword [0x41c970]
mov dword [0x41cb30], eax
jne 0x4078d5
cmp dword [0x41c41c], 0
jne 0x4078c5
cmp dword [0x41c458], 0
je 0x4078ff
cmp dword [0x41c430], 0
lea eax, [esp + 0xa0]
je 0x4078dc
lea eax, [esp + 0x8c]
push 1
push dword [0x41c6a0]
push dword [esp + 0x5c]
push eax
call fcn.0040ce00
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407b5b
cmp dword [0x41c520], 0
mov edi, dword [esp + 0x1c]
je 0x407973
mov eax, dword [0x41cac4]
lea ecx, [esp + 0x8c]
push ecx
neg eax
sbb eax, eax
and eax, dword [0x41cac0]
push eax
push 0x41cad8
push dword [0x41c688]
push dword [0x41c674]
push dword [0x41c6a0]
push dword [0x41c7dc]
push dword [esp + 0x58]
push dword [esp + 0x54]
push edi
push dword [esp + 0x60]
push dword [esp + 0x40]
call fcn.00404750
mov ebx, eax
add esp, 0x30
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407b5b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [eax + 0x14], ecx
cmp dword [0x41c534], 0
je 0x4079dc
mov eax, dword [0x41cac4]
lea ecx, [esp + 0x8c]
push ecx
neg eax
sbb eax, eax
and eax, dword [0x41cac0]
push eax
push 0x41c398
push 0
push 0
push 0
push dword [0x41c7dc]
push dword [esp + 0x58]
push dword [esp + 0x54]
push edi
push dword [esp + 0x60]
mov edi, dword [esp + 0x40]
push edi
call fcn.00404750
mov ebx, eax
add esp, 0x30
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407b45
lea eax, [esp + 0x20]
mov dword [edi + 0x14], eax
cmp dword [0x41c534], ebx
jne 0x4079e9
cmp dword [0x41c430], 0
je 0x407a7e
mov eax, dword [0x41cac4]
neg eax
sbb eax, eax
and eax, dword [0x41cac0]
cmp dword [0x41c6a0], 0
je 0x407a11
cmp dword [0x41c430], 0
je 0x407a11
mov ecx, 1
jmp 0x407a13
xor ecx, ecx
lea edx, [esp + 0xa0]
push edx
push dword [esp + 0x84]
push eax
push 0x41cad8
push dword [0x41c894]
lea eax, [esp + 0x34]
push ecx
push dword [0x41c688]
push dword [0x41c674]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x8c]
push dword [esp + 0x60]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xc4]
push eax
push dword [0x41c6c4]
push esi
push ebp
call fcn.00404c50
mov ebx, eax
add esp, 0x48
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407b5b
cmp dword [0x41c534], 0
jne 0x407a99
cmp dword [0x41c41c], 0
jne 0x407a99
cmp dword [0x41c458], 0
je 0x407afa
push 0x417130
push dword [0x41c840]
call dword [sym.imp.MSVCR120.dll_strstr]
add esp, 8
test eax, eax
je 0x407ac9
push str.Notice:_Trust_flag_u_is_set_automatically_if_the_private_key_is_present._n
call dword [sym.imp.MSVCR120.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR120.dll_fprintf]
add esp, 8
lea eax, [esp + 0x20]
push eax
push dword [0x41c458]
lea eax, [esp + 0xa8]
push eax
push dword [0x41c840]
push dword [esp + 0x20]
push ebp
push esi
call fcn.004045c0
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x407b5b
cmp dword [0x41c520], 0
jne 0x407b15
cmp dword [0x41c430], 0
je 0x407b41
lea esi, [esp + 0xa0]
jmp 0x407b1c
lea esi, [esp + 0x8c]
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + 0x48]
call dword [sym.imp.nspr4.dll_PR_Write]
add esp, 0xc
test eax, eax
js 0x4071e8
cmp eax, dword [esi + 8]
je 0x407b5b
or ebx, 0xffffffff
jmp 0x407b57
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x407b63
push str.upgrade_complete__n
call edi
add esp, 4
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x407b74
push eax
call sub.nss3.dll_PK11_FreeSlot
add esp, 4
test edi, edi
je 0x407ba5
push edi
call sub.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
jmp 0x407ba5
push dword [esp + 0x30]
push str.could_not_find_the_slot__s
push dword [0x41da60]
call fcn.0040af80
mov ebp, dword [esp + 0x1c]
add esp, 0xc
or ebx, 0xffffffff
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x407bb6
push eax
call sub.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x407bc7
push eax
call sub.nss3.dll_CERT_DestroyName
add esp, 4
test ebp, ebp
je 0x407bd4
push ebp
call sub.plc4.dll_PL_strfree
add esp, 4
mov ebp, dword [esp + 0x54]
mov esi, dword [sym.imp.nspr4.dll_PR_Close]
mov edi, dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
test ebp, ebp
je 0x407bf9
push 0
call edi
add esp, 4
cmp ebp, eax
je 0x407bf9
push ebp
call esi
add esp, 4
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x407c12
push 1
call edi
add esp, 4
cmp ebp, eax
je 0x407c12
push ebp
call esi
add esp, 4
lea eax, [esp + 0x8c]
push 0
push eax
call sub.nssutil3.dll_SECITEM_FreeItem_Util
lea eax, [esp + 0xa8]
push 0
push eax
call sub.nssutil3.dll_SECITEM_FreeItem_Util
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x407c4b
cmp dword [esp + 0x20], 2
jne 0x407c4b
push eax
call sub.plc4.dll_PL_strfree
add esp, 4
test ebx, ebx
jne 0x407ed3
cmp dword [0x41c5ac], ebx
je 0x407ed3
xor eax, eax
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], eax
cmp dword [0x41c740], eax
je 0x407eee
mov eax, dword [0x41c73c]
test eax, eax
je 0x407eee
push 0x4171ac
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x407cc5
call dword [sym.imp.nspr4.dll_PR_GetOSError]
push eax
call dword [sym.imp.nspr4.dll_PR_GetError]
push eax
push dword [0x41c73c]
push dword [0x41da60]
push str._s:__unable_to_open___s__for_reading___ld___ld_._n
push 2
call edi
jmp 0x406e19
mov ebx, dword [sym.imp.MSVCR120.dll_isspace]
jmp 0x407cd0
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0x200]
mov dword [esp + 0x48], 0
mov edi, 2
mov dword [esp + 0x30], edi
cmp eax, ecx
jle 0x407d19
add ecx, 0x200
push ecx
push ebp
mov dword [esp + 0x34], ecx
call sub.nssutil3.dll_PORT_Realloc_Util
add esp, 8
test eax, eax
je 0x407e97
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x34], ebp
mov byte [eax + esi], 0
push dword [esp + 0x44]
mov eax, ecx
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
call dword [sym.imp.MSVCR120.dll_fgets]
add esp, 0xc
test eax, eax
je 0x407ebc
push 0xa
push ebp
call dword [sym.imp.MSVCR120.dll_strrchr]
add esp, 8
test eax, eax
je 0x407d4a
mov byte [eax], 0
mov esi, ebp
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x407d50
sub esi, ecx
je 0x407d6b
cmp byte [esi + ebp - 1], 0x5c
jne 0x407d6b
dec esi
mov byte [esi + ebp], al
jmp 0x407e8a
push 0xc
call sub.nssutil3.dll_PORT_Alloc_Util
mov ecx, dword [0x41da60]
mov ebp, eax
mov eax, dword [esp + 0x38]
push str.__f_n_r_t_v
push eax
mov dword [ebp], ecx
mov dword [ebp + 4], eax
call dword [sym.imp.MSVCR120.dll_strpbrk]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x407e30
lea ecx, [ecx]
movsx eax, byte [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x407dc1
lea ecx, [ecx]
mov byte [esi], 0
inc esi
movsx eax, byte [esi]
push eax
call ebx
add esp, 4
test eax, eax
jne 0x407db0
mov al, byte [esi]
test al, al
je 0x407e2c
cmp al, 0x22
jne 0x407df0
lea edi, [esi + 1]
push 0x22
push edi
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
test eax, eax
je 0x407de8
mov esi, edi
mov byte [eax], 0
lea edi, [eax + 1]
jmp 0x407df2
mov dword [esp + 0x48], 1
mov edi, esi
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
lea eax, [eax*4 + 4]
push eax
push ebp
call sub.nssutil3.dll_PORT_Realloc_Util
mov ebp, eax
mov eax, dword [esp + 0x38]
push str.__f_n_r_t_v
push edi
mov dword [ebp + eax*4 - 4], esi
call dword [sym.imp.MSVCR120.dll_strpbrk]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x407da0
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x48], 1
mov dword [ebp + edi*4], 0
jne 0x407e5f
push dword [esp + 0x34]
push str.Missing_closing_quote_in_batch_command_:_n_s_nNot_executed._n
push 2
call dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0xc
jmp 0x407e6f
push 0
push ebp
push edi
call fcn.00406460
add esp, 0xc
test eax, eax
je 0x407e77
mov dword [esp + 0x18], 0xffffffff
push ebp
call sub.nssutil3.dll_PORT_Free_Util
mov ebp, dword [esp + 0x38]
add esp, 4
xor esi, esi
mov byte [ebp], 0
cmp dword [esp + 0x18], 0
je 0x407cd0
jmp 0x407ebc
mov eax, dword [esp + 0x2c]
push eax
push dword [0x41da60]
push str._s:_PORT_Realloc__ld__failed_n
push 2
call dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0x10
push ebp
call sub.nssutil3.dll_PORT_Free_Util
push dword [esp + 0x48]
call dword [sym.imp.MSVCR120.dll_fclose]
mov ebx, dword [esp + 0x20]
add esp, 8
cmp dword [esp + 0x9c], 1
jne 0x407f02
call sub.nss3.dll_NSS_Shutdown
test eax, eax
je 0x407f02
push 1
call dword [sym.imp.MSVCR120.dll_exit]
push dword [0x41da60]
push str._s:__no_batch_input_file_specified._n
push 2
call edi
jmp 0x406c33
neg ebx
pop edi
sbb ebx, ebx
pop esi
and ebx, 0xff
pop ebp
mov eax, ebx
pop ebx
add esp, 0xa8
ret
push dword [0x41da60]
push str._s:_only_one_command_at_a_time__n
push 2
call ebp
mov edi, dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 4
push eax
call edi
add esp, 0xc
push str.You_entered:
push 2
call ebp
add esp, 4
push eax
call edi
add esp, 8
mov esi, 0x41c410
mov edi, edi
cmp dword [esi + 0xc], 0
je 0x407f6c
movsx eax, byte [esi]
push eax
push str.___c
push 2
call ebp
add esp, 4
push eax
call edi
add esp, 0xc
add esi, 0x14
cmp esi, 0x41c5dc
jl 0x407f50
push 0x4135c0
push 2
call ebp
add esp, 4
push eax
call edi
add esp, 8
mov eax, 0xff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
push dword [0x41da60]
call fcn.00406140
push dword [0x41da60]
call fcn.00405d20
push dword [0x41da60]
call fcn.00406140
push dword [0x41da60]
call fcn.00406140
push dword [0x41da60]
call fcn.00406140
int3