Function at 0x41958f
Capabilities:
Reference public rsa key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4339ac]
push ebx
push esi
push edi
push dword [eax + 0x138]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ebx, 0x800
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x4339ac]
push 8
push dword [eax]
call edi
mov esi, eax
test esi, esi
je 0x419b5e
mov eax, dword [0x4339ac]
push 0x80
push 8
push dword [eax]
call edi
test eax, eax
mov dword [ebp - 0xc], eax
je 0x419b0e
mov eax, dword [0x4339ac]
push 0x94
push 8
push dword [eax]
call edi
test eax, eax
mov dword [ebp - 0x10], eax
je 0x419b0e
mov eax, dword [0x4339ac]
push 0x254
push 8
push dword [eax]
call edi
test eax, eax
mov dword [ebp - 0x14], eax
je 0x419b0e
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [eax + 0x3958], ecx
je 0x419ae6
cmp dword [eax + 0x395c], ecx
je 0x419ae6
push 0x4263b4
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x1c]
add eax, 0x140
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x4196ab
mov dword [ebp - 8], 1
jmp 0x419b0e
mov eax, 0x1870
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x4339ac]
push 8
push dword [eax]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x4196d4
mov dword [ebp - 8], 2
jmp 0x419aeb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3958]
mov dword [edi], ecx
mov eax, dword [eax + 0x395c]
and dword [edi + 0x6c], 0
push 0
mov dword [edi + 0x54], eax
lea eax, [ebp - 0x24]
push eax
mov dword [edi + 0x68], 0x1800
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x24]
push edi
push 0x220038
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x41971f
mov dword [ebp - 8], 3
jmp 0x419aeb
mov eax, dword [edi + 0x58]
cmp eax, 1
je 0x419738
cmp eax, 2
je 0x419738
mov dword [ebp - 8], 4
jmp 0x419aeb
cmp dword [edi + 0x68], ebx
jae 0x419752
cmp dword [edi + 0x6c], 0x100
jae 0x419752
mov dword [ebp - 8], 5
jmp 0x419aeb
push dword [edi + 0x5c]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x395c]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push dword [eax + 0x3958]
lea eax, [ebp - 0x130]
push str.___JspUSB_Fki_CryptDataPut_DV:_02d_PT:_02d_DN:_04X_r_n
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
mov eax, dword [ebp - 0x18]
push ebx
add eax, 0x70
push eax
push esi
call fcn.0041cde0
or word [esi + 0x1a], 0xffff
or word [esi + 0x24], 0xffff
or eax, 0xffffffff
push 2
push 0x10
mov dword [esi + 0xe], eax
mov dword [esi + 0x12], eax
mov dword [esi + 0x16], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x26], eax
mov dword [esi + 0x2a], eax
mov dword [esi + 0x2e], eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x419806
push ebx
lea eax, [ebp - 0x130]
push str.___REAL_TARGET_DATA__ARRANGED___04X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
push 0x10
lea eax, [ebp - 4]
push eax
push 0x432068
mov ebx, 0x94
push ebx
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x41985c
push ebx
lea eax, [ebp - 0x130]
push str.___REAL_PUBLIC_KEYBLOB_DATA__02X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x68]
push 0x80
lea eax, [ecx + eax + 0xf0]
push eax
push dword [ebp - 0xc]
call fcn.0041cde0
push 2
push 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push 0x80
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x4198ce
push 0x80
lea eax, [ebp - 0x130]
push str.___REAL_SIGN_DATA__02X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x432068
push dword [ebp - 0xc]
push esi
call fcn.004192a3
push str.__REAL_SIGN_DATA_Verify
mov dword [ebp - 8], eax
call fcn.00415467
cmp dword [ebp - 8], 3
jne 0x4198f6
mov eax, str._Karcked__OK
jmp 0x419913
cmp dword [ebp - 8], 2
jne 0x419903
mov eax, 0x42dc48
jmp 0x419913
cmp dword [ebp - 8], 1
mov eax, 0x42dc44
je 0x419913
mov eax, 0x42dc40
push eax
call fcn.00415467
push 0x42dc3c
call fcn.00415467
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push esi
call fcn.00418ffb
push 1
push 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push ebx
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x419981
push ebx
lea eax, [ebp - 0x130]
push str.___DUMMY_NEW_PUBLIC_KEYBLOB_DATA__02X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
push 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
mov ebx, 0x254
push ebx
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x4199d5
push ebx
lea eax, [ebp - 0x130]
push str.___DUMMY_NEW_PRIVATE_KEYBLOB_DATA__02X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [ebp - 0x14]
push 0
push esi
call fcn.004193dd
test al, 8
mov edx, 0x42dc48
mov ecx, 0x42dc44
mov dword [ebp - 8], edx
jne 0x4199f5
mov dword [ebp - 8], ecx
test al, 4
mov dword [ebp - 0x28], edx
jne 0x4199ff
mov dword [ebp - 0x28], ecx
test al, 2
mov ebx, edx
jne 0x419a07
mov ebx, ecx
test al, 1
je 0x419a0d
mov ecx, edx
push dword [ebp - 8]
lea eax, [ebp - 0x130]
push dword [ebp - 0x28]
push ebx
push ecx
push str.___DUMMY_NEW_PRIVATE_KEYBLOB_DATA_PUBEXP:_s_HASH:_s_SIGN:_s_PRVEXP:_s_r_n
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push 2
push 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov ebx, 0x80
push ebx
call fcn.004080ef
cmp dword [ebp - 4], 0
je 0x419a86
push ebx
lea eax, [ebp - 0x130]
push str.___DUMMY_NEW_SIGN_DATA__02X_r_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.00415467
push dword [ebp - 4]
call fcn.00415467
push dword [ebp - 4]
mov eax, dword [0x4339ac]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push str.__DUMMY_NEW_SIGN_DATA_Verify
call fcn.00415467
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push esi
call fcn.004192a3
cmp eax, 3
jne 0x419aa8
mov eax, str._Karcked__OK
jmp 0x419ac3
cmp eax, 2
jne 0x419ab4
mov eax, 0x42dc48
jmp 0x419ac3
cmp eax, 1
mov eax, 0x42dc44
je 0x419ac3
mov eax, 0x42dc40
push eax
call fcn.00415467
push 0x42dc3c
call fcn.00415467
push 2
call fcn.004010b8
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], 6
jmp 0x419aeb
mov dword [ebp - 8], ecx
mov edi, ecx
test edi, edi
je 0x419aff
mov eax, dword [0x4339ac]
push edi
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x20], 0xffffffff
je 0x419b0e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4339ac]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [eax]
call edi
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x419b34
push dword [ebp - 0xc]
mov eax, dword [0x4339ac]
push esi
push dword [eax]
call edi
cmp dword [ebp - 0x10], esi
je 0x419b46
push dword [ebp - 0x10]
mov eax, dword [0x4339ac]
push esi
push dword [eax]
call edi
cmp dword [ebp - 0x14], esi
je 0x419b58
push dword [ebp - 0x14]
mov eax, dword [0x4339ac]
push esi
push dword [eax]
call edi
cmp dword [ebp - 8], 6
je 0x419b65
mov eax, str.Error_
jmp 0x419b6a
mov eax, str.Status_OK.
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x36d0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
leave
ret