Function at 0x4128f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x234
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x964], ebx
jne 0x412920
push str.ERROR::_UsbkeyCheck_Load_Library_Error_
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x144]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
stosb byte es:[edi], al
mov eax, dword [esi + 0x968]
push ecx
push ebx
push 1
call dword [eax + 0x12]
add esp, 0xc
test eax, eax
je 0x41296d
push str.ERROR::_Cant_acquire_the_information_of_token
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov eax, dword [esp + 0x14]
cmp eax, ebx
ja 0x41298f
push str.ERROR::_Cant_connect_to_token__make_sure_one_USB_Token_has_been_inserted.
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x84], ebp
jne 0x4129c6
push str.ERROR::_Cant_allocate_enough_memory_
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov eax, dword [esi + 0x968]
lea ecx, [esp + 0x14]
push ecx
push ebp
push 1
call dword [eax + 0x12]
add esp, 0xc
test eax, eax
je 0x4129f8
push str.ERROR::_Cant_acquire_the_information_of_token
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov eax, dword [esp + 0x14]
cmp eax, ebx
ja 0x412a1a
push str.ERROR::_Cant_connect_to_token__make_sure_one_USB_Token_has_been_inserted.
call fcn.0040b9a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
mov dword [esi + 0x348cc], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x1c], ebp
jmp 0x412a2e
mov ebp, dword [esp + 0x1c]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x144]
mov edx, dword [esi + 0x968]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x144]
push eax
mov dword [esp + 0x14], ebx
mov eax, dword [ebp]
push ebx
push ecx
push 6
push eax
call dword [edx + 0x32]
add esp, 0x14
test eax, eax
jne 0x412f01
push str.DEBUG::_Connect_to_token_Successfully_
call fcn.0040b9a0
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xa9]
mov byte [esp + 0xa8], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x968]
lea edx, [esp + 0xa8]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp]
push edx
push eax
call dword [ecx + 0x1a]
add esp, 0xc
test eax, eax
jne 0x412f28
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x968]
push 0xc
push str.Netentsec12
push 1
push edx
call dword [ecx + 0x4a]
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x412af1
push str.ERROR::_Cant_login_to_token
call fcn.0040b9a0
add esp, 4
cmp edi, 0x100
jne 0x412f35
push str.ERROR::_You_have_already_logged_in_
jmp 0x412af6
push str.DEBUG::_Login_to_Token_Successfully_
call fcn.0040b9a0
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x29], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 0x2d], eax
add esp, 4
mov dword [esp + 0x2d], eax
mov dword [esp + 0x24], ecx
mov cx, word [esp + 0xb0]
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0xb2]
lea eax, [esp + 0x24]
push 0x2e
push eax
mov word [esp + 0x38], cx
mov byte [esp + 0x3a], dl
call dword [sym.imp.MSVCRT.dll_strchr]
lea ecx, [esp + 0x2c]
push 0x2e
push ecx
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
cmp ebp, ebx
je 0x412bd8
cmp eax, ebx
je 0x412bd8
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, 1
sub ecx, edx
cmp ecx, ebp
jbe 0x412bdd
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x10c]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x11c]
mov dword [esi + 0x11c], eax
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00412090
mov ebp, 1
mov eax, dword [esi + 0x968]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x88]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x8c]
push 2
push ecx
push edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xac], ebp
call dword [eax + 0x6a]
mov eax, dword [esi + 0x968]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push ebp
push edx
push ecx
mov dword [esp + 0x3c], ebx
call dword [eax + 0x6e]
add esp, 0x1c
test eax, eax
jne 0x412ed1
cmp dword [esp + 0x20], ebp
jne 0x412ed1
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x968]
lea eax, [esp + 0x34]
push 6
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x80
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x101
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0x102
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0x11
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call dword [edx + 0x62]
add esp, 0x10
test eax, eax
jne 0x412ed1
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
push edx
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
inc ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
inc edx
push edx
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov edx, ecx
mov dword [esp + 0x8c], eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 6
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x968]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
call dword [eax + 0x62]
add esp, 0x28
test eax, eax
jne 0x412e8f
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
call fcn.00412f50
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x48]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x58]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x68]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x78]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x88]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x968]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push ebp
push edx
push ecx
call dword [eax + 0x6e]
add esp, 0x28
test eax, eax
je 0x412c67
jmp 0x412ed1
mov edx, dword [esp + 0x38]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x58]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x68]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x78]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x88]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 0x18
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x1c], edx
jb 0x412a2a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x234
ret
push str.ERROR::_Cant_connect_to_token
call fcn.0040b9a0
mov edx, dword [esp + 0x88]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret
push str.ERROR::_Can_not_get_token_info_
call fcn.0040b9a0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x234
ret