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

Disassembly:
mov eax, 0x4c
call fcn.100bab40
push ebx
mov ebx, dword [esp + 0x54]
xor eax, eax
push ebp
push esi
push edi
push dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x58], 0
xor esi, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
call fcn.10115940
mov ebp, dword [esp + 0x7c]
add esp, 4
mov edi, dword [esp + 0x68]
test eax, eax
jne 0x1018e939
push dword [ebx + 0xc]
call fcn.10115940
add esp, 4
test eax, eax
jne 0x1018e939
mov eax, dword [ebx + 8]
cmp edi, eax
je 0x1018e907
test edi, edi
je 0x1018e90b
cmp dword [esp + 0x6c], esi
jne 0x1018e941
push ebp
push esi
push edi
push dword [esp + 0x70]
push ebx
call fcn.1018e150
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
jne 0x1018e941
cmp dword [esp + 0x6c], 1
jne 0x1018e939
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x1018e939
mov eax, dword [esp + 0x70]
push ebp
push dword [eax]
push ecx
push dword [esp + 0x70]
push ebx
call fcn.1018e150
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
je 0x1018ea3b
push ebx
call fcn.10115170
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x1018e980
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x1d7
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0x71
push 0x10
call fcn.1010b760
add esp, 0x18
jmp 0x1018ed16
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1018ea26
cmp dword [esi + 8], 0
je 0x1018ea26
mov eax, dword [esi + 0x10]
push ebp
push dword [eax]
push ecx
push ebx
call fcn.10146a10
add esp, 0x10
test eax, eax
jne 0x1018ea26
mov eax, dword [esi + 4]
push edi
mov dword [esp + 0x34], eax
call fcn.10115b80
xor edx, edx
mov ecx, dword [esi + 0xc]
div dword [esp + 0x34]
dec ecx
add esp, 4
lea edx, [eax + 1]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, ecx
imul eax, dword [esp + 0x4c]
cmp dword [esi + 0x14], eax
je 0x1018ea1b
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x1f3
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0103
push 0x10
call fcn.1010b760
add esp, 0x18
jmp 0x1018ed16
cmp edx, ecx
cmovbe ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x1018ea3d
mov ecx, 1
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], ecx
jmp 0x1018ea3d
xor ecx, ecx
mov eax, dword [esp + 0x6c]
add eax, ecx
push 0x201
push str.cryptoecec_mult.c
mov dword [esp + 0x28], eax
lea esi, [eax*4]
push esi
call fcn.101034e0
push 0x202
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x2c], eax
call fcn.101034e0
push 0x204
lea ecx, [esi + 4]
mov dword [esp + 0x40], eax
push str.cryptoecec_mult.c
push ecx
call fcn.101034e0
push 0x205
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x58], eax
call fcn.101034e0
mov esi, eax
add esp, 0x30
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1018eab4
mov dword [eax], 0
cmp dword [esp + 0x14], 0
je 0x1018f370
cmp dword [esp + 0x24], 0
je 0x1018f370
test eax, eax
je 0x1018f370
test esi, esi
je 0x1018f370
mov ecx, dword [esp + 0x38]
xor esi, esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], esi
lea eax, [ecx + edx]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1018ebfe
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x34], ecx
sub eax, edi
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x58], ecx
cmp esi, edx
jae 0x1018eb2a
mov eax, dword [eax + edi]
jmp 0x1018eb2e
mov eax, dword [esp + 0x68]
push eax
call fcn.10115b80
add esp, 4
cmp eax, 0x7d0
jb 0x1018eb45
mov ecx, 6
jmp 0x1018eb75
cmp eax, 0x320
jb 0x1018eb53
mov ecx, 5
jmp 0x1018eb75
cmp eax, 0x12c
jb 0x1018eb61
mov ecx, 4
jmp 0x1018eb75
cmp eax, 0x46
jb 0x1018eb6d
mov ecx, 3
jmp 0x1018eb75
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [eax + edi + 4], 0
cmp esi, dword [esp + 0x6c]
jae 0x1018eb9e
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + edi]
jmp 0x1018eba2
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.101928b0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x1018ed16
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
cmovbe eax, dword [esp + 0x18]
inc esi
mov edx, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x74]
add edi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], esi
cmp esi, dword [esp + 0x3c]
jb 0x1018eb21
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x10], 0
je 0x1018ef33
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1018ec2e
cmp ecx, 1
je 0x1018ef33
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x22a
jmp 0x1018e9fb
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x1018ec4e
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x233
jmp 0x1018e9fb
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call fcn.101928b0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x38], esi
test esi, esi
je 0x1018ed16
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x18]
ja 0x1018ecb3
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov dword [eax + edi*4 + 4], 0
mov eax, dword [esp + 0x24]
mov dword [eax + edi*4], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
mov dword [ecx + edi*4], eax
jmp 0x1018ef33
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
imul eax, edi
cmp ecx, eax
jae 0x1018edf0
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx + 8]
jbe 0x1018ede6
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x25e
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0103
push 0x10
call fcn.1010b760
push 0x25f
push str.cryptoecec_mult.c
push esi
call fcn.10103510
add esp, 0x24
xor edi, edi
xor ebp, ebp
push dword [esp + 0x48]
call fcn.10146c70
push 0x316
push str.cryptoecec_mult.c
push dword [esp + 0x20]
call fcn.10103510
push 0x317
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.10103510
mov ebx, dword [esp + 0x44]
add esp, 0x1c
test ebx, ebx
je 0x1018ed90
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x1018ed7d
nop dword [eax]
push 0x31c
push str.cryptoecec_mult.c
push eax
call fcn.10103510
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x1018ed60
push 0x31e
push str.cryptoecec_mult.c
push ebx
call fcn.10103510
add esp, 0xc
test edi, edi
je 0x1018edc6
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x1018edb3
nop dword [eax]
push eax
call fcn.101469d0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x1018eda0
push 0x324
push str.cryptoecec_mult.c
push edi
call fcn.10103510
add esp, 0xc
push 0x326
push str.cryptoecec_mult.c
push dword [esp + 0x24]
call fcn.10103510
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
add eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
jmp 0x1018edf4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x6c]
mov edi, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], eax
cmp edx, dword [esp + 0x20]
jae 0x1018ef20
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
lea esi, [ebx + edx*4]
mov edx, dword [esp + 0x28]
sub edx, ebx
sub eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], eax
nop word [eax + eax]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x1018ee53
mov eax, dword [esp + 0x30]
mov dword [esi], eax
cmp ecx, eax
jb 0x1018eede
sub ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x1018ee55
mov dword [esi], ecx
push 0x27a
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.101034e0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x1018efc7
push dword [esi]
push dword [esp + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x18]
cmovbe eax, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], edx
cmp dword [eax], 0
je 0x1018ef8d
mov ecx, dword [esp + 0x58]
inc edi
mov dword [ecx + esi], eax
add esi, 4
mov ecx, dword [esp + 0x4c]
lea eax, [eax + ecx*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x20]
jae 0x1018ef18
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
jmp 0x1018ee30
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x26d
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0103
push 0x10
call fcn.1010b760
push 0x26e
push str.cryptoecec_mult.c
push dword [esp + 0x58]
jmp 0x1018ed0e
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], edx
push 0x28d
push str.cryptoecec_mult.c
push esi
call fcn.10103510
add esp, 0xc
mov esi, dword [esp + 0x40]
push 0x297
push str.cryptoecec_mult.c
lea eax, [esi*4 + 4]
push eax
call fcn.101034e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1018f001
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x299
push str.cryptoecec_mult.c
call fcn.1010b6b0
push edi
push 0xc0100
push 0x10
call fcn.1010b760
add esp, 0x18
jmp 0x1018ed18
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x285
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0103
push 0x10
call fcn.1010b760
push 0x286
push str.cryptoecec_mult.c
push dword [esp + 0x58]
jmp 0x1018ed0e
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x27c
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0100
push 0x10
call fcn.1010b760
push 0x27d
push str.cryptoecec_mult.c
push dword [esp + 0x58]
jmp 0x1018ed0e
lea eax, [edi + esi*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
test edi, edi
je 0x1018f086
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
sub eax, ebp
mov dword [esp + 0x58], eax
nop dword [eax]
mov dword [eax + ebp], esi
xor edi, edi
mov ecx, dword [ebp]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x1018f06a
push ebx
call fcn.101470d0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1018f0b4
mov ecx, dword [ebp]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x1018f044
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
inc edx
mov eax, dword [esp + 0x58]
add ebp, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x1018f030
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x1018f0bd
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x2aa
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0103
push 0x10
call fcn.1010b760
add esp, 0x18
mov edi, dword [esp + 0x10]
jmp 0x1018ed18
push ebx
call fcn.101470d0
mov ecx, eax
add esp, 4
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1018f0b4
xor eax, eax
mov dword [esp + 0x50], eax
test edi, edi
je 0x1018f199
mov edx, dword [esp + 0x1c]
mov edi, edx
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
sub ecx, edx
sub esi, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], esi
cmp eax, dword [esp + 0x6c]
mov eax, dword [edi]
jae 0x1018f105
push dword [ecx + edi]
jmp 0x1018f109
push dword [esp + 0x54]
push dword [eax]
call fcn.10146ac0
add esp, 8
test eax, eax
je 0x1018f0b4
cmp dword [esi + edi], 1
jbe 0x1018f17f
mov eax, dword [edi]
push ebp
push dword [eax]
push dword [esp + 0x50]
push ebx
call fcn.10146b60
add esp, 0x10
test eax, eax
je 0x1018f0b4
mov ecx, dword [esp + 0x38]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x1018f17b
mov eax, dword [edi]
push ebp
push dword [esp + 0x4c]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebx
call fcn.10146900
add esp, 0x14
test eax, eax
je 0x1018f0b4
mov eax, dword [esp + 0x38]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x1018f148
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
add edi, 4
mov ecx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x3c]
jb 0x1018f0f8
mov eax, dword [ebx]
mov edi, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x1018ed18
push ebp
push edi
push dword [esp + 0x48]
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x1018ed18
mov ecx, dword [esp + 0x18]
mov ebp, 1
mov edi, dword [esp + 0x64]
sub ecx, ebp
mov dword [esp + 0x30], ecx
js 0x1018f350
mov esi, dword [esp + 0x78]
test ebp, ebp
jne 0x1018f1f7
push esi
push edi
push edi
push ebx
call fcn.10146b60
add esp, 0x10
test eax, eax
je 0x1018f0b4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x50], 0
jbe 0x1018f2f9
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub edx, eax
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
add eax, ebx
cmp dword [eax + edx], ecx
jbe 0x1018f2db
mov eax, dword [eax]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x1018f2d7
movzx eax, al
mov esi, ecx
shr eax, 7
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x1018f280
test ebp, ebp
jne 0x1018f275
push dword [esp + 0x78]
push edi
push dword [esp + 0x68]
call fcn.10146de0
add esp, 0xc
test eax, eax
je 0x1018f0b4
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
sar esi, 1
mov eax, dword [eax + esi*4]
test ebp, ebp
je 0x1018f2b7
push eax
push edi
call fcn.10146ac0
add esp, 8
test eax, eax
je 0x1018f0b4
mov esi, dword [esp + 0x78]
push esi
push edi
push dword [esp + 0x68]
call fcn.10147a90
add esp, 0xc
test eax, eax
je 0x1018f31d
xor ebp, ebp
jmp 0x1018f2d3
mov esi, dword [esp + 0x78]
push esi
push eax
push edi
push edi
push dword [esp + 0x70]
call fcn.10146900
add esp, 0x14
test eax, eax
je 0x1018f0b4
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
add ebx, 4
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
jb 0x1018f222
mov ebx, dword [esp + 0x60]
sub ecx, 1
mov dword [esp + 0x30], ecx
jns 0x1018f1d7
test ebp, ebp
jne 0x1018f350
cmp dword [esp + 0x44], ebp
je 0x1018f362
push esi
push edi
push ebx
call fcn.10146de0
add esp, 0xc
jmp 0x1018f35a
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x2fa
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xa3
push 0x10
call fcn.1010b760
mov edi, dword [esp + 0x28]
add esp, 0x18
jmp 0x1018ed18
push edi
push ebx
call fcn.101473b0
add esp, 8
test eax, eax
je 0x1018f0b4
mov edi, dword [esp + 0x10]
mov ebp, 1
jmp 0x1018ed1a
call fcn.1010b5b0
push str.ossl_ec_wNAF_mul
push 0x20c
push str.cryptoecec_mult.c
call fcn.1010b6b0
push 0
push 0xc0100
push 0x10
call fcn.1010b760
add esp, 0x18
jmp 0x1018ed16