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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
cld
mov esi, str.sureware_load_public
mov ecx, 5
lea edi, [esp + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
mov al, byte [0x53e700]
mov byte [edi], al
mov cl, 0xa
lea edi, [esp + 0x25]
mov eax, ebp
rep stosd dword es:[edi], eax
mov word [edi], 0
mov byte [edi + 2], 0
mov edi, dword [0x5655a0]
test edi, edi
mov dl, byte [esp + 0x78]
je 0x494afa
mov ecx, dword [0x565590]
test ecx, ecx
jne 0x494b60
mov ebx, dword [0x565510]
test ebx, ebx
je 0x494ba0
sub esp, 0xc
push 0x299
push str..enginese_sureware.c
push 0x75
push 0x6a
mov ecx, dword [0x565510]
push ecx
call sym._ERR_put_error
add esp, 0x20
mov edi, dword [esp + 8]
test edi, edi
je 0x494b40
sub esp, 0xc
mov eax, dword [esp + 0x14]
push eax
call sym._RSA_free
add esp, 0x10
test ebp, ebp
je 0x494b50
sub esp, 0xc
push ebp
call sym._DSA_free
add esp, 0x10
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx eax, dl
cmp eax, 1
je 0x494cff
cmp eax, 2
je 0x494bb0
mov edx, dword [0x565510]
test edx, edx
je 0x494cf0
sub esp, 0xc
push 0x2f4
push str..enginese_sureware.c
push pe_nt_image_headers32
jmp 0x494b17
call sym._ERR_get_next_error_library
mov dword [0x565510], eax
jmp 0x494b08
sub esp, 0xc
push ebx
call sym._DSA_new_method
add esp, 0xc
mov ecx, dword [esp + 0x74]
push ecx
mov ebx, dword [0x52c754]
push ebx
push eax
mov ebp, eax
call sym._DSA_set_ex_data
call sym._BN_new
mov dword [ebp + 0x18], eax
call sym._BN_new
mov dword [ebp + 0xc], eax
call sym._BN_new
mov dword [ebp + 0x10], eax
call sym._BN_new
mov dword [ebp + 0x14], eax
pop eax
pop edx
mov ebx, dword [esp + 0x7c]
shr ebx, 2
push ebx
mov eax, dword [ebp + 0x18]
push eax
call sym._bn_expand2
pop esi
pop edi
push ebx
mov esi, dword [ebp + 0xc]
push esi
call sym._bn_expand2
pop eax
pop edx
push 5
mov edx, dword [ebp + 0x10]
push edx
call sym._bn_expand2
pop edi
pop eax
push ebx
mov edi, dword [ebp + 0x14]
push edi
call sym._bn_expand2
mov eax, dword [ebp + 0x18]
add esp, 0x10
test eax, eax
je 0x494b28
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x494b28
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x494b28
mov ebx, dword [ecx + 8]
cmp ebx, edx
jne 0x494b28
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x494b28
cmp dword [edx + 8], 5
jne 0x494b28
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x494b28
mov edi, dword [esi + 8]
cmp edi, ebx
jne 0x494b28
push ebx
mov esi, dword [esi]
push esi
mov ebx, dword [edx]
push ebx
mov esi, dword [ecx]
push esi
mov ecx, dword [eax]
push ecx
mov ebx, dword [esp + 0x88]
push ebx
mov eax, dword [esp + 0x24]
push eax
lea edx, [esp + 0x2c]
push edx
call dword [0x565590]
add esp, 0x14
push eax
mov esi, eax
mov edx, 0x6a
lea eax, [esp + 0x20]
call sym._surewarehk_error_handling
add esp, 0x10
dec esi
je 0x494e6d
mov edi, dword [0x565510]
test edi, edi
jne 0x494cd9
call sym._ERR_get_next_error_library
mov dword [0x565510], eax
sub esp, 0xc
push 0x2df
push str..enginese_sureware.c
push 0x81
jmp 0x494b17
call sym._ERR_get_next_error_library
mov dword [0x565510], eax
jmp 0x494b7f
sub esp, 0xc
push ebx
call sym._RSA_new_method
mov dword [esp + 0x18], eax
add esp, 0xc
mov esi, dword [esp + 0x74]
push esi
mov edi, dword [0x52c750]
push edi
push eax
call sym._RSA_set_ex_data
mov edx, dword [esp + 0x18]
or dword [edx + 0x3c], 0x20
call sym._BN_new
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x14], eax
call sym._BN_new
mov dword [ebx + 0x10], eax
pop edi
pop eax
mov ebx, dword [esp + 0x7c]
shr ebx, 2
push ebx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x14]
push esi
call sym._bn_expand2
pop edx
pop ecx
push ebx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
push edi
call sym._bn_expand2
add esp, 0x10
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x494b28
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x494b28
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x494b28
mov esi, dword [ecx + 8]
cmp esi, edx
jne 0x494b28
sub esp, 0xc
mov edi, dword [eax]
push edi
mov ebx, dword [ecx]
push ebx
mov edx, dword [esp + 0x88]
push edx
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push eax
call dword [0x5655a0]
add esp, 0x14
push eax
mov edi, eax
mov edx, 0x6a
lea eax, [esp + 0x20]
call sym._surewarehk_error_handling
add esp, 0x10
dec edi
jne 0x494e4c
mov ebp, dword [esp + 8]
mov ecx, dword [ebp + 0x14]
test esi, esi
mov dword [ecx + 4], esi
jle 0x494dfe
mov eax, dword [ecx]
lea edx, [eax + esi*4 - 4]
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
jne 0x494dfe
mov edi, dword [ecx + 4]
dec edi
test edi, edi
mov dword [ecx + 4], edi
jg 0x494dea
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x74]
shr edx, 2
test edx, edx
mov dword [ecx + 4], edx
jle 0x494e2d
mov esi, dword [ecx]
lea edx, [esi + edx*4 - 4]
mov ebp, dword [edx]
sub edx, 4
test ebp, ebp
jne 0x494e2d
mov eax, dword [ecx + 4]
dec eax
test eax, eax
mov dword [ecx + 4], eax
jg 0x494e19
call sym._EVP_PKEY_new
push edi
mov ecx, dword [esp + 0xc]
push ecx
mov ebx, eax
push 6
push ebx
call sym._EVP_PKEY_assign
add esp, 0x10
mov eax, ebx
jmp 0x494b52
mov esi, dword [0x565510]
test esi, esi
jne 0x494e60
call sym._ERR_get_next_error_library
mov dword [0x565510], eax
sub esp, 0xc
push 0x2b3
jmp 0x494ce1
mov ecx, dword [ebp + 0x18]
test edi, edi
mov dword [ecx + 4], edi
jle 0x494e94
mov eax, dword [ecx]
lea edx, [eax + edi*4 - 4]
jmp 0x494e8b
mov esi, dword [ecx + 4]
dec esi
test esi, esi
mov dword [ecx + 4], esi
jle 0x494e94
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
je 0x494e80
mov edx, dword [esp + 0x74]
shr edx, 2
mov ecx, dword [ebp + 0xc]
test edx, edx
mov dword [ecx + 4], edx
jle 0x494ec4
mov edi, dword [ecx]
lea edx, [edi + edx*4 - 4]
jmp 0x494ebb
mov ebx, dword [ecx + 4]
dec ebx
test ebx, ebx
mov dword [ecx + 4], ebx
jle 0x494ec4
mov eax, dword [edx]
sub edx, 4
test eax, eax
je 0x494eb0
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
add ecx, 0x10
mov dword [edx + 4], 5
jmp 0x494eeb
mov edi, dword [edx + 4]
dec edi
test edi, edi
mov dword [edx + 4], edi
jle 0x494ef4
mov esi, dword [ecx]
sub ecx, 4
test esi, esi
je 0x494ee0
mov edx, dword [esp + 0x74]
shr edx, 2
mov ecx, dword [ebp + 0x14]
test edx, edx
mov dword [ecx + 4], edx
jle 0x494f24
mov eax, dword [ecx]
lea edx, [eax + edx*4 - 4]
jmp 0x494f1b
mov esi, dword [ecx + 4]
dec esi
test esi, esi
mov dword [ecx + 4], esi
jle 0x494f24
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
je 0x494f10
call sym._EVP_PKEY_new
mov ebx, eax
push eax
push ebp
push 0x74
jmp 0x494e3c