Function at 0x44d010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5244db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x61c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor ebp, ebp
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], esi
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebx
jne 0x44d07a
xor eax, eax
jmp 0x44d66f
lea eax, [esp + 0xc]
push edi
push eax
push ebx
push ebx
push ebx
call dword [esi + 8]
test eax, eax
jne 0x44d5c3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push eax
call dword [esi + 0x10]
cmp eax, ebx
je 0x44d0c9
cmp eax, 0x8010002e
jne 0x44d5c3
push str.No_smart_card_reader_found.
push 0x6360001a
push 4
call fcn.0044b110
add esp, 0xc
jmp 0x44d5c3
mov esi, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x30], edi
cmp byte [esi], bl
je 0x44d0eb
push esi
call dword [0x527174]
lea esi, [esi + eax + 1]
inc edi
cmp byte [esi], bl
jne 0x44d0d7
mov dword [esp + 0x30], edi
lea esi, [edi*8]
sub esi, edi
shl esi, 3
push esi
push 0x40
call dword [0x527178]
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x44d5c3
mov edx, dword [esp + 0x3c]
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
cmp eax, ebx
jbe 0x44d154
mov edi, edx
mov ebp, eax
mov dword [edi], esi
push esi
mov dword [edi + 8], ebx
call dword [0x527174]
add edi, 0x38
dec ebp
lea esi, [esi + eax + 1]
jne 0x44d132
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push eax
push edx
push 0xffffffffffffffff
push ecx
call dword [edi + 0x20]
cmp eax, ebx
je 0x44d191
push 0x11a
push str.C:_temp_build_rel_5.0.50.808571903382_Tue_13_Jan_2009_18_15_02_rel_5.0.5UnityCertAPISmartCard.cpp
push eax
push str.SCardGetStatusChange
push str.Function__s_failed_with_an_error_code___0x_08X__s:_d_.
push 0xa360000d
push 2
call fcn.0044b110
add esp, 0x1c
jmp 0x44d5c3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], ebx
cmp eax, ebx
mov dword [edi + 0x50], eax
jbe 0x44d5c3
mov edx, dword [esp + 0x3c]
lea esi, [edx + 0x14]
mov dword [esp + 0x4c], esi
test byte [esi - 8], 0x20
jne 0x44d1bd
dec dword [edi + 0x50]
jmp 0x44d579
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push ebx
push esi
push edx
mov dword [esp + 0x4c], 0xffffffff
call dword [edi + 0xc]
test eax, eax
jne 0x44d5c3
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 2
push edx
push eax
mov dword [esp + 0x48], 0xffffffff
call dword [edi + 0x24]
cmp eax, ebx
jne 0x44d5c3
mov ecx, dword [esi - 0x14]
push ecx
call dword [0x527174]
mov edi, dword [0x527178]
add eax, 8
push eax
push 0x40
call edi
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x44d5c3
mov edx, dword [esi - 0x14]
mov esi, eax
push edx
push str.._s_
push esi
call dword [0x5274a8]
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xf0000040
push 1
push eax
push esi
push ecx
call dword [0x52702c]
test eax, eax
je 0x44d5c3
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push 1
lea eax, [esp + 0x230]
push edx
push eax
push 2
push ecx
mov dword [esp + 0x54], 0x400
call dword [0x527030]
test eax, eax
je 0x44d518
cmp dword [esp + 0x44], ebx
jne 0x44d518
mov edx, dword [esp + 0x40]
push edx
push 0x40
call edi
mov esi, eax
cmp esi, ebx
je 0x44d5c3
lea eax, [esp + 0x22c]
push eax
push 0x55c5a4
push esi
call dword [0x5274a8]
add esp, 0xc
cmp ebp, ebx
je 0x44d2cf
push ebp
call dword [0x52717c]
mov ecx, dword [esp + 0x24]
push ebx
push 1
push ecx
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x34], esi
call dword [0x52702c]
test eax, eax
je 0x44d4e9
mov dword [esp + 0x54], 1
cmp dword [esp + 0x44], ebx
jne 0x44d4d5
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
call dword [0x527034]
test eax, eax
je 0x44d4b6
mov ecx, dword [esp + 0x38]
mov esi, dword [0x527038]
lea eax, [esp + 0x50]
push ebx
push eax
push ebx
push 0x1a
push ecx
mov dword [esp + 0x64], ebx
call esi
test eax, eax
je 0x44d4b6
mov edx, dword [esp + 0x50]
push edx
push 0x40
call edi
mov ebp, eax
cmp ebp, ebx
je 0x44d593
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x50]
push ebx
push eax
push ebp
push 0x1a
push ecx
call esi
test eax, eax
je 0x44d4a3
mov edx, dword [esp + 0x50]
push ebx
push edx
push ebp
lea ecx, [esp + 0x68]
call fcn.00453570
lea ecx, [esp + 0x5c]
mov dword [esp + 0x634], ebx
call fcn.00455010
cmp eax, ebx
je 0x44d488
mov edi, dword [esp + 0x63c]
mov ecx, 4
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44d488
push eax
call dword [0x527428]
mov eax, dword [esp + 0x644]
add esp, 4
cmp eax, ebx
je 0x44d42f
push str.Attempt_to_clear_cached_Smart_Card_PIN.
push 0x55c5a4
push 0x63600001
push 9
call fcn.0044b110
mov eax, dword [esp + 0x28]
add esp, 0x10
push ebx
push ebx
push 0x20
push eax
call dword [0x52703c]
test eax, eax
jne 0x44d416
push str.Failed_to_clear_cached_Smart_Card_PIN.
push 0x55c5a4
push 0x63600001
push 9
call fcn.0044b110
add esp, 0x10
call dword [0x527200]
cmp eax, 0x8009000d
je 0x44d5a0
push str.Complete_Smart_Card_PIN_Reset.
push 0x55c5a4
push 0x63600001
push 9
call fcn.0044b110
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], 1
lea eax, [ecx + 0x2c]
mov cl, byte [ecx + 0x2c]
cmp cl, bl
je 0x44d47b
mov edi, dword [esp + 0x4c]
mov ecx, 9
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x44d47b
push str.Warning:_Smart_Card_found_not_one_previously_watched.
push 0x55c5a4
push 0xa3600001
push 2
call fcn.0044b110
push 0x57c0a0
call fcn.004477b0
add esp, 0x14
jmp 0x44d488
mov esi, dword [esp + 0x4c]
mov ecx, 9
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push ebp
call dword [0x52717c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x634], 0xffffffff
call fcn.004536c0
mov eax, dword [esp + 0x38]
push eax
call dword [0x527040]
mov edi, dword [0x527178]
jmp 0x44d4bc
call dword [0x527200]
mov ecx, dword [esp + 0x54]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
mov dword [esp + 0x54], ecx
jne 0x44d2f7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44d4e9
push ebx
push eax
call dword [0x527044]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push ebx
lea eax, [esp + 0x230]
push edx
push eax
push 2
push ecx
mov dword [esp + 0x54], 0x400
call dword [0x527030]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x44d290
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x44d52c
push ebx
push eax
call dword [0x527044]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x44d545
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x44d55e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
call dword [edx + 0x1c]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
push eax
call dword [0x52717c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x58]
add esi, 0x38
inc ecx
mov dword [esp + 0x4c], esi
cmp ecx, eax
mov dword [esp + 0x58], ecx
jb 0x44d1af
jmp 0x44d5c3
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x527040]
jmp 0x44d5bf
cmp ebp, ebx
je 0x44d5ab
push ebp
call dword [0x52717c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x634], 0xffffffff
call fcn.004536c0
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x50], ebx
jne 0x44d5e0
push str.No_smart_card_readers_with_cards_inserted_found.
push 0x6360001b
push 4
call fcn.0044b110
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44d5f0
push ebx
push eax
call dword [0x527044]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x44d600
push ebx
push eax
call dword [0x527044]
cmp ebp, ebx
je 0x44d60f
mov esi, dword [0x52717c]
push ebp
call esi
jmp 0x44d615
mov esi, dword [0x52717c]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x44d620
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x44d631
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [edi + 0x1c]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x44d642
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [edi + 0x1c]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x44d64d
push eax
call esi
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x44d65e
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [edi + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x44d66a
push eax
call dword [edi + 0x14]
mov eax, dword [esp + 0x44]
pop edi
mov ecx, dword [esp + 0x628]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x628
ret 8