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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x7c]
mov eax, dword [esi]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
test byte [eax], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edi, dword [esi + 4]
jne 0x4abb20
sub esp, 0xc
push 0x252
push str..crypto_bn_bn_exp.c
push 0x66
push 0x7c
push 3
call fcn.0045dc30
add esp, 0x20
add esp, 0x5c
pop ebx
pop esi
pop edi
xor eax, eax
pop ebp
ret
sub esp, 0xc
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.00477270
mov dword [esp + 0x50], eax
add esp, 0x10
test eax, eax
jne 0x4abb60
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], 1
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00477df0
sub esp, 0xc
mov ebx, dword [esp + 0x58]
push ebx
call fcn.00479880
pop ebp
mov edx, dword [esp + 0x58]
push edx
call fcn.00479aa0
add esp, 0x10
test eax, eax
mov ebp, eax
je 0x4ac0b0
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov dword [esp + 0x30], ecx
je 0x4ac15e
cmp dword [esp + 0x40], 0x3a9
mov dword [esp + 0xc], 6
jg 0x4abbc0
cmp dword [esp + 0x40], 0x132
mov dword [esp + 0xc], 5
jle 0x4ac130
lea esi, [esi]
mov dword [esp + 0x2c], 1
mov cl, byte [esp + 0xc]
shl dword [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
imul edx, edi
shl edx, 2
mov dword [esp + 0x24], edx
push ebx
push 0x274
push str..crypto_bn_bn_exp.c
mov ecx, dword [esp + 0x30]
add ecx, 0x40
push ecx
call fcn.00458b20
mov dword [esp + 0x38], eax
add esp, 0x10
test eax, eax
je 0x4ac0b0
mov eax, dword [esp + 0x28]
and eax, 0xffffffc0
add eax, 0x40
mov dword [esp + 0x20], eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push 0
push eax
call sub.msvcrt.dll_memset
pop eax
mov edx, dword [esp + 0x58]
push edx
mov ebx, dword [esp + 0x40]
push ebx
mov eax, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0x28], eax
push eax
sub esp, 8
call fcn.004771b0
pop edx
pop ecx
push eax
push ebp
call fcn.004aafe0
add esp, 0x20
test eax, eax
je 0x4ac0b0
cmp dword [ebp + 8], edi
jl 0x4ac1a8
test ebp, ebp
je 0x4ac0b0
mov eax, dword [ebp + 4]
cmp eax, edi
jge 0x4abc94
mov ecx, dword [ebp]
lea edx, [eax + 1]
lea esi, [esi]
lea edi, [edi]
mov eax, edx
cmp eax, edi
mov dword [ecx + edx*4 - 4], 0
lea edx, [edx + 1]
jl 0x4abc80
mov dword [ebp + 4], eax
lea ebx, [edi*4]
xor edx, edx
xor ecx, ecx
cmp ebx, 0
mov dword [esp + 8], ebx
jbe 0x4abccb
nop
lea esi, [esi]
mov ebx, dword [ebp]
mov al, byte [edx + ebx]
mov ebx, dword [esp + 0x20]
mov byte [ecx + ebx], al
inc edx
add ecx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
ja 0x4abcb0
mov eax, dword [ebp + 4]
test eax, eax
mov ecx, eax
jle 0x4abcf5
mov eax, dword [ebp]
lea edx, [eax + ecx*4 - 4]
nop
lea esi, [esi]
mov ebx, dword [edx]
sub edx, 4
test ebx, ebx
jne 0x4abcf5
lea eax, [ecx - 1]
test eax, eax
mov dword [ebp + 4], eax
mov ecx, eax
jg 0x4abce0
sub esp, 0xc
mov ebx, dword [esp + 0x58]
push ebx
call fcn.00479aa0
mov dword [esp + 0x2c], eax
pop eax
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00479aa0
mov dword [esp + 0x28], eax
add esp, 0x10
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4ac0b0
test eax, eax
je 0x4ac0b0
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x4abd4c
sub esp, 8
push esi
push eax
call fcn.00478140
add esp, 0x10
test eax, eax
js 0x4ac1f0
sub esp, 0xc
mov ecx, dword [esp + 0x58]
push ecx
push esi
mov eax, dword [esp + 0x68]
push eax
mov esi, dword [esp + 0x30]
push esi
push 0
call fcn.004d5180
add esp, 0x20
test eax, eax
mov edx, dword [esp + 0x18]
je 0x4ac0b0
sub esp, 0xc
mov ecx, dword [esp + 0x58]
push ecx
mov eax, dword [esp + 0x40]
push eax
mov esi, dword [esp + 0x28]
push esi
push edx
mov ebx, dword [esp + 0x34]
push ebx
call fcn.004aafe0
add esp, 0x20
test eax, eax
je 0x4ac0b0
sub esp, 8
mov ebx, dword [esp + 0x20]
push ebx
mov edx, dword [esp + 0x28]
push edx
call fcn.00477600
add esp, 0x10
test eax, eax
je 0x4ac0b0
mov edx, dword [esp + 0x18]
cmp dword [edx + 8], edi
jl 0x4ac1f9
cmp dword [esp + 0x18], 0
je 0x4ac0b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
cmp eax, edi
jge 0x4abdfa
mov ecx, dword [ecx]
lea edx, [eax + 1]
mov eax, edx
cmp eax, edi
mov dword [ecx + edx*4 - 4], 0
lea edx, [edx + 1]
jl 0x4abde2
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
lea ebx, [edi*4]
xor edx, edx
cmp ebx, 0
mov ecx, 1
jbe 0x4abe2d
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov al, byte [edx + eax]
mov esi, dword [esp + 0x20]
mov byte [ecx + esi], al
inc edx
add ecx, dword [esp + 0x2c]
cmp ebx, edx
ja 0x4abe0d
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
test eax, eax
mov ecx, eax
jle 0x4abe56
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
lea edx, [eax + ecx*4 - 4]
mov esi, dword [edx]
sub edx, 4
test esi, esi
jne 0x4abe56
lea eax, [ecx - 1]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov ecx, eax
jg 0x4abe3d
cmp dword [esp + 0xc], 1
jle 0x4abf4d
mov dword [esp + 0x44], 2
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x44], edx
jge 0x4abf4d
lea esi, [edi*4]
sub esp, 0xc
mov ebx, dword [esp + 0x58]
push ebx
mov edx, dword [esp + 0x40]
push edx
mov ecx, dword [esp + 0x30]
push ecx
mov eax, dword [esp + 0x30]
push eax
mov ebx, dword [esp + 0x38]
push ebx
call fcn.004aafe0
add esp, 0x20
test eax, eax
je 0x4ac0b0
mov edx, dword [esp + 0x1c]
cmp dword [edx + 8], edi
jl 0x4ac1d0
cmp dword [esp + 0x1c], 0
je 0x4ac0b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
cmp edx, edi
jge 0x4abeea
mov ecx, dword [ecx]
lea eax, [edx + 1]
mov edx, eax
cmp edx, edi
mov dword [ecx + eax*4 - 4], 0
lea eax, [eax + 1]
jl 0x4abed2
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
xor ebx, ebx
cmp esi, 0
mov ecx, dword [esp + 0x44]
jbe 0x4abf15
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov al, byte [ebx + eax]
mov edx, dword [esp + 0x20]
mov byte [ecx + edx], al
inc ebx
add ecx, dword [esp + 0x2c]
cmp esi, ebx
ja 0x4abef5
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
test edx, edx
jle 0x4abf3b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea ecx, [eax + edx*4 - 4]
dec edx
mov ebx, dword [ecx]
sub ecx, 4
test ebx, ebx
jne 0x4abf3b
mov eax, edx
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 4], edx
dec edx
test eax, eax
jg 0x4abf24
inc dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x44], edx
jl 0x4abe7e
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + esi - 1]
cdq
idiv esi
imul eax, esi
dec eax
mov dword [esp + 0x38], eax
js 0x4ac085
lea ebx, [edi*4]
mov dword [esp + 0x10], ebx
xor esi, esi
mov eax, dword [esp + 0xc]
cmp esi, eax
mov dword [esp + 0x34], 0
jge 0x4abfd3
sub esp, 0xc
mov ecx, dword [esp + 0x58]
push ecx
mov edx, dword [esp + 0x40]
push edx
push ebp
push ebp
push ebp
call fcn.004aafe0
add esp, 0x20
test eax, eax
je 0x4ac0b0
mov ebx, dword [esp + 0x34]
sub esp, 8
mov edx, dword [esp + 0x40]
push edx
mov eax, dword [esp + 0x5c]
push eax
call fcn.00478340
add ebx, ebx
add ebx, eax
mov dword [esp + 0x44], ebx
inc esi
add esp, 0x10
dec dword [esp + 0x38]
cmp esi, dword [esp + 0xc]
jl 0x4abf87
mov edx, dword [esp + 0x1c]
cmp dword [edx + 8], edi
jl 0x4ac1bc
cmp dword [esp + 0x1c], 0
je 0x4ac0b0
xor ebx, ebx
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x10], 0
jmp 0x4ac019
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
mov al, byte [ecx + esi]
mov byte [ebx + edx], al
inc ebx
add ecx, dword [esp + 0x2c]
cmp dword [esp + 0x10], ebx
ja 0x4ac000
test edi, edi
mov ebx, edi
mov ecx, edi
jle 0x4ac1e4
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
lea edx, [esi + edi*4 - 4]
jmp 0x4ac040
mov eax, dword [edx]
sub edx, 4
test eax, eax
jne 0x4ac052
lea ebx, [ecx - 1]
test ebx, ebx
mov ecx, ebx
jg 0x4ac040
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
sub esp, 0xc
mov ebx, dword [esp + 0x58]
push ebx
mov eax, dword [esp + 0x40]
push eax
mov edx, dword [esp + 0x30]
push edx
push ebp
push ebp
call fcn.004aafe0
add esp, 0x20
test eax, eax
je 0x4ac0b0
mov ecx, dword [esp + 0x38]
test ecx, ecx
jns 0x4abf75
mov edx, dword [esp + 0x4c]
push edx
mov esi, dword [esp + 0x34]
push esi
push ebp
mov edi, dword [esp + 0x64]
push edi
call fcn.004aace0
add esp, 0x10
test eax, eax
je 0x4ac0b0
mov dword [esp + 0x3c], 1
lea esi, [esi]
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x4ac187
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4ac0e4
sub esp, 8
mov edx, dword [esp + 0x2c]
push edx
mov esi, dword [esp + 0x2c]
push esi
call fcn.004704d0
pop eax
mov edi, dword [esp + 0x34]
push edi
call fcn.00458e30
add esp, 0x10
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4ac0fc
sub esp, 0xc
mov eax, dword [esp + 0x24]
push eax
call fcn.00477d60
add esp, 0x10
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4ac114
sub esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00477d60
add esp, 0x10
sub esp, 0xc
mov edi, dword [esp + 0x58]
push edi
call fcn.004797f0
mov eax, dword [esp + 0x4c]
add esp, 0x10
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x40], 0x59
mov dword [esp + 0xc], 4
jg 0x4abbc0
cmp dword [esp + 0x40], 0x17
setge bl
and ebx, 0xff
lea eax, [ebx + ebx + 1]
mov dword [esp + 0xc], eax
jmp 0x4abbc0
call fcn.004ab0b0
test eax, eax
mov dword [esp + 0x30], eax
je 0x4ac0bc
push ecx
mov edx, dword [esp + 0x50]
push edx
push esi
push eax
call fcn.004ab160
add esp, 0x10
test eax, eax
jne 0x4abb95
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ac0bc
sub esp, 0xc
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.004ab110
add esp, 0x10
jmp 0x4ac0bc
sub esp, 8
push edi
push ebp
call fcn.00477470
add esp, 0x10
test eax, eax
jmp 0x4abc5f
sub esp, 8
push edi
push edx
call fcn.00477470
add esp, 0x10
test eax, eax
jmp 0x4abfe5
sub esp, 8
push edi
push edx
call fcn.00477470
add esp, 0x10
test eax, eax
jmp 0x4abebc
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], edi
jmp 0x4ac059
mov edx, dword [esp + 0x54]
jmp 0x4abd75
sub esp, 8
push edi
push edx
call fcn.00477470
add esp, 0x10
test eax, eax
jmp 0x4abdcc